The following is the contents of my WAR file (it's called am-axis.war). I would add my own .jar files in the WEB-INF/lib directory.
0 Thu May 16 16:20:04 EDT 2002 META-INF/ 48 Thu May 16 16:20:04 EDT 2002 META-INF/MANIFEST.MF 0 Thu May 16 16:20:04 EDT 2002 WEB-INF/ 0 Thu May 16 16:13:20 EDT 2002 WEB-INF/lib/ 800632 Thu May 16 16:13:20 EDT 2002 WEB-INF/lib/axis.jar 55754 Thu May 16 16:13:20 EDT 2002 WEB-INF/lib/commons-logging.jar 44099 Thu May 16 16:13:20 EDT 2002 WEB-INF/lib/jaxrpc.jar 78140 Thu May 16 16:13:20 EDT 2002 WEB-INF/lib/log4j-core.jar 130773 Thu May 16 16:13:20 EDT 2002 WEB-INF/lib/tt-bytecode.jar 143069 Thu May 16 16:13:20 EDT 2002 WEB-INF/lib/wsdl4j.jar 1276 Thu May 16 16:06:54 EDT 2002 WEB-INF/web.xml Everything in this .war file is the contents of the webapps/axis directory. I don't get any errors when I deploy this file - it seems to work fine. I do notice that it gets deployed under the name of the file "am-axis". Maybe I need to just call it "axis.war". Or maybe I need to place it in a .ear file and supply an application.xml file? If possible, I'd really like to be able to deploy my services in a separate .war or .ear file. Anyone out there know how to do that? -Mark thomas.cherel@ascentialso ftware.com To: [EMAIL PROTECTED] cc: 05/17/2002 03:03 PM Subject: RE: Using Axis Beta2 in JBoss/Tomcat Please respond to axis-user Even before trying to get your service working, you need to make sure that the Axis servlet is correctly deployed. Something is wrong in the way you deploy it in JBoss/Tomcat since you can not even access it. Double check the structure of your war file and the content of your web.xml. For sure, with axis beta2 and the JBoss2.4.4/Tomcat4.0.1 I am able to deploy axis as a war and it is working fine. Thomas -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 5:31 PM To: [EMAIL PROTECTED] Subject: RE: Using Axis Beta2 in JBoss/Tomcat When I try to go to that URL, I get HTTP status 500 messages that say "no context configured to process this request". I placed my service ".jar" file into the WEB-INF/lib directory inside the axis.war file (which has pretty much everything from webapps/axis in it), and deployed this in JBoss. When I run the AdminClient, I get the same error as I did above. Any other ideas? Thanks. -Mark thomas.cherel@ascentialso ftware.com To: [EMAIL PROTECTED] cc: 05/16/2002 04:43 PM Subject: RE: Using Axis Beta2 in JBoss/Tomcat Please respond to axis-user If you use the JBoss_Tomcat bundle, when starting JBoss, tomcat is also started. Dropping axis.war in the JBoss deploy directory will actually deploy Axis in the bundled Tomcat servlet engine and the Axis servlet is accessible like in a standalone Tomcat deployment (try the URL http://localhost:8080/axis/services, you should get something). The AdminClient is talking to the Axis servlet, so no problem on this side and you submit your deploy.wsdd the same way as before: % java org.apache.axis.client.AdminClient deploy.wsdd -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 4:28 PM To: [EMAIL PROTECTED] Subject: RE: Using Axis Beta2 in JBoss/Tomcat When packaging my service inside of the Axis war file, it gets automatically deployed when it gets copied into the JBoss deploy directory. There doesn't seem to be a way to use the AdminClient or the wsdd file once this happens. How do you connect to your service when you package things this way? -Mark thomas.cherel@ascentialso ftware.com To: [EMAIL PROTECTED] cc: 05/16/2002 01:16 PM Subject: RE: Using Axis Beta2 in JBoss/Tomcat Please respond to axis-user They way I have been doing so far is the following: 1) The code of my services is included in the Axis war file. 2) Nothing specific in the wsdd file or the way the AdminClient is used. Thomas -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 1:00 PM To: [EMAIL PROTECTED] Subject: Using Axis Beta2 in JBoss/Tomcat I have a few questions about using Axis in the JBoss environment. When using Axis with Tomcat alone, you put all the Axis stuff in %CATALINA_HOME%/webapps/axis. This doesn't work when running JBoss with Tomcat. I read in another posting that you need to create a WAR file with all the Axis stuff and drop it into the JBoss "deploy" directory. This works fine. The question is: now where do you place Axis services that you want to deploy? Do they still go in %CATALINA_HOME%/webapps/axis directory? Will there be anything different that needs to be done when running the Axis AdminClient program to deploy the service? Or anything different in the WSDD deployment file? Thanks. -Mark