-
1. Re: Does JBoss support he APP-INF/lib directory?
genman Feb 9, 2007 9:22 PM (in response to mjparme)I don't believe so. Probably the Wiki should be changed. But new features are added all the time.
The work-around is to modify your .ear file Classpath setting:
http://forums.tangosol.com/servlet/JiveServlet/download/7-313-1625-73/coherence_on_jboss.txt -
2. Re: Does JBoss support he APP-INF/lib directory?
russ396 Jun 4, 2007 7:09 PM (in response to mjparme)JBoss 4.0.5 and earlier do not support it. JBoss 4.2.0 supports it, but it defaults to /lib directory. You can override it by specifying the lib directory of your choice in /META-INF/jboss-app.xml. Here is an example:
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE jboss-app
PUBLIC "-//JBoss//DTD J2EE Application 4.2//EN"
"http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd"
>
<jboss-app>
<library-directory>APP-INF/lib</library-directory>
</jboss-app> -
3. Re: Does JBoss support he APP-INF/lib directory?
hjhome Sep 17, 2008 5:51 PM (in response to mjparme)So where should the shared libs go in ear?
-
4. Re: Does JBoss support he APP-INF/lib directory?
hjhome Sep 17, 2008 5:56 PM (in response to mjparme)So where should the shared libs go in ear?
Just to clarify, What should be the location of shared libs inside ear in case of JBoss 4.0.5? -
5. Re: Does JBoss support he APP-INF/lib directory?
peterj Sep 17, 2008 6:00 PM (in response to mjparme)In 4.0.5, as far as I know, shared library jar files need to be listed in application.xml, in which case then can appear anywhere. There is no directory whose jar files are automatically loaded.