You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by ge...@ws.apache.org on 2004/12/28 17:06:12 UTC

[Apache Web Services Wiki] New: FrontPage/Axis/Install/JBoss

   Date: 2004-12-28T08:06:12
   Editor: RickKellogg
   Wiki: Apache Web Services Wiki
   Page: FrontPage/Axis/Install/JBoss
   URL: http://wiki.apache.org/ws/FrontPage/Axis/Install/JBoss

   no comment

New Page:

##language:en
'''Installation help for Axis on [http://www.jboss.org JBoss]'''

JBoss has its own integrated build with documentation under [http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-netGuide.shtml JBoss.NET].

Fun is to be had if you want to use a different version of Axis from the one JBoss gives you. The JBoss 'default' config doesnt enable the JBoss Axis jars, but the 'all' configuration does. If you have problems running an Axis service, try moving to the 'default' configuration and see if it goes away. 

Also, JBoss may use a different classloader order from that required by the Servlet 2.3 specification. You can configure both the Jetty and Catalina Webapp subsystems to use the 2.3 'webapp-first' classloader, not the 'parent-first' rule that JBoss prefers. Try this if you are having problems loading classes, or getting Class Cast exceptions.

Update: JBoss 4.0

JBoss 4.0 includes their version of axis in jboss-net.sar, even in the default edition. You will likely pick up bits of this version if you are not careful. In particular, the Java1.4 endorsed libraries 'feature' means you will get the endorsed versions of SAAJ and JAX-RPC from this distribution (which is endorsed), even when you flip on the web-app first feature mentioned above. This should not make a difference, as these are 'standards', after all. 

Check with HappyAxis very carefully to be sure that what you get is what you want, and that the jars you need come from your controlled versions. It is very hard to field bug reports from people who are unintentionally running a different version of Axis from that which they think they are.

For additional information see: [http://www.tusc.com.au/tutorial/html/chap9.html Tutorial for building J2EE Applications using JBOSS and ECLIPSE]