Bugs item #891626, was opened at 2004-02-06 10:02 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=891626&group_id=22866
Category: None Group: v3.2 Status: Open Resolution: None Priority: 5 Submitted By: Antti Lehto (anajavi) Assigned to: Nobody/Anonymous (nobody) Summary: XML in jar prevents deployer from adding it to classpath Initial Comment: Deployer does not add classes from manifest if jar contains xml. This behavior violates the j2ee 1.3 and 1.4 specification. The 1.3 spec says that container should add all classes to classpath from jar. The 1.4 spec says that container should ignore any xml in jar's mentioned in manifest. Here's how I found the problem: I accidently jarred jboss.xml and ejb-jar.xml inside some.jar's META-INF. This some.jar was mentioned in MANIFEST.MF of a ejb-jar. When deploying ejb-jar the deployer failed to add some.jar to ejb-jar's classpath: 2004-01-30 15:36:14,814 DEBUG [org.jboss.deployment.MainDeployer] new manifest entry for sdi at some-ejb.jar entry is lib/some.jar 2004-01-30 15:36:14,822 DEBUG [org.jboss.deployment.MainDeployer] using deployer [EMAIL PROTECTED] 2004-01-30 15:36:14,823 DEBUG [org.jboss.deployment.MainDeployer] The manifest entry in file:/opt/jboss-3.2.3_jetty-4.2.14/server/default/deploy/some.ear/some-ejb.jar/ references URL file:/opt/jboss-3.2.3_jetty-4.2.14/server/default/deploy/some.ear/lib/some.jar which could not be opened, entry ignored It seems to me that deployer tried to deploy the some.jar because of these xml-files. Jar was not added to classpath after failing deployment. I also think, that these DEBUG messages are misleading. The jar-file could have been added to classpath, although of failing deployment. It took quite time to find the real problem. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=891626&group_id=22866 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development