Details
-
Bug
-
Resolution: Done
-
Major
-
JBossAS-4.0.0 Final, JBossAS-4.0.1RC1
-
None
Description
The packaging of classes that are shared across services is causing problems when minimal configurations are attempted. One example is the following:
- Deployment metadata resides in the server module and is deployed in the server/xxx/lib/jboss.jar
- Webservices depend on the org.jboss.webservice.metadata package from the jboss.jar, and these classes have dependences on webservice related packages like javax.wsdl.. The javax.wsdl. classes happen to be in the deploy/jboss-ws4ee.sar/wsdl4j.jar
- Tomcat depends on org.jboss.metadata.WebMetaData which in turn references org.jboss.webservice.metadata.ServiceRefMetaData, and javax.wsdl.*.
The net result is that if the jboss-ws4ee.sar is removed because webservices are not needed, servlet deployments can start to fail due to the missing wsdl4j.jar.
We need to do a better job of managing these type of dependency leakage.