1 Reply Latest reply on Jun 10, 2005 9:21 AM by Phillip McConchie

    Porting Axis/Tomcat Web Services Across to JBoss 4

    Phillip McConchie Newbie

      I know how to create a web application (say a simple servlet and jsp), war it and deploy it on JBoss 4??and I know how to create a web service and deploy it on JBoss by creating the following JBoss specific files:

      jaxrpc-mapping.xml
      jboss-web.xml
      web.xml
      webservices.xml


      ...war?ing them and deploying the war.

      But what I really want to do it take a web service developed on Tomcat/Axis (so I don?t have the above xml files) and deploy it on JBoss 4.0.2.

      What I am trying to say is I have web services that only consist of their Java classes and a WSDD file for each and I want to easily port these across to JBoss.

      I thought what with JBoss running Tomcat now there must be some way I can package these web services up and get them to deploy on the JBoss embedded Tomcat.

      Does anyone have any ideas?


        • 1. Re: Porting Axis/Tomcat Web Services Across to JBoss 4
          Phillip McConchie Newbie

          I managed to do it. It really is simple and although I know a fair bit about web services, I guess the fact I had to ask a question with such a simple answer highlights how little I know about JBoss!!!

          Anyway, for those of you who are interested:

          Take your axis directory from Tomcat (along with all its subdirectories including all of your deployed and registered services) and copy it to the deploy directory of the JBoss server you are running but rename it to axis.war in the process.

          That?s it!
          You can access your services at: http://localhost:8080/axis/

          PS: The axis directory in Tomcat is obviously the one under: TOMCAT_HOME\webapps