axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todd Allen <tbal...@copart.com>
Subject Re: Error occurred while instantiating servlet: "AxisServlet" in Weblogic 8.1
Date Tue, 11 Sep 2007 21:28:27 GMT
The following link may be helpful:
http://ws.apache.org/axis2/1_3/app_server.html


Rajesh, Peter (CLAIMS, WIP) wrote:
>
> Hi 
>
>  After deploying the Axis2.war in the Weblogic 8.1 and restarting the 
> server, below error message is displayed in the Weblogic console. 
> Please let me know am I missing anything?
>
> Do I want to add the Axis2 jar file in the Weblogic classpath?
>
>
> <Sep 11, 2007 3:33:33 PM EDT> <Error> <HTTP> <BEA-101125> 
> <[ServletContext(id=7611287,name=axis2,context-path=/axis2)]* Error 
> occurred while instantiating servlet: "AxisServlet".*
>
> java.lang.NoSuchMethodError: 
> javax.xml.namespace.QName.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

>
>         at 
> org.apache.axis2.engine.DispatchPhase.<clinit>(DispatchPhase.java:270)
>         at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

>
>         at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

>
>         at 
> java.lang.reflect.Constructor.newInstance(Constructor.java:274)
>         at java.lang.Class.newInstance0(Class.java:308)
>         at java.lang.Class.newInstance(Class.java:261)
>         at 
> org.apache.axis2.deployment.AxisConfigBuilder.getPhase(AxisConfigBuilder.java:638) 
>
>         at 
> org.apache.axis2.deployment.AxisConfigBuilder.processPhaseList(AxisConfigBuilder.java:390)

>
>         at 
> org.apache.axis2.deployment.AxisConfigBuilder.processPhaseOrders(AxisConfigBuilder.java:433)

>
>         at 
> org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:133)

>
>         at 
> org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:615)

>
>         at 
> org.apache.axis2.deployment.WarBasedAxisConfigurator.<init>(WarBasedAxisConfigurator.java:146)

>
>         at 
> org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:500) 
>
>         at 
> org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:420)
>         at 
> weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1094)

>
>         at 
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

>
>         at 
> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
>         at 
> weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:970) 
>
>         at 
> weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:949) 
>
>         at 
> weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:888) 
>
>         at 
> weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3430)

>
>         at 
> weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3375)

>
>         at 
> weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3356)

>
>         at 
> weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:6208)

>
>         at 
> weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:864)
>         at 
> weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2134) 
>
>         at 
> weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2175) 
>
>         at 
> weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2122) 
>
>         at 
> weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(SlaveDeployer.java:3099)

>
>         at 
> weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1768)

>
>         at 
> weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:351) 
>
>         at 
> weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
>
>         at 
> weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136)
>         at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965)
>         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360)
>         at weblogic.Server.main(Server.java:32)
> >
> <Sep 11, 2007 3:33:33 PM EDT> <Error> <HTTP> <BEA-101216> <Servlet:

> "AxisServlet" failed to preload on startup in Web application: "axis2".
>
> javax.servlet.ServletException: Servlet class: 
> 'org.apache.axis2.transport.http.AxisServlet' doesn't have a default 
> constructor
>
>         at 
> weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1098)

>
>         at 
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

>
>         at 
> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
>         at 
> weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:970) 
>
>
> Thanks & Regards,
>
> Peter Rajesh | 860-547-3881
>


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message