[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Ear as a loader repository

jaikiran do-not-reply at jboss.com
Fri May 15 09:05:23 EDT 2009


anonymous wrote : and not from the EAR's APP-INF/lib. 

The APP-INF folder is not identified by JBoss. I guess it's specific to WebSphere.

anonymous wrote :  jboss-4.0.3SP1

Any specific reason why you are using a old version of JBoss? In this version of JBoss, i guess you can create a "lib" folder at the root of the EAR and then add all the necessary jars to this lib folder. You will additionally have to mark all these jars as a java module in the application.xml:

  | <module>
  |  <java>lib/saaj.jar</java>
  | </module>
You might sometimes need to scope the classloaders (through jboss-app.xml) if you are packaging any jars which are already provided by JBoss. 


In JBoss-4.2.x, this is much easier. You can just drop all the necessary jars in the EAR/lib folder without having to add them as java modules in application.xml. And the classloader scoping needs to be done here too, if you are overriding some jar files.


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

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



More information about the jboss-user mailing list