Hi Martin,

 
if the axis2 directory does not exist in the webapps folder, this means that 
the deployment did not work for some reason.

 
Note that the automatic deployment only works if "autoDeploy is set to "true", 
see section "Deploying on a running server" here:

 
http://tomcat.apache.org/tomcat-7.0-doc/deployer-howto.html#Deployment_on_Tomcat_startup

 
I suppose that you already tried restarting tomcat. Also consider that if 
both"autoDeploy and "deployOnStartup" are set to "false" the deployment would 
not happen.

 
You can also try to deploy the web application using the tomcat manager, did 
you try that?

 
If you tried all this and the deployment does still not work, then you have to 
look at the log files.

 
What does logs/catalina.out say?

 
You should find a section similar to this:

 
INFO: Deploying web application archive axis2.war
[INFO] Clustering has been disabled
[INFO] Deploying module: mtompolicy-1.5.1 - 
file:/usr/local/java/apache-tomcat-6.0.26/webapps/axis2/WEB-INF/modules/mtompolicy-1.5.1.mar
[INFO] Deploying module: metadataExchange-1.5.1 - 
file:/usr/local/java/apache-tomcat-6.0.26/webapps/axis2/WEB-INF/modules/mex-1.5.1.mar
[INFO] Deploying module: ping-1.5.1 - 
file:/usr/local/java/apache-tomcat-6.0.26/webapps/axis2/WEB-INF/modules/ping-1.5.1.mar
[INFO] Deploying module: script-1.5.1 - 
file:/usr/local/java/apache-tomcat-6.0.26/webapps/axis2/WEB-INF/modules/axis2-scripting-1.5.1.mar
[INFO] Deploying module: jaxws-1.5.1 - 
file:/usr/local/java/apache-tomcat-6.0.26/webapps/axis2/WEB-INF/modules/axis2-jaxws-mar-1.5.1.mar
[INFO] Deploying module: soapmonitor-1.5.1 - 
file:/usr/local/java/apache-tomcat-6.0.26/webapps/axis2/WEB-INF/modules/soapmonitor-1.5.1.mar
[INFO] Deploying module: addressing-1.5.1 - 
file:/usr/local/java/apache-tomcat-6.0.26/webapps/axis2/WEB-INF/modules/addressing-1.5.1.mar
[INFO] Deploying module: metadataExchange-1.5.1-impl - 
file:/usr/local/java/apache-tomcat-6.0.26/webapps/axis2/WEB-INF/lib/mex-1.5.1-impl.jar

 
Regards,

 
Sven

-----Original message-----
To:java-user@axis.apache.org; 
From:MH <martinleeharri...@hotmail.co.uk>
Sent:Tue 10-01-2012 10:06
Subject:Re: Axis 2 install
 
Hi Sven
 
  
The .war is deployed in the webapps folder. There are four other folders there 
including ROOT. An Axis-2 folder is not evident.
 
  
Kind regards
 
  
Martin  
 
  
From: Schlarb Sven
 
Sent: Tuesday, January 10, 2012 8:41 AM
 
To: java-user@axis.apache.org
 
Subject: RE: Axis 2 install
 
  

Hi,

 

did you check if the axis.war has been deployed in the webapps folder?

 

The folder apache-tomcat-${version}/webapps/axis2/ should exist.

 

Regards,

 

Sven

 -----Original message-----
To: java-user@axis.apache.org; 
From: MH <martinleeharri...@hotmail.co.uk>
Sent: Mon 09-01-2012 20:01
Subject: Axis 2 install
 
Hi
 
  
I am a new user. I have installed apache Tomcat as a servlet container for Axis 
2. My install of Axis 2 is, however, not responding I have downloaded a 
standard binary distribution with the .war file. I have also set up the 
environment variable AXIS2_HOME. When I start Tomcat and invoke the  
http://<host :port>/axis2 I see 404 error with message informing me that apache 
axis is not available. The war file is in the Tomcat folder. However I checked 
to see if I should build a new .war file using ant create.war in the 
..\module\webapp\scripts folder where the build.xml file is located. The build 
failed.  As a new axis implementer I would like to know if anyone has an idea 
what may be wrong here at this stage? 
 
  
Kind regards
 
  
Martin Harrison
 

 

Reply via email to