axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: [Axis2] - module.xml not found on Axis2 / Weblogic 8.1
Date Sun, 14 Jan 2007 22:11:12 GMT
the stack trace I sent you is pretty useless and really doesn't show what 
is going wrong.

To summarise, axis2.war will not deploy correctly on Weblogic 8.1 SP3 when 
being deployed as a WAR file. Deploying as an exploded WAR file or by 
using the Weblogic staging mechanism (which explodes the WAR file) allows 
deployment to succeed. Deploying directly from the WAR file fails.

Due to some issues with the inheritance structure of DeploymentException, 
the stack trace is being lost. Tracing through the code the failure stack 
trace would look like this:

org.apache.axis2.deployment.DeploymentEngine.populateModule (line 208)
org.apache.axis2.deployment.DeploymentEngine.loadRepositoryFromURL (line 
(line 208)
org.apache.axis2.transport.http.AxisServlet.init (line 333)

Ultimately there is a problem with the classloader returning null from the 
classLoadere.getResourceAsStream("META-INF/module.xml"); and
in DeploymentEngine.populateModule. 

Not sure where to take it from here, I'm not a classloader expert.


PS. The stack trace is being lost due to multiple catch/rethrows of 
DeploymentException. DeploymentException extends AxisFault extends 
RemoteException extends IOException. Catch blocks for IOException exist in 
DeploymentEngine.populateModule and 
WarBasedAxisConfiguration.getAxisConfiguration is catching Exception.

View raw message