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 Ines Dannehl <In...@loyaltypartner.com> on 2007/02/28 10:25:20 UTC

Axis2: Problems while deploying the axis2.war within an ear-file to JBoss

Hi all,

 

I try to deploy our own webservice created with Axis2 to JBoss 4.03SP1.
Therefore I created an own axis2.war containing the new webservice
TestWebserviceService.aar in the services directory of the axis2.war.
The webservice uses an EJB which is contained in a jar-file.

The webservice works fine when I copy both the jar-file and the
axis2.war file to the JBoss deploy directory.

Now, I created an ear-file MyApp.ear containing the EJB jar-file and the
new axis2.war. When I deploy this ear-file to the JBoss all things seem
to be okay. JBoss tells me that the new webservice is active. 

But I cannot access this webservice. I tried it with

 

http://127.0.0.1:8080/axis2/services/TestWebserviceService

 

from the client what works in the first case (both files deployed).

 

A look at the JBoss tmp/deploy directory shows me that the webservice is
situated in a tmp...MyApp.ear-contents subdirectory now. It was directly
in the tmp/deploy directory before. I think that is the reason of having
no access.

 

Is there any idea how to modify the url to get a connection to the
webservice? I already tried

 

http://127.0.0.1:8080/MyApp/axis2/services/TestWebserviceService

 

but without success.

 

Please help!

 

Thanks

Ines