axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen.Dav...@ipaustralia.gov.au
Subject Re: [Axis2] - module.xml not found on Axis2 / Weblogic 8.1
Date Sun, 14 Jan 2007 22:11:12 GMT
Deepal,
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 
185)
org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration 
(line 208)
org.apache.axis2.transport.http.AxisServlet.init (line 333)

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

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

Regards,
Stephen

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 
DeploymentEngine.loadRepositoryFromURL. 
WarBasedAxisConfiguration.getAxisConfiguration is catching Exception.


Mime
View raw message