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 Nathaniel Auvil <na...@gmail.com> on 2006/09/11 19:06:43 UTC

[Axis2] unable to deploy a service

i am unable to deploy my service.  I keep getting an error from Axis about
the "addressing" module.  Any ideas?


Here is the Exception:

Sep 11, 2006 12:57:42 PM
org.apache.axis2.deployment.WarBasedAxisConfigurator getAxisConfiguration
SEVERE: org.apache.axis2.deployment.DeploymentException: module.xml not
found  for the module :
zip:C:/bea/8/sp4/user_projects/domains/2/myserver/upload/axis2.war!/WEB-INF/modules/addressing-
SNAPSHOT.mar; nested exception is:
        org.apache.axis2.deployment.DeploymentException: module.xml not
found  for the module :
zip:C:/bea/8/sp4/user_projects/domains/2/myserver/upload/axis2.war!/WEB-INF/modules/addressing-
SNAPSHOT.mar; nested exception is:
        org.apache.axis2.deployment.DeploymentException: module.xml not
found  for the module :
zip:C:/bea/8/sp4/user_projects/domains/2/myserver/upload/axis2.war!/WEB-INF/modules/addressing-
SNAPSHOT.mar; nested exception is:
        org.apache.axis2.deployment.DeploymentException: module.xml not
found  for the module :
zip:C:/bea/8/sp4/user_projects/domains/2/myserver/upload/axis2.war!/WEB-INF/modules/addressing-
SNAPSHOT.mar: loading repository from classpath
Sep 11, 2006 12:57:42 PM
org.apache.axis2.deployment.DeploymentEngineloadFromClassPath
INFO: Module validation failed  Trying to engage a module which is not
available : addressing
<Sep 11, 2006 12:57:42 PM EDT> <Error> <HTTP> <BEA-101216> <Servlet:
"AxisServlet" failed to preload on startup in Web application: "axis2".
javax.servlet.ServletException: Trying to engage a module which is not
available : addressing; nested exception is:
        org.apache.axis2.AxisFault: Trying to engage a module which is not
available : addressing
        at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java
:294)
        at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(
ServletStubImpl.java:1028)
        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:904)
        at weblogic.servlet.internal.ServletStubImpl.createInstances(
ServletStubImpl.java:883)
        at weblogic.servlet.internal.ServletStubImpl.prepareServlet(
ServletStubImpl.java:822)
        at weblogic.servlet.internal.WebAppServletContext.preloadServlet(
WebAppServletContext.java:3333)
        at weblogic.servlet.internal.WebAppServletContext.preloadServlets(
WebAppServletContext.java:3278)
        at weblogic.servlet.internal.WebAppServletContext.preloadResources(
WebAppServletContext.java:3259)
        at weblogic.servlet.internal.WebAppServletContext.setStarted(
WebAppServletContext.java:5949)
        at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java
:862)
        at weblogic.j2ee.J2EEApplicationContainer.start(
J2EEApplicationContainer.java:2127)
        at weblogic.j2ee.J2EEApplicationContainer.activate(
J2EEApplicationContainer.java:2168)
        at
weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer
(SlaveDeployer.java:2503)
        at
weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(
SlaveDeployer.java:2421)
        at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(
SlaveDeployer.java:2138)
        at
weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(
SlaveDeployer.java:2237)
        at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(
SlaveDeployer.java:2132)
        at
weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(
SlaveDeployer.java:2384)
        at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask
(SlaveDeployer.java:866)
        at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(
SlaveDeployer.java:594)
        at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(
SlaveDeployer.java:508)
        at weblogic.drs.internal.SlaveCallbackHandler$1.execute(
SlaveCallbackHandler.java:25)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
Caused by: javax.servlet.ServletException: Trying to engage a module which
is not available : addressing; nested exception is:
        org.apache.axis2.AxisFault: Trying to engage a module which is not
available : addressing
        at org.apache.axis2.transport.http.AxisServlet.initConfigContext(
AxisServlet.java:337)
        at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java
:277)

Re: [Axis2] unable to deploy a service

Posted by Nathaniel Auvil <na...@gmail.com>.
i found the issue.  You have to deploy the WAR exploded or it will not
work.  WebLogic Server does not explode War's when you deploy them.


