Domanda

I am in the process of moving the shared libraries to some custom jboss lib folder. Right now as I see, libs are placed under

1)Jboss/lib folder

2)Jboss/server/FM/lib

3)WebInf/Lib in the webapp's

Now I want to move some of the libs which are shared by the webapp's in shared lib but not under jboss/server/FM/lib as I want them to at separate folder something like below:

jboss/server/FM/lib/custom.

I would still like libraries to loaded from Jboss/server/Fm/lib as well. Is there any way to do in Jboss 4.2.3 I had a look at the similar questions on stackoverflow but I couldnt find any satisfactory answer.

Thanks

È stato utile?

Soluzione

Just add in JBoss/server/TM/conf/jboss-service.xml after line

   <classpath codebase="${jboss.server.lib.url:lib}" archives="*"/>

another line

   <classpath codebase="${jboss.server.lib.url:lib}/custom" archives="*"/>

and restart.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top