I did start httpd then tomcat.
I did test jsp-examples through 'http://192.168.0.3:8080/jsp-examples' and it works
Then I did 'http://192.168.0.3/jsp-examples and I get a :
503 Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Any ideas ?
Here are my conf files:
----------------------------------------------------------------------- JK2.PROPERTIES -----------------------------------------------------------------------
## THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED ## WHEN YOU EDIT THE FILE.
## COMMENTS WILL BE _LOST_
## DOCUMENTATION OF THE FORMAT IN JkMain javadoc.
# Set the desired handler list # handler.list=apr,request,channelJni handler.list=apr,channelUnix,request # # Override the default port for the socketChannel # channelSocket.port=8019 # Default: # channelUnix.file=${jkHome}/work/jk2.socket channelUnix.file=/usr/localhot/jakarta-tomcat-5.0.28/work/jk2.socket # Just to check if the the config is working # shm.file=${jkHome}/work/jk2.shm
# In order to enable jni use any channelJni directive # channelJni.disabled = 0 # And one of the following directives:
# apr.jniModeSo=/opt/apache2/modules/mod_jk2.so
# If set to inprocess the mod_jk2 will Register natives itself # This will enable the starting of the Tomcat from mod_jk2 # apr.jniModeSo=inprocess serverRoot=/etc/httpd apr.NativeSo=/usr/lib/httpd/modules/libjkjni.so
----------------------------------------------------------------------- WORKER2.PROPERTIES -----------------------------------------------------------------------
# workers2.properties
# Shared memory handling. Needs to be set.
[shm]
info=coreboard. Required for reconfiguration and statu with multiprocess servers
file=/usr/local/jakarta-tomcat-5.0.28/logs/jk2.shm
size=1048576
debug=0
disabled=0
# UNIX domain socket [channel.un:/usr/local/jakarta-tomcat-5.0.28/work/jk2.socket] tomcatId=localhost:8009 debug=0
# define the worker [ajp13:/usr/local/jakarta-tomcat-5.0.28/work/jk2.socket] channel=channel.un:/usr/local/jakarta-tomcat-5.0.28/work/jk2.socket
# Announce a "status" worker [status:status] info=Status worker. Displays runtime information.
[uri:/jkstatus/*] group=status:status
# Uri mapping [uri:/jsp-examples/*]
# Uri mapping for gridsphere [uri:/gridsphere/*] [uri:/vqwiki/*]
Yup
LoadModule jk2_module modules/mod_jk2.so
-----Original Message-----
From: Guillaume Alleon [mailto:[EMAIL PROTECTED] Sent: November 10, 2004 5:07 PM
To: Tomcat Users List
Subject: Re: Apache/Tomcat problem
Phillip Qin wrote:
OK, you give me the hint, I had to put 'jk2_module' instead of 'mod_jk2' in myLoadModule.jk2_module is correct.
Have you link the libapr-0.so.0?
What is your LoadModule in httpd.conf?
At least httpd starts, I may me back for configuration file problems.
Thanks
-----Original Message----- From: Guillaume Alleon [mailto:[EMAIL PROTECTED] Sent: November 10, 2004 4:01 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Apache/Tomcat problem
Hi,
I have a Linux FC1 machine running httpd (see conf below)
I have now a tomcat applocation that I want to access through httpd
since only the port 80 is open
to this machine.
Therefore, I did install "jakarta-tomcat-connectors-jk2-2.0.4-src" & "jakarta-tomcat-5.0.28".
Trying apachectl configtest I got the following error:
Syntax error on line 199 of /etc/httpd/conf/httpd.conf:
Can't locate API module structure `mod_jk2' in file
/etc/httpd/modules/mod_jk2.so: /usr/lib/libapr-0.so.0: undefined symbol: mod_jk2
line 199 is the fresh addition of : LoadModule mod_jk2 modules/mod_jk2
Doing an "nm" on /etc/httpd/modules/mod_jk2.so does not show any 'mod_jk2' but a 'jk2_module'...
Do you know about this problem ? Thanks
------
Server version: Apache/2.0.51 Server built: Oct 3 2004 10:35:33 Server's Module Magic Number: 20020903:9 Architecture: 32-bit Server compiled with.... -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_SYSVSEM_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D HTTPD_ROOT="/etc/httpd" -D SUEXEC_BIN="/usr/sbin/suexec" -D DEFAULT_PIDLOG="logs/httpd.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_LOCKFILE="logs/accept.lock" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="conf/mime.types" -D SERVER_CONFIG_FILE="conf/httpd.conf"
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
!DSPAM:419290f2327091545416499!
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]