Hello.
I have two great problems with tomcat+apache2+mod_jk2

1.- the first is
i must to have in the apache home (/srv/www) one conf dir with the
workers2.properties file. if i dont create this dir with the file the
systems doesn't find the workers2.properties file.
Why the system doesn't find it? the file is in the Tomcat_home/conf dir?
whic variable must i to change?

2.-the second:
the tomcat and apache works with the mod_jk2, the system returns me the
jsp pages, but if the page has some things (images, css files ....)into
diferents directories (/images/, /js/...) i must to declare them (the
directories) into the workers2.properties file.
Is this normal?
how can i solve?

in the workers2.properties file have this:

[logger.apache2]
level=DEBUG

[shm]
file=/var/log/apache2/tomcat_shm_log.txt
size=1048576

[channel.socket:localhost:8009]
port=8009
host=127.0.0.1

[channel.un:/opt/jakarta/tomcat/conf/jk2.socket]
tomcatId=localhost:8009
debug=0

#define the worker
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

[uri:www.dominio.com/*.jsp]
worker=ajp13:localhost:8009
[uri:www.dominio.com/images/*]
worker_ajp:localhost:8009
[uri:www.dominio.com/js/*]
worker_ajp:localhost:8009

i must to declare all the site directories, if i not declare them the
systes doesn't show the imagesn, css, js ......
 this has one great problem: if one user creates one dir, i must to
reconfigure my workers2.properties file.

How can i solve this great problem?
thanks
Conoceis cual puede ser la solucion?

in the jk2.properties file i have:

handler.list=apr,request,channelJni
channelSocket.port=8019
channelUnix.file=/opt/jakarta/tomcat/conf/jk2.socket
serverRoot=/srv/www/apache2
apr.NativeSo=/usr/lib/apache2/jkjni.so

can you help me?

the great problem for my isthe second. please help me.
thanks

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

Reply via email to