Mirco -in that case try what Deepal has suggested. See the link here (of course it is was WebSphere) but it explains what Deepal has recommended: http://www-01.ibm.com/support/docview.wss?rs=0&q1=axis2&q2=technote&uid=swg21315686&loc=en_US&cs=utf-8&cc=us&lang=en so you can get some clarity on what needs to be done - like changing .mar to .jar if required etc.
Sincerely, Yashwanth Technical Architect, EBIS -----Original Message----- From: Deepal Jayasinghe [mailto:dee...@opensource.lk] Sent: Tuesday, February 12, 2013 5:47 AM To: java-user@axis.apache.org Subject: Re: AW: axis2 Update from 1.4 to 1.6 copy the addressing.mar file into the classpath (where you have your axis2 libs). Deepal > Hi and thanks for all your answers and suggestions, > > I don't want to deploy an second .war file only for axis. I just want > to deploy my own .war file within the axis client code (as I did it > with ver. 1.41). > So I tried what Yashwanth says and copied the .mar file into my > /WEB-INF/modules dir (which doesn't exists until I created it). I also > checked the deployed (hot deployment by eclipse) directory on the > tomcat after the restart. It looks ok, the file is on its place. > But my application exits always with the following exception: > > org.apache.axis2.AxisFault: Unable to engage module : addressing > at org.apache.axis2.client.ServiceClient.engageModule > (ServieClient.java:363) ~[axis2-kernel-1.6.2.jar:1.6.2] > [...] > > Greetings, > Mirco > > Am 11.02.2013 20:04, schrieb Yashwanth Rajaram -X (yrajaram - ZENSAR > TECHNOLOGIES INC at Cisco): >> Hi, >> >> If you want to include addressing.mar then it has to be deployed as a >> regular "axis module". >> So you would have to copy addressing-1.4.1.mar to the folder >> ${your-app-location}/WebContent/WEB-INF/modules >> Then restart Tomcat - all should work fine. >> >> Sincerely, Yashwanth >> Technical Architect, EBIS >> >> -----Original Message----- >> From: somethingwic...@gmx.net [mailto:somethingwic...@gmx.net] >> Sent: Monday, February 11, 2013 6:45 AM >> To: java-user@axis.apache.org >> Subject: axis2 Update from 1.4 to 1.6 >> >> Hi all, >> >> I want to update my project from axis2 1.4.1 to 1.6.2. The project is >> build with maven 3 to a .war file to use with a TomCat 7. >> >> For axis2 1.41 I added the dependency <dependency> >> <groupId>org.apache.axis2</groupId> >> <artifactId>addressing</artifactId> >> <version>1.41</version> >> </dependency> >> to my maven .pom beacuse its a .jar. >> >> Now in axis2 1.6.2 addressing is a module (.mar) and I don't know who >> to handle this file. I tried to put it into the Tomcat lib dir, added >> it to the .pom but without success. >> >> How do I have to handle this addressing .mar file with maven or tomcat? >> >> Thanks, >> Mirco >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org >> For additional commands, e-mail: java-user-h...@axis.apache.org >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org > For additional commands, e-mail: java-user-h...@axis.apache.org > > -- Blog - http://blogs.deepal.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org For additional commands, e-mail: java-user-h...@axis.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org For additional commands, e-mail: java-user-h...@axis.apache.org