[jboss-user] [Beginners Corner] - Axis.war can't deploy in a .ear

peb_jboss do-not-reply at jboss.com
Fri Sep 29 06:03:25 EDT 2006


Hi,

I try to deploy the axis.war into my ear, the Jboss version is: 4.0.2.

The application.xml contains the following lines:


<web-uri>axis.war</web-uri>
<context-root>axis</context-root>


the structure of the EAR:

META-INF (with application.xml)
TestBean.jar
axis.war (with my webservice in WEB-INF/lib) the axis version is: 1.2.1
lib (with required libraries)

if jboss starts, the following exception is thrown:

17:27:52,770 ERROR [MainDeployer] Could not initialise deployment: file:/C:/jboss-4.0.2/server/all/deploy/myApplication.ear
org.jboss.deployment.DeploymentException: Failed to find module file: axis.war
	at org.jboss.deployment.EARDeployer.init(EARDeployer.java:244)
	at org.jboss.deployment.MainDeployer.init(MainDeployer.java:828)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:765)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
	at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
	at $Proxy8.deploy(Unknown Source)
	at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
	at 

I'm thankful for all tips

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975096#3975096

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975096



More information about the jboss-user mailing list