On 9/11/06, Nathaniel Auvil <na...@gmail.com> wrote:
>
> i am unable to deploy my service.  I keep getting an error from Axis about
> the "addressing" module.  Any ideas?
>
>
> Here is the Exception:
>
> Sep 11, 2006 12:57:42 PM
> org.apache.axis2.deployment.WarBasedAxisConfigurator getAxisConfiguration
> SEVERE: org.apache.axis2.deployment.DeploymentException: module.xml not
> found  for the module :
> zip:C:/bea/8/sp4/user_projects/domains/2/myserver/upload/axis2.war!/WEB-INF/modules/addressing-
> SNAPSHOT.mar ; nested exception is:
>         org.apache.axis2.deployment.DeploymentException: module.xml not
> found  for the module :
> zip:C:/bea/8/sp4/user_projects/domains/2/myserver/upload/axis2.war!/WEB-INF/modules/addressing-
> SNAPSHOT.mar ; nested exception is:
>         org.apache.axis2.deployment.DeploymentException: module.xml not
> found  for the module :
> zip:C:/bea/8/sp4/user_projects/domains/2/myserver/upload/axis2.war!/WEB-INF/modules/addressing-
> SNAPSHOT.mar ; nested exception is:
>         org.apache.axis2.deployment.DeploymentException: module.xml not
> found  for the module :
> zip:C:/bea/8/sp4/user_projects/domains/2/myserver/upload/axis2.war!/WEB-INF/modules/addressing-
> SNAPSHOT.mar : loading repository from classpath
> Sep 11, 2006 12:57:42 PM org.apache.axis2.deployment.DeploymentEngineloadFromClassPath
> INFO: Module validation failed  Trying to engage a module which is not
> available : addressing
> <Sep 11, 2006 12:57:42 PM EDT> <Error> <HTTP> <BEA-101216> <Servlet:
> "AxisServlet" failed to preload on startup in Web application: "axis2".
> javax.servlet.ServletException : Trying to engage a module which is not
> available : addressing; nested exception is:
>         org.apache.axis2.AxisFault: Trying to engage a module which is not
> available : addressing
>         at org.apache.axis2.transport.http.AxisServlet.init (
> AxisServlet.java:294)
>         at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run
> (ServletStubImpl.java:1028)
>         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:904)
>         at weblogic.servlet.internal.ServletStubImpl.createInstances (
> ServletStubImpl.java:883)
>         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(
> ServletStubImpl.java:822)
>         at weblogic.servlet.internal.WebAppServletContext.preloadServlet(
> WebAppServletContext.java :3333)
>         at weblogic.servlet.internal.WebAppServletContext.preloadServlets(
> WebAppServletContext.java:3278)
>         at weblogic.servlet.internal.WebAppServletContext.preloadResources
> (WebAppServletContext.java:3259)
>         at weblogic.servlet.internal.WebAppServletContext.setStarted(
> WebAppServletContext.java:5949)
>         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java
> :862)
>         at weblogic.j2ee.J2EEApplicationContainer.start (
> J2EEApplicationContainer.java:2127)
>         at weblogic.j2ee.J2EEApplicationContainer.activate(
> J2EEApplicationContainer.java:2168)
>         at
> weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(
> SlaveDeployer.java:2503)
>         at
> weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(
> SlaveDeployer.java:2421)
>         at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(
> SlaveDeployer.java :2138)
>         at
> weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(
> SlaveDeployer.java:2237)
>         at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(
> SlaveDeployer.java:2132)
>         at
> weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(
> SlaveDeployer.java:2384)
>         at
> weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(
> SlaveDeployer.java:866)
>         at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta (
> SlaveDeployer.java:594)
>         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(
> SlaveDeployer.java:508)
>         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(
> SlaveCallbackHandler.java:25)
>         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
>         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
> Caused by: javax.servlet.ServletException: Trying to engage a module which
> is not available : addressing; nested exception is:
>         org.apache.axis2.AxisFault: Trying to engage a module which is not
> available : addressing
>         at org.apache.axis2.transport.http.AxisServlet.initConfigContext(
> AxisServlet.java:337)
>         at org.apache.axis2.transport.http.AxisServlet.init (
> AxisServlet.java:277)
>