httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manoj Kithany" <manojkithany...@hotmail.com>
Subject [users@httpd] AJP13 Error (Apache/Tomcat/JBoss)
Date Fri, 14 Feb 2003 22:04:57 GMT
Hi:

I am using APache + JBoss + Tomcat and INTEGRATED these with MOD_JK 
connector.

I have a WAR file "mig.war" which is stored in /jboss/server/default/deploy/

When I try to access my hellowworld JSP page (test.jsp) as 
"www.host-name/mig/test.jsp", I get following message

-------------------------------------------------------------------------------------------
14:54:52,638 INFO  [Engine] Ajp13Processor[8009][1]  An incoming request is 
being assigned
14:54:52,638 INFO  [Engine] Ajp13Processor[8009][1]   The incoming request 
has been awaited
14:54:52,639 INFO  [STDOUT] [Ajp13] setSocket()
14:54:52,639 INFO  [STDOUT] [Ajp13] receiveNextRequest()
14:54:52,639 INFO  [STDOUT] [Ajp13] receive()
14:54:52,639 INFO  [STDOUT] [Ajp13] receive:  total read = 413
14:54:52,639 INFO  [STDOUT] [Ajp13] Received 2 JK_AJP13_FORWARD_REQUEST
14:54:52,639 INFO  [Engine] Ajp13Processor[8009][1] invoking...
14:54:52,691 ERROR [Engine] StandardWrapperValve[jsp]: Servlet.service() for 
servlet jsp threw exception
javax.servlet.ServletException: sun/tools/javac/Main
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:485)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
        at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
.............
14:54:52,708 ERROR [Engine] ----- Root Cause -----
java.lang.NoClassDefFoundError: sun/tools/javac/Main
        at 
org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java(Compiled 
Code))
        at 
org.apache.jasper.compiler.Compiler.compile(Compiler.java(Compiled Code))
        at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552)
        at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177)
        at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189)
        at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
        at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
.....
14:54:52,751 INFO  [STDOUT] [Ajp13] send()
14:54:52,752 INFO  [STDOUT] [Ajp13] send()
14:54:52,752 INFO  [STDOUT] [Ajp13] send()
14:54:52,752 INFO  [STDOUT] [Ajp13] send()
14:54:52,752 INFO  [STDOUT] [Ajp13] send()
14:54:52,752 INFO  [STDOUT] [Ajp13] send()
14:54:52,753 INFO  [STDOUT] [Ajp13] send()
14:54:52,753 INFO  [Engine] Ajp13Processor[8009][1] done invoking, finishing 
request/response....
14:54:52,753 INFO  [STDOUT] [Ajp13] send()
14:54:52,753 INFO  [STDOUT] [Ajp13] send()
14:54:52,753 INFO  [Engine] Ajp13Processor[8009][1] finished handling 
request.
14:54:52,753 INFO  [STDOUT] [Ajp13] recycle()
14:54:52,753 INFO  [STDOUT] [Ajp13] receiveNextRequest()
-------------------------------------------------------------------------------------------


Can anyone point out what is the problem?

My HTTPD.CONF file has:
--------------------------------------------------------------
LoadModule jk_module  libexec/mod_jk.so
JkWorkersFile /jboss/catalina/conf/jk/workers.properties
JkLogFile /usr/local/apache/logs/mod_jk.log
JkLogLevel info
JKMount /mig/servlet/* ajp13
JKMount /mig/*.jsp ajp13
JKMount /mig/* ajp13
-------------------------------------------------------------

THANKS!

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message