Have you deferred your classloading preference to axis2 jars in a boss-app.xml as shown here?
http://www.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration HTH, Robert > Hi Sumeda, > > i use Axis2 1.3 and Jboss 4.0.5.GA > > If i move only axis2-saaj nothing happens (it still use jboss impl) > If i move also axis2-kernel module fail deploy module and services: > > 18:54:54,035 ERROR [ModuleDeployer] The OpenSPCoopModule.mar module, > which is not valid, caused org.openspcoop.pdd.services.OpenSPCoopModule > org.apache.axis2.deployment.DeploymentException: > org.openspcoop.pdd.services.OpenSPCoopModule > at > org.apache.axis2.deployment.repository.util.ArchiveReader.readModuleArchive(ArchiveReader.java:493) > at org...... > > if i add libs containing module and services implementation it works > fine, but i won't move my libs. > > thx, > Lorenzo > > > On mer, 2007-09-26 at 22:06 +0530, sumedha rubasinghe wrote: > > Hi, > > The problem here is both Jboss & Axis have their own SAAJ Implementation. > > What is the version of Jboss & Axis2 your using? > > Do you intend to run other applications on this server as well? > > > > You do not need to move several jars.The classes you need are located > > inside axis2-saaj-<version>.jar. > > > > /sumedha > > > > Lorenzo wrote: > > > Hi all, > > > > > > i have this problem: > > > > > > i deployed mi axis2 app on jboss into a .ear > > > > > > myapp.ear > > > |- lib > > > |- mdb.jar > > > |- META-INF > > > |- manifest.mf > > > |- ejb-jar.xml > > > |- jboss.xml > > > |- web.war <-- axis2 > > > |- META-INF > > > |- manifest.mf > > > |- WEB-INF > > > |- modules > > > |- mymodule.mar > > > |- services > > > |- myservice.aar > > > |- conf > > > |- axis2.xml > > > |- web.xml > > > > > > > > > I tryed to get a org.apache.axis2.saaj.SOAPMessageImpl from a > > > MessageContext but i get a java.lang.ClassCastException because it use > > > MessageFactoryImpl of jboss instead of Axis2.saaj one so i get a > > > org.jboss.ws.soap.SOAPMessageImpl instead > > > org.apache.axis2.saaj.SOAPMessageImpl. > > > > > > I can avoid this moving some axis2 lib from myapp.ear/lib to > > > myapp.ear/web.war/WEB-INF/lib (seems that there jars have higher > > > priority then others..) but seems that now Axis2 don't get libs > > > specified into manifest and i need to use the same libs used by mdb.jar > > > > > > > > > I hope i was clear :) > > > > > > Any suggestion is appreciate, > > > thx Lorenzo > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]