Hi guyz 



I am running Linux Server,I have installed tomcat 5. 

I was following your Windows tomcat clustering and load balancing manual. 

I did follow the manual to run multiple tomcat instances. 

I placed the tomcat under this directory 

/opt/apache-tomcat-5.5.25 
/opt/apache-tomcat-5.5.25_instance 

I have exported the following tomcat environment variable 

export CATALINA_HOME=/opt/apache-tomcat-5.5.25 
export TOMCAT_HOME=/opt/apache-tomcat-5.5.25 
export CATALINA_BASE=/opt/apache-tomcat-5.5.25_instances 

I exported even the tomcat PATH. 

For tomcat 1 :/opt/apache-tomcat-5.5.25/conf/server.xml ,I left it as it is. 

For tomcat 2 :/opt/apache-tomcat-5.5.25_instances/conf/server.xml 

I changed the following 

<Server port="8005" shutdown="SHUTDOWN"> = <Server port="8025" 
shutdown="SHUTDOWN"> 

<Connector port="8080" maxHttpHeaderSize="8192" =<Connector port="8010" 
maxHttpHeaderSize="8192" 

<Connector port="8009" enableLookups="false" redirectPort="8443" 
protocol="AJP/1.3" /> =Connector port="8019" enableLookups="false" 
redirectPort="8443" protocol="AJP/1.3" /> 


I started all the tomcat 

I traced the catalina logs file 

r...@shirinda:/opt/apache-tomcat-5.5.25# tail -f logs/catalina.out 
2009/08/28 6:31:48 PM org.apache.catalina.startup.Catalina start 
INFO: Server startup in 9832 ms 
2009/08/28 6:32:17 PM org.apache.coyote.http11.Http11BaseProtocol pause 
INFO: Pausing Coyote HTTP/1.1 on http-8080 
2009/08/28 6:32:18 PM org.apache.catalina.core.StandardService stop 
INFO: Stopping service Catalina 
2009/08/28 6:32:18 PM org.apache.coyote.http11.Http11BaseProtocol destroy 
INFO: Stopping Coyote HTTP/1.1 on http-8080 
2009/08/28 6:32:18 PM org.apache.catalina.core.AprLifecycleListener 
lifecycleEvent 
INFO: Failed shutdown of Apache Portable Runtime 


for tomcat 2 catalina logs file 

r...@shirinda:/opt/tomcat2# tail -f logs/catalina.out 
2009/08/28 7:32:44 PM org.apache.coyote.http11.Http11BaseProtocol init 
INFO: Initializing Coyote HTTP/1.1 on http-8010 
2009/08/28 7:32:44 PM org.apache.catalina.startup.Catalina load 
INFO: Initialization processed in 3244 ms 
2009/08/28 7:32:44 PM org.apache.catalina.core.StandardService start 
INFO: Starting service Catalina 
2009/08/28 7:32:44 PM org.apache.catalina.core.StandardEngine start 
INFO: Starting Servlet Engine: Apache Tomcat/5.5.25 
2009/08/28 7:32:45 PM org.apache.catalina.core.StandardHost start 
INFO: XML validation disabled 
2009/08/28 7:32:52 PM org.apache.coyote.http11.Http11BaseProtocol start 
INFO: Starting Coyote HTTP/1.1 on http-8010 
2009/08/28 7:32:53 PM org.apache.jk.common.ChannelSocket init 
INFO: JK: ajp13 listening on /0.0.0.0:8019 
2009/08/28 7:32:53 PM org.apache.jk.server.JkMain start 
INFO: Jk running ID=0 time=1/194 config=null 
2009/08/28 7:32:53 PM org.apache.catalina.storeconfig.StoreLoader load 
INFO: Find registry server-registry.xml at classpath resource 
2009/08/28 7:32:54 PM org.apache.catalina.startup.Catalina start 
INFO: Server startup in 10101 ms 


When I browse this 

http://localhost:8080 is not up 
http://localhost:8010 is up 

please help me 
-- 
*********************************************** 
STATE INFORMATION TECHNOLOGY AGENCY 
*********************************************** 
MIYELANI GIVEN SHIRINDA. 

E-LEARNING CONSULTANT [SAKAI] 
DEPARTMENT: TECHNOLOGY LAB 
_______________________________________________ 
Tel :012 470 1526 
Cell:0730133879 
E-Mail 1:given.shiri...@sita.co.za 
E-Mail 2:mgshiri...@webmail.co.za 
_______________________________________________ 

Failure is simply the opportunity to begin again,this time more intelligently. 

Reply via email to