I need help getting Tomcat to run with apache, I have failed on my
numerous attempts.
Tomcat and Apache both run fine as stand alone servers. Not together
though.
I downloaded mod_jk.so from the tomcat web site. I gave it the proper
permissions and put it in the Apache libexec libray. (Apache is a DSO
version able to take modules with out recompiling apache)
I then added this line of code to the end of my apache httpd.conf file:
Include /home/admin/jakarta-tomcat-3.3/conf/auto/mod_jk.conf
which is the path to my mod_jk.conf file in the proper directory. The
file is there and was generated correctly.
I start Tomcat, then Apache. When I try to access a page by using
apache on port 80, I get nothing, the page stays on the same page like
nothing happened..
I tested to see if I put the URL in my browser using myaddress:8009 and
received this error on command shell runing tomcat:
[root@java bin]# Ajp13Packet: invalid packet header : 18245
Ajp13Packet: invalid packet header : 18245
Ajp13Packet: invalid packet header : 18245
Ajp13Packet: invalid packet header : 18245
Ajp13Packet: invalid packet header : 18245
Ajp13Packet: invalid packet header : 18245
Ajp13Packet: invalid packet header : 18245
Ajp13Packet: invalid packet header : 18245
Ajp13Packet: invalid packet header : 18245
Ajp13Packet: invalid packet header : 18245
***********
and this error when doing the same but putting myaddress.com:8007 url in
my browser. (which of course is my address and the 8007 port.)
[root@java bin]# 2001-12-29 04:58:01 - Ajp12Interceptor: HANDLER THREAD
PROBLEM - java.io.IOException: Stream broken
at
org.apache.tomcat.modules.server.Ajp12.readNextRequest(Unknown Source)
at
org.apache.tomcat.modules.server.AJP12Request.readNextRequest(Unknown
Source)
at
org.apache.tomcat.modules.server.Ajp12Interceptor.processConnection(Unknown
Source)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
Source)
at java.lang.Thread.run(Thread.java:484)
*************
Can anyone tell me what might be going on ? If not, what you did on
your Linux system to get the two running.
Thank You Very Much
Frank LaLone
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>