tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: Ajp12Interceptor: HANDLER THREAD PROBLEM
Date Fri, 03 Dec 2004 03:19:53 GMT
It looks like you DocumentRoot in Apache isn't matching up with the ROOT 
context in Tomcat.  As a start, you could find the ApacheConfig element in 
server.xml, and add the attribute 'noRoot="false"'.  Then run
  $TOMCAT_HOME/bin/tomcat run -jkconf
You should then compare $TOMCAT_HOME/conf/auto/mod_jk.conf with your Apache 
configuration as a hint for what isn't matching up.

"Mayuresh Kshirsagar" <mayuresh_kshirsagar@persistent.co.in> wrote in 
message news:005001c4d850$b4cfff50$3605a8c0@shangai.persistent.co.in...
Hi All,

I have set up a website on my test machines using Apache1.3 Tomcat3.3.2 and 
mod_jk.

While connecting to http://localhost/ I get the following error shown for 
Tomcat. Also attaching the error.log of httpd.conf.
2004-12-02 14:11:51 - Ctx() : Class not found: TOMCAT/JSP/index.jsp
2004-12-02 14:11:51 - Ctx() : Status code:404 request:R(  + /index.jsp + 
null) m
sg:null
2004-12-02 14:11:53 - Ctx() : Status code:404 request:R(  + /index.jsp + 
null) m
sg:null
2004-12-02 14:17:48 - Ctx() : Status code:404 request:R(  + /index.jsp + 
null) m
sg:null
2004-12-02 14:26:24 - Ajp12Interceptor: HANDLER THREAD PROBLEM - 
java.io.IOExcep
tion: Stream broken
        at 
org.apache.tomcat.modules.server.Ajp12.readNextRequest(Ajp12.java:277
)
        at 
org.apache.tomcat.modules.server.AJP12Request.readNextRequest(Ajp12In
terceptor.java:215)
        at 
org.apache.tomcat.modules.server.Ajp12Interceptor.processConnection(A
jp12Interceptor.java:178)
        at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:571)
        at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:644)
        at java.lang.Thread.run(Thread.java:534)

error.log-------------------------

[Thu Dec 02 14:17:36 2004] [warn] module mod_jk.c is already added, skipping
program files/apache group/apache/htdocs/manual/urlmapping.html
[Wed Dec 01 16:16:58 2004] [error] [client 127.0.0.1] File does not exist: 
d:/program files/apache group/apache/htdocs/manual/urlmapping.html
[Wed Dec 01 16:17:34 2004] [error] [client 127.0.0.1] File does not exist: 
d:/program files/apache group/apache/htdocs/manual/urlmapping.html
[Wed Dec 01 16:54:14 2004] [error] [client 127.0.0.1] File does not exist: 
d:/program files/apache group/apache/htdocs/manual/urlmapping.html
Apache server shutdown initiated...
Apache server shutdown initiated...
[Wed Dec 01 19:13:38 2004] [error] [client 127.0.0.1] File does not exist: 
/usr/local/apache/support.cp.net/images/myprofile-on.gif
[Wed Dec 01 19:13:38 2004] [error] [client 127.0.0.1] File does not exist: 
/usr/local/apache/support.cp.net/images/myprofile-off.gif
[Wed Dec 01 19:14:25 2004] [error] [client 127.0.0.1] File does not exist: 
/usr/local/apache/support.cp.net/images/myprofile-on.gif
[Wed Dec 01 19:14:25 2004] [error] [client 127.0.0.1] File does not exist: 
/usr/local/apache/support.cp.net/images/myprofile-off.gif
[Wed Dec 01 19:15:24 2004] [error] [client 127.0.0.1] File does not exist: 
/usr/local/apache/support.cp.net/images/myprofile-on.gif
[Wed Dec 01 19:15:24 2004] [error] [client 127.0.0.1] File does not exist: 
/usr/local/apache/support.cp.net/images/myprofile-off.gif
[Wed Dec 01 21:52:25 2004] [error] [client 127.0.0.1] File does not exist: 
/usr/local/apache/support.cp.net/images/myprofile-on.gif
[Wed Dec 01 21:52:25 2004] [error] [client 127.0.0.1] File does not exist: 
/usr/local/apache/support.cp.net/images/myprofile-off.gif
[Thu Dec 02 12:08:50 2004] [error] [client 127.0.0.1] File does not exist: 
/usr/local/apache/support.cp.net/images/myprofile-on.gif
[Thu Dec 02 12:08:50 2004] [error] [client 127.0.0.1] File does not exist: 
/usr/local/apache/support.cp.net/images/myprofile-off.gif
[Thu Dec 02 13:49:40 2004] [warn] module mod_jk.c is already added, skipping
[Thu Dec 02 14:10:57 2004] [warn] module mod_jk.c is already added, skipping
[Thu Dec 02 14:12:32 2004] [warn] module mod_jk.c is already added, skipping
[Thu Dec 02 14:17:35 2004] [warn] module mod_jk.c is already added, skipping


Could you please show me a way ?

Thanks.
Mayuresh. 




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