tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rikslovein <riks.lov...@gmail.com>
Subject Re: Using mod_jk in cluster environment responds HTTP 500
Date Mon, 15 Nov 2010 10:33:31 GMT

Chris,

Also one more information:

None of my tomcat is configured with HTTP connector. They are configured
only for AJP. Does the jkmanager requires this HTTP port? Any relation
between the non-SSL HTTP connector and jkmanager?

Regards.


rikslovein wrote:
> 
> Thanks for the quick response Chris. 
> 
> Please find the details given below:
> 
> Let me know if you need more information.
> 
> Thanks & regards...
> 
> Server.xml
> <Connector port="8009" address="localhost" 
> enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
> 
> workers.properties:
> workers.tomcat_home=/opt/webhost/DWH-Tomcat-Inst/tomcat5.5.23
> workers.java_home=/usr/lib/jvm/java-1.5.0
> ps=/
> 
> worker.list=loadbal_hub_prod,jkstatus,hub0,hub1
> 
> worker.hub0.port=8009
> worker.hub0.host=localhost
> worker.hub0.type=ajp13
> worker.hub0.lbfactor=1
> worker.hub0.redirect=hub1
> 
> worker.hub1.port=9009
> worker.hub1.host=localhost
> worker.hub1.type=ajp13
> worker.hub1.lbfactor=1
> worker.hub1.redirect=hub0
> 
> worker.jkstatus.type=status
> 
> worker.loadbal_hub_prod.type=lb
> worker.loadbal_hub_prod.balanced_workers=hub0,hub1
> worker.loadbal_hub_prod.sticky_session=false
> 
> 
> 
> Christopher Schultz-2 wrote:
>> 
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>> 
>> Rikslovein,
>> 
>> On 11/12/2010 7:19 AM, rikslovein wrote:
>>> I've one apache and two tomcat installed in my server. The communication
>>> happens using AJP 1.3. I'm using the jkmanager URL to
>>> activate/deactivate
>>> the tomcat instances. Also, I'm making sure atleast one of the two
>>> tomcat
>>> instance is up when other one is down.
>>> 
>>> The problem is sometimes the client request does go to deactivated
>>> tomcat
>>> instance resulting in HTTP 500 error. I want the request to be
>>> redirected
>>> only to the active tomcat instance and not the deactivated one.
>>> 
>>> Please suggest how can I do this. 
>> 
>> Can you post your workers.properties file (minus any secrets) and also
>> your <Connector> configuration from Tomcat's server.xml file?
>> 
>> - -chris
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.10 (MingW32)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>> 
>> iEYEARECAAYFAkzdY9oACgkQ9CaO5/Lv0PAt9ACeMGF7xMjQl3oM+qz66LP0cENS
>> mEQAmwZ2pRzawrlcBaOlqOD3tXyES9ap
>> =zsLx
>> -----END PGP SIGNATURE-----
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Using-mod_jk-in-cluster-environment-responds-HTTP-500-tp30198809p30215578.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message