Deploying axis2 in tomcat 6

2009-02-06 Thread rabelenda

Hi I'm getting the following exception when trying to deploy a war file that
contains an application with axis2 web services, it contains all the
libraries needed and the axis2.war file inside. I have tested in my pc with
a downloaded tomcat 6 and it works smoothly, but when I try to deploy it in
an other tomcat 6 server, it gives  the following exception, any ideas of
what can be happening?

[WARN] Exception extracting jars into temporary directory :
java.io.FileNotFoundException : switching to alternate class loading
mechanism
[ERROR] java.lang.RuntimeException: java.io.FileNotFoundException: loading
repository from classpath
java.lang.RuntimeException: java.io.FileNotFoundException
at org.apache.axis2.deployment.util.Utils.findLibJars(Utils.java:870)
at 
org.apache.axis2.deployment.util.Utils.createClassLoader(Utils.java:946)
at
org.apache.axis2.deployment.DeploymentEngine.loadRepositoryFromURL(DeploymentEngine.java:234)
at
org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(WarBasedAxisConfigurator.java:238)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:68)
at
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:516)
at 
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:436)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4364)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:829)
at 
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:718)
at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1215)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.FileNotFoundException
at
org.apache.naming.resources.DirContextURLConnection.getInputStream(DirContextURLConnection.java:298)
at java.net.URL.openStream(URL.java:1009)
at org.apache.axis2.deployment.util.Utils.findLibJars(Utils.java:852)
... 24 more
[INFO] Module validation failed: The system is attempting to engage a module
that is not available: addressing
[INFO] org.apache.axis2.deployment.DeploymentException: The system is
attempting to engage a module that is not available: addressing


-- 
View this message in context: 
http://www.nabble.com/Deploying-axis2-in-tomcat-6-tp21873295p21873295.html
Sent from the Axis - User mailing list archive at Nabble.com.



Re: Deploying axis2 in tomcat 6

2009-02-06 Thread robert lazarski
On Fri, Feb 6, 2009 at 11:20 AM, rabelenda rabele...@gmail.com wrote:

 [ERROR] java.lang.RuntimeException: java.io.FileNotFoundException: loading
 repository from classpath
 java.lang.RuntimeException: java.io.FileNotFoundException
snip
 [INFO] Module validation failed: The system is attempting to engage a module
 that is not available: addressing
 [INFO] org.apache.axis2.deployment.DeploymentException: The system is
 attempting to engage a module that is not available: addressing


You seem to be missing the WEB-INF/modules dir and the mandatory
addressing.mar file.

- R


Re: Deploying axis2 in tomcat 6

2009-02-06 Thread rabelenda



iksrazal wrote:
 
 On Fri, Feb 6, 2009 at 11:20 AM, rabelenda rabele...@gmail.com wrote:

 [ERROR] java.lang.RuntimeException: java.io.FileNotFoundException:
 loading
 repository from classpath
 java.lang.RuntimeException: java.io.FileNotFoundException
 snip
 [INFO] Module validation failed: The system is attempting to engage a
 module
 that is not available: addressing
 [INFO] org.apache.axis2.deployment.DeploymentException: The system is
 attempting to engage a module that is not available: addressing

 
 You seem to be missing the WEB-INF/modules dir and the mandatory
 addressing.mar file.
 
 - R
 
 

Nop, the module addressing-1.41.mar is there, and also inside the axis2.war
file.

-- 
View this message in context: 
http://www.nabble.com/Deploying-axis2-in-tomcat-6-tp21873295p21873482.html
Sent from the Axis - User mailing list archive at Nabble.com.



Re: Deploying axis2 in tomcat 6

2009-02-06 Thread rabelenda



iksrazal wrote:
 
 On Fri, Feb 6, 2009 at 11:20 AM, rabelenda rabele...@gmail.com wrote:

 [ERROR] java.lang.RuntimeException: java.io.FileNotFoundException:
 loading
 repository from classpath
 java.lang.RuntimeException: java.io.FileNotFoundException
 snip
 [INFO] Module validation failed: The system is attempting to engage a
 module
 that is not available: addressing
 [INFO] org.apache.axis2.deployment.DeploymentException: The system is
 attempting to engage a module that is not available: addressing

 
 You seem to be missing the WEB-INF/modules dir and the mandatory
 addressing.mar file.
 
 - R
 
 

Nop, the module addressing-1.41.mar is there, and also inside the axis2.war
file.

-- 
View this message in context: 
http://www.nabble.com/Deploying-axis2-in-tomcat-6-tp21873295p21873571.html
Sent from the Axis - User mailing list archive at Nabble.com.



Re: Deploying axis2 in tomcat 6

2009-02-06 Thread rabelenda



rabelenda wrote:
 
 
 
 iksrazal wrote:
 
 On Fri, Feb 6, 2009 at 11:20 AM, rabelenda rabele...@gmail.com wrote:

 [ERROR] java.lang.RuntimeException: java.io.FileNotFoundException:
 loading
 repository from classpath
 java.lang.RuntimeException: java.io.FileNotFoundException
 snip
 [INFO] Module validation failed: The system is attempting to engage a
 module
 that is not available: addressing
 [INFO] org.apache.axis2.deployment.DeploymentException: The system is
 attempting to engage a module that is not available: addressing

 
 You seem to be missing the WEB-INF/modules dir and the mandatory
 addressing.mar file.
 
 - R
 
 
 
 Nop, the module addressing-1.41.mar is there, and also inside the
 axis2.war file.
 
 

The problem rises when I set the server to don't unpack the .wars files.

-- 
View this message in context: 
http://www.nabble.com/Deploying-axis2-in-tomcat-6-tp21873295p21873584.html
Sent from the Axis - User mailing list archive at Nabble.com.