tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kruler" <dkru...@GiantBear.com>
Subject RE: What does this exception mean? Tomcat is not supposed to compile Java file, right?
Date Thu, 19 Jul 2001 21:10:02 GMT
It's the JSP that came with Apache SOAP distribution.
Sometimes that JSP doesn't compiles and sometimes (on the 2nd try) it
will compile normally, without any changes in JSP or need to restart
Tomcat.

-----Original Message-----
From: David Haraburda [mailto:david@haraburda.com]
Sent: Thursday, July 19, 2001 4:56 PM
To: tomcat-user@jakarta.apache.org
Subject: Re: What does this exception mean? Tomcat is not supposed to
compile Java file, right?


Tomcat is attempting to compile your JSP file into a Java servlet (.java
file)  Tomcat will then compile this .java file, and the resulting class
is
what will be run when your web browser hits the JSP page.  It looks like
your apache_soap.jar isn't configured correctly (I'm not familiar with
that
product)  What does your JSP file look like?

David

Daniel Kruler wrote:

> org.apache.jasper.JasperException: Unable to compile class for
>
JSPC:\tomcat\common\lib\apache_soap.jar(org/apache/soap/server/Deploymen
> tDescriptor.java): Public class
> org.apache.soap.server.DeploymentDescriptor must be defined in a file
> called "DeploymentDescriptor.java".
> C:\tomcat\common\lib\apache_soap.jar(org/apache/soap/Constants.java):
> Public class org.apache.soap.Constants must be defined in a file
called
> "Constants.java".
>
C:\tomcat\common\lib\apache_soap.jar(org/apache/soap/server/ServiceManag
> er.java): Public class org.apache.soap.server.ServiceManager must be
> defined in a file called "ServiceManager.java".
>
C:\tomcat\common\lib\apache_soap.jar(org/apache/soap/rpc/SOAPContext.jav
> a): Public class org.apache.soap.rpc.SOAPContext must be defined in a
> file called "SOAPContext.java".
>
C:\tomcat\common\lib\apache_soap.jar(org/apache/soap/SOAPException.java)
> : Public class org.apache.soap.SOAPException must be defined in a file
> called "SOAPException.java".
>
C:\tomcat\common\lib\apache_soap.jar(org/apache/soap/server/http/ServerH
> TTPUtils.java): Public class
org.apache.soap.server.http.ServerHTTPUtils
> must be defined in a file called "ServerHTTPUtils.java".
>
C:\tomcat\common\lib\apache_soap.jar(org/apache/soap/transport/EnvelopeE
> ditor.java): Public interface org.apache.soap.transport.EnvelopeEditor
> must be defined in a file called "EnvelopeEditor.java".
>
C:\tomcat\common\lib\apache_soap.jar(org/apache/soap/util/xml/QName.java
> ): Public class org.apache.soap.util.xml.QName must be defined in a
file
> called "QName.java".
>
C:\tomcat\common\lib\apache_soap.jar(org/apache/soap/server/TypeMapping.
> java): Public class org.apache.soap.server.TypeMapping must be defined
> in a file called "TypeMapping.java".
> 9 errors
>
>         at
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
>         at
> org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:501)
>         at
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(J
> spServlet.java:175)
>         at
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServle
> t.java:187)
>         at
>
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:357)
>         at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:431)
>         at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:246)
>         at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:191)
>         at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
> e.java:255)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
> va:566)
>         at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
> 72)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
>         at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
> e.java:225)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
> va:566)
>         at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
> 72)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
>         at
>
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:217
> 5)
>         at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> :164)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
> va:566)
>         at
>
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:446
> )
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
> va:564)
>         at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
> 72)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
>         at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
> java:162)
>         at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
> va:566)
>         at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
> 72)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
>         at
>
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.j
> ava:827)
>         at
>
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:
> 904)
>         at java.lang.Thread.run(Thread.java:484)


Mime
View raw message