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 Bernhard Voigt <be...@gmail.com> on 2008/11/07 13:24:36 UTC

Re: deploy axis2 including services in jboss

Dear all!

I'm trying to deploy axis2 into jboss. This works well with the
standard axis2.war file when putting it to
jboss/server/default/deploy. It gets unpacked and deployed to
jboss/server/default/tmp/*axis2*/ One can now add services by copying
aar files in to tmp/*axis2*/WEB-INFO/services. Since this temporary
folder is deleted upon jboss shutdown, I'd like to bundle the
axis2.war with the services.

Unfortunately just packaging the content including the added services
of the tmp/*axis2*/ folder does not work for jboss, id get a
deployment exception for the modified axis2.war. In contrast to
tomcat, there I can add services to the WEB-INF/services folder and
repack the axis2.war file and after deployment of the modified archive
the added services are installed.

Somehow,  I reckon this must work, since the version service is in
anycase bundled to the axis2.war archive and there's no problem with
jboss as a servelet container.

Thanks for help! Bernhard

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


Re: deploy axis2 including services in jboss

Posted by Bernhard Voigt <be...@gmail.com>.
Thanks Sagara, that works! Bernhard

On Fri, Nov 7, 2008 at 2:00 PM, Sagara Gunathunga
<sa...@gmail.com> wrote:
> Hi Bernhard,
> There is a simple way to do this , that's worked fine with me . Extract the
> content of axis2.war file in to a folder within the deploy folder of Jboss
> (e.g. jboss/server/default/deploy/axis2) and then rename that folder as
> axis2.war. Then you can add your services there , with this approach I don't
> think you want to packaging it again . Hope this help you .
>
> Thanks ,

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


Re: deploy axis2 including services in jboss

Posted by Sagara Gunathunga <sa...@gmail.com>.
Hi Bernhard,
There is a simple way to do this , that's worked fine with me . Extract the
content of axis2.war file in to a folder within the deploy folder of Jboss
(e.g. jboss/server/default/deploy/*axis2)* and then rename that folder
as *axis2.war.
*Then* *you can add your services there , with this approach I don't think
you want to packaging it again . Hope this help you .

Thanks ,

On Fri, Nov 7, 2008 at 5:54 PM, Bernhard Voigt <be...@gmail.com>wrote:

> Dear all!
>
> I'm trying to deploy axis2 into jboss. This works well with the
> standard axis2.war file when putting it to
> jboss/server/default/deploy. It gets unpacked and deployed to
> jboss/server/default/tmp/*axis2*/ One can now add services by copying
> aar files in to tmp/*axis2*/WEB-INFO/services. Since this temporary
> folder is deleted upon jboss shutdown, I'd like to bundle the
> axis2.war with the services.
>
> Unfortunately just packaging the content including the added services
> of the tmp/*axis2*/ folder does not work for jboss, id get a
> deployment exception for the modified axis2.war. In contrast to
> tomcat, there I can add services to the WEB-INF/services folder and
> repack the axis2.war file and after deployment of the modified archive
> the added services are installed.
>
> Somehow,  I reckon this must work, since the version service is in
> anycase bundled to the axis2.war archive and there's no problem with
> jboss as a servelet container.
>
> Thanks for help! Bernhard
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Sagara Gunathunga

Blog - ssagara.blogspot.com
Web - http://sagaras.awardspace.com/