tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent J. Buonassisi" <...@vuit.com>
Subject error starting apache w/ mod_jk2
Date Wed, 28 May 2003 23:54:36 GMT
hi,

i am using apache 2.0.45 and tomcat 4.1.24 on redhat 8.0.  i am able to 
start tomcat just fine and am able to connect to it thru my web 
browser.  but, when i start up apache i get the following error:

[Wed May 28 15:40:32 2003] [notice] Digest: generating secret for 
digest authentication ...
[Wed May 28 15:40:32 2003] [notice] Digest: done
[Wed May 28 15:40:33 2003] [error] mod_jk child init 1 0
[Wed May 28 15:40:33 2003] [notice] Apache/2.0.40 (Red Hat Linux) 
configured -- resuming normal operations

i have followed the basic setup steps that i found in a howto guide.  i 
have also made sure the socket file has the correct permissions:

[tomcat4@pk1 conf]$ ll /var/tomcat4//work/
total 16
drwxrwxrwx    4 root     tomcat4      4096 May 28 16:24 ./
drwxr-xr-x    4 root     root         4096 May 22 12:37 ../

my jk2.properties file looks as follows:

# Set the desired handler list
handler.list=apr,request,channelUnix

#
channelUnix.file=/var/tomcat4/work/jk2.socket

# Just to check if the the config  is working
shm.file=/var/tomcat4/work/jk2.shm

# This will enable the starting of the Tomcat from mod_jk2
apr.jniModeSo=/etc/httpd/modules/mod_jk2.so

and, my workers2.properties file looks as follows:

# Shared memory handling. Needs to be set.
[shm]
file=/etc/httpd/logs/shm.file
size=1048576
	
# Example UNIX domain socket
[channel.un:/var/tomcat4/work/jk2.socket]
tomcatId=localhost:8109
debug=0
	
# define the worker
[ajp13:/var/tomcat4/work/jk2.socket]
channel=channel.un:/var/tomcat4/work/jk2.socket
	
# Announce a "status" worker
[status:status]
	
# URI mapping
[uri:/examples/*]
worker=ajp13:/var/tomcat4/work/jk2.socket
	
[uri:/jkstatus/*]
worker=status:status


can someone please give some hints at what i should look at to make 
this configuration work?

thanks,

vince


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