by the way, I have maybe a problem in my configuration
If you have two minutes ... what do you think about it ?

and also, I have no jk2.properties file, is it absolutely necessary ?

------------- httpd.conf ---------------
...
LoadModule jk2_module modules/mod_jk2-2.0.4.so
...
------------- workers2.properties ---------------
########### Scoreboard file ##########
[shm]
info=Scoreboard. Required for reconfiguration and status with multiprocess
file=/application/apache/conf/shm.file
size=250000000

########### Uri Mapping ##########
[uri:/jsp/*.jsp]
group=lb

[uri:/jkstatus/*]
worker=status:status

########### Channels ##########
[channel.socket:localhost:8009]
port=8009
host=10.1.1.1
lb_factor=1

[channel.socket:localhost:8010]
port=8010
host=10.1.1.1
lb_factor=1

########### Workers ##########
# the loadbalancer :
[lb:lb]
info=Default Load Balancer

# real workers (Tomcat instances)
[ajp13:localhost:8009]
info=Worker1
channel=channel.socket:localhost:8009
group=lb
ver=2

[ajp13:localhost:8010]
info=Worker2
channel=channel.socket:localhost:8010
group=lb
ver=1

# status worker
[status:status]

-------------- server.xml --------------
<Server port="8505" shutdown="SHUTDOWN" debug="0">
<Service name="Tomcat">
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="8009" minProcessors="100" maxProcessors="500" enableLookups="false" acceptCount="100" debug="4" connectionTimeout="120000" useURIValidationHack="false" protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler">
<Logger className="org.apache.catalina.logger.FileLogger" prefix="connector1-logger-" suffix=".log" timestamp="true" />
</Connector>


<Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="8010" minProcessors="100" maxProcessors="500" enableLookups="false" acceptCount="100" debug="4" connectionTimeout="120000" useURIValidationHack="false" protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler">
<Logger className="org.apache.catalina.logger.FileLogger" prefix="connector2-logger-" suffix=".log" timestamp="true" />
</Connector>


<Engine name="Apache" defaultHost="localhost" debug="0">
<Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="false">
<Alias>localhost</Alias>
<Context path="/jsp" docBase="appweb/jsp" debug="0" reloadable="false" crossContext="true" />
<Logger className="org.apache.catalina.logger.FileLogger" prefix="host-logger-" suffix=".log" timestamp="true" />
</Host>
</Engine>
</Service>
</Server>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to