[jboss-user] [Installation, Configuration & Deployment] - Change Class Loader Behavior to load classes from the appli
ozlevanon
do-not-reply at jboss.com
Mon Oct 5 15:06:49 EDT 2009
Hi, I'm developing an application (WAR) which has some jars which class with jboss's jars. I'm using Jboss 4.0.2
I want to make jboss load the classes from my application jars first. I've search the web and the wiki, but all I can find are things like this:
anonymous wrote : For .war files, in your jboss-web.xml, the following template applies:
|
| <jboss-web>
| <class-loading>
| <loader-repository>
| com.example:archive=unique-archive-name
| </loader-repository>
| </class-loading>
| </jboss-web>
|
I don't understand what values I'm supposed to put in the loader-repository tag.
Can you please tell me how to deploy a WAR and have Jboss use the WAR's jar first when looking for classes (I'd appreciate it if you can explicitly tell me which files to change and what their contents should be)?
Thanks a lot,
Oz
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258722#4258722
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258722
More information about the jboss-user
mailing list