Hi!
The stack trace that I get is below. I have cropped a few lines -
weblogic.application.ModuleException: [HTTP:101216]Servlet:
"AdminServlet" failed to preload on startup in Web application:
"SSAxis".
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
javax.servlet.GenericServlet.init(GenericServlet.java:241)
at
weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubS
ecurityHelper.java:282)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown
Source)
at
weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityH
elper.java:63)
at
weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLife
cycleHelper.java:58)
at
weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper
.java:48)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl
.java:507)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServ
letContext.java:1853)
at
weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(Web
AppServletContext.java:1830)
at
weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppSe
rvletContext.java:1750)
at
weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContex
t.java:2909)
at
weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:9
73)
at
weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:361)
at
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateD
river.java:204)
at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriv
er.java:26)
at
weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDr
iver.java:60)
at
weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModule
Driver.java:200)
at
weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleLis
tenerInvoker.java:117)
at
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateD
river.java:204)
at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriv
er.java:26)
________________________________
From: Sirohi, Vivek
Sent: Monday, April 06, 2009 10:37 AM
To: '[email protected]'
Subject: weblogic 10g axis - Admin servlet failed to preload on startup
Hi All,
I have written a web service using axis and have successfully deployed
it to weblogic 10g. However I have had to use the
"prefer-web-inf-classes" setting in weblogic.xml to get it to run
otherwise it gives me the "AdminServlet failed to preload on startup in
Web application:" error.
I don't want to use this setting so was wondering what could be the
possible causes of this error and any solutions that you may have to
solve this problem.
Regards,
ViV