axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajesh, Peter (CLAIMS, WIP)" <Peter.Raj...@thehartford.com>
Subject Error occurred while instantiating servlet: "AxisServlet" in Weblogic 8.1
Date Tue, 11 Sep 2007 19:38:11 GMT
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;Lja
va/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(NativeConstructorA
ccessorImpl.java:39)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons
tructorAccessorImpl.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(AxisConfi
gBuilder.java:390)
        at
org.apache.axis2.deployment.AxisConfigBuilder.processPhaseOrders(AxisCon
figBuilder.java:433)
        at
org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigB
uilder.java:133)
        at
org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(D
eploymentEngine.java:615)
        at
org.apache.axis2.deployment.WarBasedAxisConfigurator.<init>(WarBasedAxis
Configurator.java:146)
        at
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServle
t.java:500)
        at
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:420)
        at
weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletS
tubImpl.java:1094)
        at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.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(ServletStubImp
l.java:949)
        at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl
.java:888)
        at
weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServ
letContext.java:3430)
        at
weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppSer
vletContext.java:3375)
        at
weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppSe
rvletContext.java:3356)
        at
weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletC
ontext.java:6208)
        at
weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:864)
        at
weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.ja
va: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.setActivationStateForAllA
pplications(SlaveDeployer.java:1768)
        at
weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java
:351)
        at
weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(D
eploymentManagerServerLifeCycleImpl.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(ServletS
tubImpl.java:1098)
        at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.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



*************************************************************************
This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information.  If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution is
strictly prohibited.  If you are not the intended recipient, please notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.
*************************************************************************


Mime
View raw message