tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From keita elhadji <keita_elha...@yahoo.fr>
Subject mod_jk2 tomcat
Date Wed, 05 May 2004 15:29:54 GMT

Hi,

I have two tomcat server one in Machine1 and another
to machine2 their name is www.xxxx.biz and i want to
do work clustering :
in machine1 tomcat5.0.19 apache2 mod_jk2
in machine2 tomcat5.0.19 apache2 mod_jk2

my workers2.properties on machine1 is :
---------------------------------------

[logger]
level=DEBUG

[config:]
file=/usr/local/apache2/conf/workers2.properties
debug=0
debugEnv=0

[uriMap:]
info=Maps the requests. Options: debug
debug=0

# Alternate file logger
[logger.file:0]
level=DEBUG
file=/usr/local/apache2/logs/jk2.log

[shm:]
info=Scoreboard. Required for reconfiguration and
status with multiprocess serve
rs
file=/var/run/jk2.shm
size=1048576
debug=0
disabled=0

[workerEnv:]
info=Global server options
timing=1
debug=0

[lb:lb]
info=Default load balancer.
debug=0


[channel.socket:localhost:8009]
info=Ajp13 forwarding to localhost 8009
debug=10
tomcatId=tomcat
lb_factor=99
group=lb
ver=1
graceful=0
disabled=0
[channel.socket:192.168.0.68:8009]
info=Ajp13 forwarding to 192.168.0.68 8009
debug=10
tomcatId=tomcat
lb_factor=33
group=lb
ver=1
graceful=0
disabled=0
[status:]
info=Status worker, displays runtime informations

[uri:/jkstatus/*]
info=Display status information and checks the config
file for changes.
group=status:

[uri:/pro/*.jsp]
info=Prefix mapping

[uri:/pro/*.jsp]
info=Extension mapping

[uri:/pro/*]
info=The pro webapp.
debug=0

the server.xml : 
----------------

  <!-- Define a Coyote/JK2 AJP 1.3 Connector on port
8009 -->
    <Connector port="8009"
               enableLookups="false"
redirectPort="8443" debug="0"
               protocol="AJP/1.3" />


<Engine jvmRoute="tomcat1" name="Standalone"
defaultHost="localhost" debug="
0">

when i start apache:
--------------------

[Wed May 05 16:58:52 2004] [notice] config.update():
done logger
[Wed May 05 16:58:52 2004] [notice] config.update():
done config:
[Wed May 05 16:58:52 2004] [notice] config.update():
done uriMap:
[Wed May 05 16:58:52 2004] ( info ) [jk_logger_file.c
(176)]  Level DEBUG 0 
[Wed May 05 16:58:52 2004] [notice] config.update():
done logger.file:0
[Wed May 05 16:58:52 2004] [notice] config.update():
done shm:
[Wed May 05 16:58:52 2004] [notice] config.update():
done workerEnv:
[Wed May 05 16:58:52 2004] [notice] config.update():
done lb:lb
[Wed May 05 16:58:52 2004] [notice] config.update():
done channel.socket:localhost:8009
[Wed May 05 16:58:52 2004] [notice] config.update():
done channel.socket:192.168.0.68:8009
[Wed May 05 16:58:52 2004] [notice] config.update():
done status:
[Wed May 05 16:58:52 2004] [notice] config.update():
done uri:/jkstatus/*
[Wed May 05 16:58:52 2004] [notice] config.update():
done uri:/pro/*.jsp
[Wed May 05 16:58:52 2004] [notice] config.update():
done uri:/pro/*.jsp
[Wed May 05 16:58:52 2004] [notice] config.update():
done uri:/pro/*

When i send a request only the server who i send the
request answer ......

can someone help me 
thanks for answer.



	

	
		
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout ! 
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! Messenger
sur http://fr.messenger.yahoo.com

---------------------------------------------------------------------
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