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 Gougeon Damien <da...@sab2i.com> on 2010/12/22 15:43:41 UTC

Problem Axis2 with WebSphere7

Hello,

I have deployed an Axis2 platform on WAS7 (7.0.0.13).
When I am trying to see the Axis2 services list from the administration 
page, I am getting this error:

[ERROR] The addressing-1.5.1.mar module, which is not valid, caused 
org.apache.axis2.handlers.addressing.AddressingInHandler incompatible 
with org.apache.axis2.engine.Handler
java.lang.ClassCastException: 
org.apache.axis2.handlers.addressing.AddressingInHandler incompatible 
with org.apache.axis2.engine.Handler
         at 
org.apache.axis2.deployment.util.Utils.addFlowHandlers(Utils.java:93)
         at 
org.apache.axis2.deployment.DeploymentEngine.addNewModule(DeploymentEngine.java:531)
         at 
org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:74)
         at 
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
         at 
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:659)
         at 
org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.java:251)
         at 
org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListener.java:68)
         at 
org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:63)
         at 
org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:147)
         at 
org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(WarBasedAxisConfigurator.java:229)
         at 
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
         at 
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:525)
         at 
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:443)
         at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:358)
         at 
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.init(ServletWrapperImpl.java:169)
         at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1809)
         at 
com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtensionProcessor.java:98)
         at 
com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:1011)
         at 
com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:932)
         at 
com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:611)
         at 
com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinally(WebApp.java:429)
         at 
com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:304)
         at 
com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:100)
         at 
com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:166)
         at 
com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:731)
         at 
com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:616)
         at 
com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:376)
         at 
com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:668)
         at 
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1122)
         at 
com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1319)
         at 
com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:609)
         at 
com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:944)
         at 
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:725)
         at 
com.ibm.ws.runtime.component.ApplicationMgrImpl$1.run(ApplicationMgrImpl.java:1266)
         at 
com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:4520)
         at 
com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:4698)
         at 
com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)

I also tried with the Axis1.4 version, and I got the same error.

Any clue?
Thanks!
Damien

-----------------------------------------------------------

Un geste responsable aujourd hui pour preserver demain.
N imprimez ce message que si necessaire.



Please, consider the environment before printing this email.

------------------------------------------------------------


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


Re: Problem Axis2 with WebSphere7

Posted by Gougeon Damien <da...@sab2i.com>.
Hello,

The first link solved the problem, I had to copy all modules into 
axis2.war/WEB-INF/lib , and to rename *.mar into *.jar.
It works now!

Thanks,
Damien

Le 22/12/2010 21:39, William Walsh a écrit :
> Damien,  There was a thread recently on the axis2-dev list "Is there a proper documentation on deploying AXIS2 in IBM Web Sphere" and it mentions a couple of IBM TechDocs indicating you have to have the class loader policy set correctly and rename .mar files:
>> [1]
>> http://www-01.ibm.com/support/docview.wss?rs=0&q1=axis2&q2=technote&ui
>> d=swg21315686&loc=en_US&cs=utf-8&cc=us&lang=en
>> [2]
>> http://www-01.ibm.com/support/docview.wss?rs=0&q1=axis2&q2=technote&ui
>> d=swg21264548&loc=en_US&cs=utf-8&cc=us&lang=en
> I don't know if your symptoms below map to these steps or if you've already done them; so, you might indicate one way or another and results.
>
> www
>
> -----Original Message-----
> From: Gougeon Damien [mailto:damien-gougeon@sab2i.com]
> Sent: Wednesday, December 22, 2010 6:44 AM
> To: java-user@axis.apache.org
> Subject: Problem Axis2 with WebSphere7
>
> Hello,
>
> I have deployed an Axis2 platform on WAS7 (7.0.0.13).
> When I am trying to see the Axis2 services list from the administration
> page, I am getting this error:
>
> [ERROR] The addressing-1.5.1.mar module, which is not valid, caused
> org.apache.axis2.handlers.addressing.AddressingInHandler incompatible
> with org.apache.axis2.engine.Handler
> java.lang.ClassCastException:
> org.apache.axis2.handlers.addressing.AddressingInHandler incompatible
> with org.apache.axis2.engine.Handler
>           at
> org.apache.axis2.deployment.util.Utils.addFlowHandlers(Utils.java:93)
>           at
> org.apache.axis2.deployment.DeploymentEngine.addNewModule(DeploymentEngine.java:531)
>           at
> org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:74)
>           at
> org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
>           at
> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:659)
>           at
> org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.java:251)
>           at
> org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListener.java:68)
>           at
> org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:63)
>           at
> org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:147)
>           at
> org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(WarBasedAxisConfigurator.java:229)
>           at
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
>           at
> org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:525)
>           at
> org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:443)
>           at
> com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:358)
>           at
> com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.init(ServletWrapperImpl.java:169)
>           at
> com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1809)
>           at
> com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtensionProcessor.java:98)
>           at
> com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:1011)
>           at
> com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:932)
>           at
> com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:611)
>           at
> com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinally(WebApp.java:429)
>           at
> com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:304)
>           at
> com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:100)
>           at
> com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:166)
>           at
> com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:731)
>           at
> com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:616)
>           at
> com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:376)
>           at
> com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:668)
>           at
> com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1122)
>           at
> com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1319)
>           at
> com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:609)
>           at
> com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:944)
>           at
> com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:725)
>           at
> com.ibm.ws.runtime.component.ApplicationMgrImpl$1.run(ApplicationMgrImpl.java:1266)
>           at
> com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:4520)
>           at
> com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:4698)
>           at
> com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
>
> I also tried with the Axis1.4 version, and I got the same error.
>
> Any clue?
> Thanks!
> Damien
>
> -----------------------------------------------------------
>
> Un geste responsable aujourd hui pour preserver demain.
> N imprimez ce message que si necessaire.
>
>
>
> Please, consider the environment before printing this email.
>
> ------------------------------------------------------------
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>
>
> The information in this email is confidential and may be legally privileged.
> It is intended solely for the addressee. Access to this email by anyone else
> is unauthorized. If you are not the intended recipient, any disclosure,
> copying, distribution or any action taken or omitted to be taken in reliance
> on it, is prohibited and may be unlawful. If you are not the intended
> addressee please contact the sender and dispose of this e-mail. Thank you.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>
>


