tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Müller" <stmueller_...@gmx.de>
Subject Re: Error messages on Apache2 with load balancing jk2 and Tomcat
Date Tue, 26 Oct 2004 12:04:46 GMT
Sorry, but it has the same effect.

Thanks

Stephan

> Try
> 
> It has been a while since I touched jk2 but try
> 
> group=lb:balanced
> 
> PJ
> 
> Stephan Müller wrote:
> 
> >Hallo!
> >
> >My Enviroment:
> >
> >Suse Linux 9.1
> >Tomcat 5.0.28
> >JK2 Connector 2.0.4
> >Apache2 2.0.50
> >
> >I've configured the jk2-connctor to load balance. Here my
> >worker2.properties:
> >
> ># Set a Logger
> >[logger.apache2]
> >file=/usr/local/apache2/logs/error.log
> >level=DEBUG
> >#debug=1
> >
> ># config settings
> >[config]
> >file=/usr/local/apache2/conf/workers2.properties
> >debug=0
> >
> ># Shared Memory file settings
> >[shm]
> >file=/usr/local/apache2/conf/jk2.shm
> >size=100000
> >
> ># communication channel settings for our "HDTTomcat1"
> >[channel.socket:192.168.120.148:8009]
> >port=8009
> >host=192.168.120.148
> >tomcatId=myTomcat
> >group=balanced
> >lb_factor=1
> >route=jvm1
> >
> ># communication channel settings for our "HDTTomcat2"
> >[channel.socket:192.168.120.147:8009]
> >port=8009
> >host=192.168.120.147
> >tomcatId=yourTomcat
> >group=balanced
> >lb_factor=1
> >route=jvm2
> >
> ># Declare a Tomcat worker
> >[ajp13:192.168.120.148:8009]
> >channel=channel.socket:myTomcat
> >
> >[ajp13:192.168.120.147:8009]
> >channel=channel.socket:yourTomcat
> >
> >#Load balanced worker
> >[lb:balanced]
> >worker=ajp13:192.168.120.148:8009
> >worker=ajp13:192.168.120.147:8009
> >timeout=30
> >attempts=2
> >recovery=90
> >StickySession=1
> >noWorkersMsg=Server Busy please retry after some time.
> >noWorkerCodeMsg=503
> >
> >[uri:/jsp-examples/*]
> >info= Mapping for examples of tomcat
> >context=/jsp-examples
> >group=balanced
> >
> >[uri:/manager/*]
> >
> >#uri:/HDTHTTPService/*]
> >#nfo=HDT MZS.net
> >
> >[status:]
> >
> >[uri:/jkstatus/*]
> >group=status 
> >
> >
> >After start apache2 I'll get these error messages in th error_log of
> >apache2:
> >
> >:
> >:
> >[Mon Oct 25 16:41:35 2004] [notice] config.update(): done
> >ajp13:192.168.120.148:8009
> >[Mon Oct 25 16:41:35 2004] [notice] config.update(): done
> >ajp13:192.168.120.147:8009
> >[Mon Oct 25 16:41:35 2004] [notice] config.setAttribute() Error setting
> >lb:balanced timeout 30
> >[Mon Oct 25 16:41:35 2004] [notice] config.setAttribute() Error setting
> >lb:balanced attempts 2
> >[Mon Oct 25 16:41:35 2004] [notice] config.setAttribute() Error setting
> >lb:balanced recovery 90
> >[Mon Oct 25 16:41:35 2004] [notice] config.setAttribute() Error setting
> >lb:balanced stickySession 1
> >[Mon Oct 25 16:41:35 2004] [notice] config.setAttribute() Error setting
> >lb:balanced noWorkersMsg Server Busy please retry after some time.
> >[Mon Oct 25 16:41:35 2004] [notice] config.setAttribute() Error setting
> >lb:balanced noWorkerCodeMsg 503
> >[Mon Oct 25 16:41:35 2004] [notice] config.update(): done lb:balanced 
> >:
> >:
> >
> >Why cannot set apache2 these attributes? What is my mistake? Need I
> another
> >module?
> >
> >Stephan Müller
> >
> >  
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 

-- 
Geschenkt: 3 Monate GMX ProMail + 3 Ausgaben der TV Movie mit DVD
++++ Jetzt anmelden und testen http://www.gmx.net/de/go/mail ++++


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


Mime
View raw message