axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sagara Gunathunga (JIRA)" <>
Subject [jira] [Commented] (AXIS2-5079) 1.5.5 (and probably 1.6) does not alow exploaded services to be dropped in services directory
Date Sat, 25 Jun 2011 04:38:48 GMT


Sagara Gunathunga  commented on AXIS2-5079:

What I usually do is drop axis2.war file into webapps directory and once it deployed stop
the server and delete axis2.war file so that exploded Axis2 directory remains in the wapapps
directory BTW I don't see any issue with your approach if you extract axis2.war correctly.

I haven't test this for 1.5.5 but just tested for 1.6.0 version on both Linux and windows
also for Tomcat 6 and 7 but didn't encounter any such issue. please see my log entries below.
Can you try with Axis2 1.6.0 version , my guess is this is something related to your configuration.

[INFO] Deploying Web service: StockQuoteService - file:/opt/dev/servers/apache-tomcat-7.0.16/webapps/axis2/WEB-INF/services/StockQuoteService/
[INFO] Deploying Web service: StockQuoteService - file:/opt/dev/servers/apache-tomcat-6.0.32/webapps/axis2/WEB-INF/services/StockQuoteService/

[INFO] Deploying Web service: StockQuoteService - file:/C:/dev/servers/apache-tomcat-6.0.32/webapps/axis2/WEB-INF/services/StockQuoteService/
[INFO] Deploying Web service: StockQuoteService - file:/C:/dev/servers/apache-tomcat-7.0.16/webapps/axis2/WEB-INF/services/StockQuoteService/

> 1.5.5 (and probably 1.6) does not alow exploaded services to be dropped in services directory
> ---------------------------------------------------------------------------------------------
>                 Key: AXIS2-5079
>                 URL:
>             Project: Axis2
>          Issue Type: Bug
>          Components: deployment
>    Affects Versions: 1.5.5, 1.6.0
>         Environment: windows tomcat 7
>            Reporter: nadir amra
>            Priority: Critical
> Dropped 1.5.5 WAR file in tomcat webapp directory.
> Everything looks good. Then I deleted the version aar file shipped, and it gets undeployed.
 I ended the tomcat server and restarted the server.  Then I exploaded the version aar file,
and then moved the directory to the axis2 services directory.  I click on the list webservices
link and I get:
> Available services
> Faulty Services
> C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\axis2-1.5.5\WEB-INF\services\version
> In the tomcat stdout log file, I see the following:
> INFO] Deploying module: jaxws-1.5.5 - file:/C:/Program Files/Apache Software Foundation/Tomcat
> [INFO] Deploying module: metadataExchange-1.5.5 - file:/C:/Program Files/Apache Software
Foundation/Tomcat 7.0/webapps/axis2-1.5.5/WEB-INF/modules/mex-1.5.5.mar
> [INFO] Deploying module: mtompolicy-1.5.5 - file:/C:/Program Files/Apache Software Foundation/Tomcat
> [INFO] Deploying module: ping-1.5.5 - file:/C:/Program Files/Apache Software Foundation/Tomcat
> [INFO] Deploying module: script-1.5.5 - file:/C:/Program Files/Apache Software Foundation/Tomcat
> [INFO] Deploying module: soapmonitor-1.5.5 - file:/C:/Program Files/Apache Software Foundation/Tomcat
> [INFO] The version service, which is not valid, caused java.lang.ClassCastException:
org.apache.axis2.classloader.JarFileClassLoader incompatible with org.apache.axis2.deployment.DeploymentClassLoader
> 	at org.apache.axis2.deployment.ServiceBuilder.populateService(
> 	at org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(
> 	at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(
> 	at org.apache.axis2.deployment.ServiceDeployer.deploy(
> 	at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(
> 	at org.apache.axis2.deployment.DeploymentEngine.doDeploy(
> 	at org.apache.axis2.deployment.repository.util.WSInfoList.update(
> 	at org.apache.axis2.deployment.RepositoryListener.update(
> 	at org.apache.axis2.deployment.RepositoryListener.checkServices(
> 	at org.apache.axis2.deployment.RepositoryListener.startListener(
> 	at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(
> 	at
> 	at org.apache.axis2.deployment.scheduler.Scheduler$
> 	at java.util.Timer$
> [INFO] org.apache.axis2.deployment.DeploymentException: org.apache.axis2.classloader.JarFileClassLoader
incompatible with org.apache.axis2.deployment.DeploymentClassLoader
> This works using Axis 1.5.4.  The only major differences between the 1.5.4 source and
the 1.5.5 source is the addition of code relating to:
>     <parameter name="EnableChildFirstClassLoading">false</parameter>
> which seems to affect lots of the files relating to deployment.

This message is automatically generated by JIRA.
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message