[jboss-user] [EJB 3.0] - Re: EAR deploy fails in JBoss 4.2

chandra_88 do-not-reply at jboss.com
Wed Feb 20 09:45:13 EST 2008

Thanks for the reply . I have multiple util jars all from the JBoss 4.2 doc it says multiple jars can be specified in the lib folder and the lib folder can be presnet in the ear folder. 
The lib folder is specified using the library-directory tag.

So if in the application.xml i mention 

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC
	"-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"

   <!-- Libraries -->
  < module>
  < /module>

All the common libraries present in the lib folder i presumed. I did try modifying the manifest entries in the ejb jar and then i get an exception saying no class loaders found for the ejb impl classes. 


Manifest-Version: 1.0
Class-Path: ../lib/commons-collections-3.2.jar ../lib/commons-configuration-1.5.jar ../lib/commons-lang-2.3.jar ../lib/commons-logging-1.1.1.jar

How do i specify multiple jars file using <library-directory> if it is not suppored i will try whatever is mentioned from you. 

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

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

More information about the jboss-user mailing list