axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hitesh Patel" <hpa...@datasynapse.com>
Subject Engine environment problem with axis and embedded tomcat.
Date Wed, 21 Sep 2005 21:30:56 GMT
Hi,
Recently I have been trying to deploy Axis 1.2.1 with embedded tomcat
5.0.28, and facing some weird problems. When I deployed the same release
of axis with standalone tomcat (same version), it just worked fine.
Also, the embedded tomcat works fine with all the other web applications
except axis.
 
The configuration test page ("happyaxis.jsp") seems to be happy, it
found all the needed core libraries.
 
When I try to list the deployed web-applications from the index page
(http://localhost:8080/axis/) it throws  following exception.
java.lang.NullPointerException at
org.apache.axis.transport.http.AxisServletBase.getEngineEnvironment(Axis
ServletBase.java:273)
Any help would be appreciated.
Thanks,
-Hitesh Patel
Here's the full stacktrace:
StandardWrapperValve[AxisServlet]: Allocate exception for servlet
AxisServlet

javax.servlet.ServletException: Servlet.init() for servlet AxisServlet
threw exception

at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:1071)

at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:6
87)

at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:144)

at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)

at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)

at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
textValve.java:198)

at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:152)

at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)

at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)

at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:137)

at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)

at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:118)

at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)

at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)

at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)

at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)

at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535
)

at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)

at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)

at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)

at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:79
9)

at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:705)

at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57
7)

at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)

at java.lang.Thread.run(Thread.java:534)

 

----- Root Cause -----

java.lang.NullPointerException

at
org.apache.axis.transport.http.AxisServletBase.getEngineEnvironment(Axis
ServletBase.java:273)

at
org.apache.axis.transport.http.AxisServletBase.getEngine(AxisServletBase
.java:172)

at
org.apache.axis.transport.http.AxisServletBase.getOption(AxisServletBase
.java:396)

at
org.apache.axis.transport.http.AxisServletBase.init(AxisServletBase.java
:112)

at org.apache.axis.transport.http.AxisServlet.init(AxisServlet.java:156)

at javax.servlet.GenericServlet.init(GenericServlet.java:212)

at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:1029)

at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:6
87)

at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:144)

at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)

at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)

at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
textValve.java:198)

at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:152)

at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)

at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)

at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:137)

at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)

at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:118)

at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)

at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)

at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)

at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)

at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535
)

at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)

at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)

at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)

at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:79
9)

at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:705)

at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57
7)

at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)

at java.lang.Thread.run(Thread.java:534)


Mime
View raw message