axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alaeddine HAOUAS" <a.hao...@nouvellemarque.com>
Subject [axis2] axis2-1.6.2 not valid on WebSphere (AddressingInHandler incompatible with Handler) ?
Date Thu, 23 Aug 2012 09:11:48 GMT
Hi,

I am trying to deploy an Axis2 version 1.6.2 web service on WebSphere 7
(same behavior on WebSphere 6).

Because of conflicts with WebSphere's JAX-WS runtime, I already adapted my
web application and server :
- set EnableChildFirstClassLoading param to true in axis2.xml,
- add the module adressing.jar to lib directory of the war,
- change the WebSphere application + module Class Loader parameter in
WebSphere Console Administration, "Classes loaded with local class loader
first (parent last)” option.

But I am still having errors :

2012-08-22 18:07:08,148 ERROR ModuleDeployer:113 - The axis2-1.6.2.jar
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:96)
at
org.apache.axis2.deployment.DeploymentEngine.addNewModule(DeploymentEngine.j
ava:549)
at org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:80)
at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(Deploy
mentFileData.java:136)
at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:
813)
at
org.apache.axis2.deployment.RepositoryListener.loadClassPathModules(Reposito
ryListener.java:222)
at
org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListener.java
:71)
at
org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.jav
a:64)
at
org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine
.java:158)
at
org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(Wa
rBasedAxisConfigurator.java:228)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationCont
ext(ConfigurationContextFactory.java:64)
at
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.ja
va:584)
at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:454)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:358)
at
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.init(ServletWrapperImpl.j
ava:169)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.jav
a:1809)
at
com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrap
per(WebExtensionProcessor.java:98)
at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:1038)
at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:959)
at
com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:6
38)
at
com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinally(WebApp.jav
a:436)
at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:304)
at
com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.j
ava:100)
at
com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.ja
va:166)
at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:732)
at
com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java
:617)
at
com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.
java:376)
at
com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.ja
va:668)
at
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.jav
a:1127)
at
com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart
(DeployedApplicationImpl.java:1319)
at
com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.jav
a:610)
at
com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicati
onImpl.java:944)
at
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(Application
MgrImpl.java:740)
at
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.jav
a:2051)
at
com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgr
Impl.java:385)
at
com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.j
ava:123)
at
com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgr
Impl.java:328)
at
com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$300(CompositionUn
itMgrImpl.java:113)
at
com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(Compos
itionUnitMgrImpl.java:895)
at
com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsCom
ponentImpl.java:349)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1604)

I tested my web service on a simple Tomcat 5 and it is working fine.

Do you have please any idea for resolving this ?

 

 

 

Alaeddine HAOUAS
+33(4) 95 04 32 49
 <mailto:j.thoumie@nouvellemarque.com> a.haouas@nouvellemarque.com

Nouvelle MARQUE
13 rue Sénac de Meilhan
13001 MARSEILLE
 <http://www.nouvelle-marque.com/> http://www.nouvelle-marque.com

 

 


Mime
View raw message