Ales Justin [
http://community.jboss.org/people/alesj] created the discussion
"Re: How to stop my WAR loading JBoss's provided 3rd party classes?"
To view the discussion, visit:
http://community.jboss.org/message/561449#561449
--------------------------------------------------------------
This is certainly possible, but unfortunately not completely out-of-the-box aka via
configuration.
What you need to do is the following:
* create new cl domain for your deployment -- can be done via jboss-classloading.xml
* set default cl domain as your parent cl domain -- can be done via
jboss-classloading.xml
* create parent policy for Module which sets your excludes -- needs some deployer /
programmatic
This probably means you would have to create a new deployer which would create custom
Module - to override the getDeterminedParentPolicy,
which would disable the usage of VFSClassLoaderDescribeDeployer --> your similar
deployer should kick in.
You can have a crack at it, but let me know if you get stuck, and I'll help you.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/561449#561449]
Start a new discussion in JBoss Microcontainer at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]