-----------------------------------------------------------

Un geste responsable aujourd hui pour preserver demain.
N imprimez ce message que si necessaire.



Please, consider the environment before printing this email.

------------------------------------------------------------


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


RE: Problem Axis2 with WebSphere7

Posted by William Walsh <WW...@curamsoftware.com>.
Damien,  There was a thread recently on the axis2-dev list "Is there a proper documentation on deploying AXIS2 in IBM Web Sphere" and it mentions a couple of IBM TechDocs indicating you have to have the class loader policy set correctly and rename .mar files:
> [1] 
> http://www-01.ibm.com/support/docview.wss?rs=0&q1=axis2&q2=technote&ui
> d=swg21315686&loc=en_US&cs=utf-8&cc=us&lang=en
> [2] 
> http://www-01.ibm.com/support/docview.wss?rs=0&q1=axis2&q2=technote&ui
> d=swg21264548&loc=en_US&cs=utf-8&cc=us&lang=en

I don't know if your symptoms below map to these steps or if you've already done them; so, you might indicate one way or another and results.

www

-----Original Message-----
From: Gougeon Damien [mailto:damien-gougeon@sab2i.com] 
Sent: Wednesday, December 22, 2010 6:44 AM
To: java-user@axis.apache.org
Subject: Problem Axis2 with WebSphere7

Hello,

I have deployed an Axis2 platform on WAS7 (7.0.0.13).
When I am trying to see the Axis2 services list from the administration 
page, I am getting this error:

[ERROR] The addressing-1.5.1.mar module, which is not valid, caused 
org.apache.axis2.handlers.addressing.AddressingInHandler incompatible 
with org.apache.axis2.engine.Handler
java.lang.ClassCastException: 
org.apache.axis2.handlers.addressing.AddressingInHandler incompatible 
with org.apache.axis2.engine.Handler
         at 
org.apache.axis2.deployment.util.Utils.addFlowHandlers(Utils.java:93)
         at 
org.apache.axis2.deployment.DeploymentEngine.addNewModule(DeploymentEngine.java:531)
         at 
org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:74)
         at 
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
         at 
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:659)
         at 
org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.java:251)
         at 
org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListener.java:68)
         at 
org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:63)
         at 
org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:147)
         at 
org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(WarBasedAxisConfigurator.java:229)
         at 
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
         at 
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:525)
         at 
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:443)
         at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:358)
         at 
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.init(ServletWrapperImpl.java:169)
         at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1809)
         at 
com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtensionProcessor.java:98)
         at 
com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:1011)
         at 
com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:932)
         at 
com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:611)
         at 
com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinally(WebApp.java:429)
         at 
com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:304)
         at 
com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:100)
         at 
com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:166)
         at 
com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:731)
         at 
com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:616)
         at 
com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:376)
         at 
com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:668)
         at 
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1122)
         at 
com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1319)
         at 
com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:609)
         at 
com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:944)
         at 
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:725)
         at 
com.ibm.ws.runtime.component.ApplicationMgrImpl$1.run(ApplicationMgrImpl.java:1266)
         at 
com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:4520)
         at 
com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:4698)
         at 
com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)

I also tried with the Axis1.4 version, and I got the same error.

Any clue?
Thanks!
Damien

-----------------------------------------------------------

Un geste responsable aujourd hui pour preserver demain.
N imprimez ce message que si necessaire.



Please, consider the environment before printing this email.

------------------------------------------------------------


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



The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. If you are not the intended
addressee please contact the sender and dispose of this e-mail. Thank you.


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