You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Vy Ho <st...@drexel.edu> on 2004/11/23 16:33:03 UTC
Unnable to redeploy axis application
With an Axis application, I want to undeploy it, then redeploy the
application. When I redeploy the application, I get an error. Is this
a known problem with Axis? Is there a way to go around this? Or it's
must the way I do it. Here's the error:
- Illegal access: this web application instance has been stopped
already. Could not load
META-INF/services/org.apache.axis.EngineConfigurationFactory. The
eventual following stack trace is caused by an error thrown for
debugging purposes as well as to attempt to terminate the thread which
caused the illegal access, and has no functional impact.
- Illegal access: this web application instance has been stopped
already. Could not load
org/apache/axis/configuration/EngineConfigurationFactoryServlet.class.
The eventual following stack trace is caused by an error thrown for
debugging purposes as well as to attempt to terminate the thread which
caused the illegal access, and has no functional impact.
- Illegal access: this web application instance has been stopped
already. Could not load
org.apache.axis.configuration.EngineConfigurationFactoryServlet. The
eventual following stack trace is caused by an error thrown for
debugging purposes as well as to attempt to terminate the thread which
caused the illegal access, and has no functional impact.
- StandardWrapper.Throwable
java.lang.ThreadDeath
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1221)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1181)
at
org.apache.commons.discovery.ResourceClass$1.run(ResourceClass.java:77)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.commons.discovery.ResourceClass.loadClass(ResourceClass.java:73)
at
org.apache.axis.configuration.EngineConfigurationFactoryFinder$1.run(EngineConfigurationFactoryFinder.java:122)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactory(EngineConfigurationFactoryFinder.java:113)
at
org.apache.axis.transport.http.AxisServletBase.getEngineEnvironment(AxisServletBase.java:247)
at
org.apache.axis.transport.http.AxisServletBase.getEngine(AxisServletBase.java:170)
at
org.apache.axis.transport.http.AxisServletBase.getOption(AxisServletBase.java:370)
at
org.apache.axis.transport.http.AxisServletBase.init(AxisServletBase.java:110)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1053)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:886)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3817)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4079)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:755)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
- Servlet /axis threw load() exception
javax.servlet.ServletException: Servlet.init() for servlet AdminServlet
threw exception
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1095)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:886)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3817)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4079)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:755)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
Re: Unnable to redeploy axis application
Posted by Vy Ho <st...@drexel.edu>.
Here's a follow up on what I found out about this problem. First, I
would like to restate my problem. This happens in Tomcat Embedded
mode. The version of Axis is 1.2, and Tomcat is 5.028 and 5.5.4. When
I stop() and start() the axis webapp, the AdminServlet causes this
problem. The webapp actually works, with the happy axis page showing no
error. However, when clicking on "View" the list of deployed Web
services, the error also show up. Disable AdminServlet would make the
problem go away. When using the embedded version, if calling stop() on
both the web context and the Tomcat Embedded's instance, then re-create
and start them all, the AxisServlet will also generate this error.
There is an existing bug report at apache on this:
http://issues.apache.org/bugzilla/show_bug.cgi?id=27371
Please also note that using the standalone version and the tomcat's
manager, calling stop() and start() on the axis web app works fine
without any problem.