Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache Tomcat 5 question

Status
Not open for further replies.

MavrickStl

Programmer
Feb 20, 2001
71
US
I have two instances of tomcat 5.0.19 under:

/usr/local/opt/jakarta-tomcat-5.0.19/tomcat5a

and

usr/local/opt/jakarta-tomcat-5.0.19/tomcat5b


I went in server.xml of tomcat 5a (/usr/local/opt/jakarta-tomcat-5.0.19/tomcat5a/conf/server.xml)

And changed default port 8080 to 15643 in the following line:

<Connector port = “15643”

before this doing this I stopped at the tomcat5a. After saving changes to server.xml is restarted tomcat5a.

I was able to see Apache Tomcat/5.0.19 welcome page.


I tired to do the same for tomcat5b. Only difference it I changed 8080 port to 15635 in server.xml of tomcat5b.

This time I was able to see Apache Tomcat/5.0.19 welcome page.


But when I went back to see tomcat5a (http:// adc.fake.com:15643/) it was unavailable. I am only able to get to one tomcat instance either 5a or 5b. What I need to do to make sure that both containers are working fine. I am doing this on a Solaris machine.

My final goal is to intergrate these two tomcat containers to an apache2 http server for loadblancing and failover.

Thanks,

Mav
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top