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 Janne Rantala <ja...@gmail.com> on 2008/10/08 13:26:01 UTC

Problem redeploying Axis 1.4 based web application

Hi,

We've just upgraded our Axis from version 1.1 to 1.4 and found strange
behaviour when redeploying Axis web application. This isn't critical error
but it would definitely be nice to know what's causing this? Directory
META-INF/services/ doesn't even exist in our application, could this be the
problem? When Tomcat is started everything works just fine but this occurs
only when application is redeployed.

INFO: Illegal access: this web application instance has been stopped
already.  C
ould not load META-INF/services/org.apache.axis.EngineConfigurationFactory.
The
 eventual following stack trace is caused by an error thrown for debugging
purpo
ses as well as to attempt to terminate the thread which caused the illegal
acces
s, and has no functional impact.
8.10.2008 14:10:09 org.apache.catalina.core.ApplicationContext log
SEVERE: StandardWrapper.Throwable
java.lang.NullPointerException
        at
org.apache.catalina.loader.WebappClassLoader.findResources(WebappClas
sLoader.java:968)
        at java.lang.ClassLoader.getResources(ClassLoader.java:1015)
        at
org.apache.commons.discovery.jdk.JDK12Hooks.getResources(JDK12Hooks.j
ava:150)
        at
org.apache.commons.discovery.resource.DiscoverResources$1.getNextReso
urces(DiscoverResources.java:153)
        at
org.apache.commons.discovery.resource.DiscoverResources$1.getNextReso
urce(DiscoverResources.java:129)
        at
org.apache.commons.discovery.resource.DiscoverResources$1.hasNext(Dis
coverResources.java:116)
        at
org.apache.commons.discovery.resource.names.DiscoverNamesInFile$1.get
NextClassNames(DiscoverNamesInFile.java:186)
        at
org.apache.commons.discovery.resource.names.DiscoverNamesInFile$1.get
NextClassName(DiscoverNamesInFile.java:170)
        at
org.apache.commons.discovery.resource.names.DiscoverNamesInFile$1.has
Next(DiscoverNamesInFile.java:157)
        at
org.apache.commons.discovery.resource.names.NameDiscoverers$1.getNext
Iterator(NameDiscoverers.java:143)
        at
org.apache.commons.discovery.resource.names.NameDiscoverers$1.hasNext
(NameDiscoverers.java:126)
        at
org.apache.commons.discovery.resource.classes.ResourceClassDiscoverIm
pl$1.getNextResource(ResourceClassDiscoverImpl.java:159)
        at
org.apache.commons.discovery.resource.classes.ResourceClassDiscoverIm
pl$1.hasNext(ResourceClassDiscoverImpl.java:147)
        at
org.apache.axis.configuration.EngineConfigurationFactoryFinder$1.run(
EngineConfigurationFactoryFinder.java:120)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFac
tory(EngineConfigurationFactoryFinder.java:113)
        at
org.apache.axis.transport.http.AxisServletBase.getEngineEnvironment(A
xisServletBase.java:273)
        at
org.apache.axis.transport.http.AxisServletBase.getEngine(AxisServletB
ase.java:172)
        at
org.apache.axis.transport.http.AxisServletBase.getOption(AxisServletB
ase.java:396)
        at
org.apache.axis.transport.http.AxisServletBase.init(AxisServletBase.j
ava:112)
        at javax.servlet.GenericServlet.init(GenericServlet.java:212)
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
java:1161)
        at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:98
1)
        at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
t.java:4045)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4
351)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:791)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
1)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)

        at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)

        at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714
)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490
)
        at
org.apache.catalina.startup.HostConfig.check(HostConfig.java:1206)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:293)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:117)
        at
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBas
e.java:1337)
        at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.p
rocessChildren(ContainerBase.java:1601)
        at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.p
rocessChildren(ContainerBase.java:1610)
        at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.r
un(ContainerBase.java:1590)
        at java.lang.Thread.run(Thread.java:619)
8.10.2008 14:10:09 org.apache.catalina.core.StandardContext loadOnStartup


Best regards,

Janne