File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes http://localhost:8081/ not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "http://localhost:8081/ not working" Watch "http://localhost:8081/ not working" New topic
Author

http://localhost:8081/ not working

shikhaj jainy
Greenhorn

Joined: Oct 21, 2010
Posts: 10
Hello Ranchers

Hope you all are doing well.
I have two tomcat instances on my machine(apache-tomcat-7.0.5 and apache-tomcat-6.0.24).To run tomcat 7 I have made below changes in server.xml:-

shutdown port is changed from 8005 to 8006
connector port changed from 8080 to 8081
redirect port changed from 8443 to 8445
For AJP port changed from 8009 to 8010

and when i tried to connect using
http://localhost:8081/ ; it is not connecting , one message "Unable to connect " is coming.

There were no updated logs in \Tomcat 7 (logs should be there) and when i checked tomcat 6' s logs folder; 'Invalid Server SSL Protocol' exception is coming.

When i started Tomcat 7 why it is taking tomcat 6 and why http://localhost:8081/ is not working
I do not know where I am wrong Please suggest me.


Thank You.
Shikha
Tom Reilly
Rancher

Joined: Jun 01, 2010
Posts: 618
Are both instances running at the same time? How about trying to get both instances running individually and then see if they will run simultaneously?
Sunny Bhandari
Ranch Hand

Joined: Dec 06, 2010
Posts: 448

Its always painful to find which port which is cauing the issue.

Better try use the installer and specify different ports in the installation steps.


Java Experience
shikhaj jainy
Greenhorn

Joined: Oct 21, 2010
Posts: 10
Hello Tom & Sunny,

I am running only tomcat 7 (one instance);have done changes in Tomcat 7's server.xml and getting above result.


Please suggest me why this behavior is coming.



Thank You,
Shikha



 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: http://localhost:8081/ not working