axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Ferraro" <mike_ferr...@harvard.edu>
Subject [Axis2] Trouble deploying axis2.war
Date Mon, 29 Jan 2007 19:16:07 GMT
Hello,

I'm new to Axis2 and am trying to go through the instructions from the
beginning.  My goal is to develop a set of web services using existing
Java objects.  I tried downloading the latest war file and dropping into
my app server.  I use Weblogic.  I dropped the war file into the
appropriate directory and deployed the application through the WL admin
console.  In the startup log I got the message below.  Does anyone know
the cause of this?

Thank you,
Mike Ferraro

<Jan 29, 2007 1:33:16 PM EST> <Error> <HTTP> <BEA-101125>
<[ServletContext(id=4653899,name=axis2,context-path=/axis2)] Error occu
rred 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.InstanceDispatcher.<clinit>(InstanceDispatcher.j
ava:41)
        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.util.Utils.loadHandler(Utils.java:88)
        at
org.apache.axis2.deployment.AxisConfigBuilder.processPhaseList(AxisConfi
gBuilder.java:264)
        at
org.apache.axis2.deployment.AxisConfigBuilder.processPhaseOrders(AxisCon
figBuilder.java:292)
        at
org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigB
uilder.java:107)
        at
org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(D
eploymentEngine.java:690)
        at
org.apache.axis2.deployment.WarBasedAxisConfigurator.<init>(WarBasedAxis
Configurator.java:129)
        at
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServle
t.java:392)
        at
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:331)
        at
weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletS
tubImpl.java:993)
        at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:317)
        at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118
)
        at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.
java:869)
        at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImp
l.java:848)
        at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl
.java:787)
        at
weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServ
letContext.java:3252)
        at
weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppSer
vletContext.java:3197)
        at
weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppSe
rvletContext.java:3174)
        at
weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletC
ontext.java:5647)
        at
weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:869)
        at
weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.ja
va:2022)
        at
weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer
.java:2063)
        at
weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.act
ivateContainer(SlaveDeployer.java:2592)
        at
weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(Sla
veDeployer.java:2515)
        at
weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer
.java:2317)
        at
weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(Slav
eDeployer.java:2399)
        at
weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeploye
r.java:2311)
        at
weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(Slav
eDeployer.java:2479)
        at
weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveD
eployer.java:798)
        at
weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeploye
r.java:507)
        at
weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeploy
er.java:465)
        at
weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandle
r.java:25)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>
<Jan 29, 2007 1:33:16 PM EST> <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:997)
        at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:317)
        at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118
)
        at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.
java:869)
        at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImp
l.java:848)
        at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl
.java:787)
        at
weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServ
letContext.java:3252)
        at
weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppSer
vletContext.java:3197)
        at
weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppSe
rvletContext.java:3174)
        at
weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletC
ontext.java:5647)
        at
weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:869)
        at
weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.ja
va:2022)
        at
weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer
.java:2063)
        at
weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.act
ivateContainer(SlaveDeployer.java:2592)
        at
weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(Sla
veDeployer.java:2515)
        at
weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer
.java:2317)
        at
weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(Slav
eDeployer.java:2399)
        at
weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeploye
r.java:2311)
        at
weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(Slav
eDeployer.java:2479)
        at
weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveD
eployer.java:798)
        at
weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeploye
r.java:507)
        at
weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeploy
er.java:465)
        at
weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandle
r.java:25)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>


---------------------------------------------------------------------
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