Jboss 4.2.3自定义共享库 [英] Jboss 4.2.3 custom shared lib
问题描述
我正在将共享库移动到一些自定义jboss lib文件夹。
现在我看到,libs被放置在
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文件夹
1)Jboss/lib folder
2)Jboss / server / FM / lib
2)Jboss/server/FM/lib
3)webapp的
现在我想移动webapp在共享库中共享的一些lib,而不是在jboss / server / FM / lib下,因为我想要它们在单独的文件夹下以下:
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。
jboss/server/FM/lib/custom.
我仍然希望从Jboss / server / Fm / lib加载库。
有没有办法在Jboss 4.2.3
我看了类似的问题stackoverflow,但我找不到任何令人满意的答案。
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.
谢谢
推荐答案
只需添加 JBoss / server / TM / conf / jboss-service.xml
after line
Just add in JBoss/server/TM/conf/jboss-service.xml
after line
<classpath codebase="${jboss.server.lib.url:lib}" archives="*"/>
另一行
<classpath codebase="${jboss.server.lib.url:lib}/custom" archives="*"/>
并重启。
这篇关于Jboss 4.2.3自定义共享库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!