-
1. Re: JBoss 6.1: Isolating ears from each other
alesj Aug 26, 2011 1:07 AM (in response to jewellgm)1 of 1 people found this helpful<classloading xmlns="urn:jboss:classloading:1.0"
domain="My_Shared_Domain"
export-all="NON_EMPTY"
import-all="true" />
What about if you simply give both the same domain?
Then this CL domain is shared between both, hence classes should be visible.
-
2. Re: JBoss 6.1: Isolating ears from each other
jewellgm Aug 26, 2011 8:32 AM (in response to alesj)Thank you for the quick response, Ales. Later in the evening, that idea occurred to me, and it does work. Fortunately, I don't have to worry about different versions of software embedded into these ears, so this solution should be sufficient in this case. In the future, if I do have to worry about different versions of software, do you know how I would be able to completely isolate the ears from each other?
Thanks again!
-
3. Re: JBoss 6.1: Isolating ears from each other
alesj Aug 26, 2011 8:45 AM (in response to jewellgm)In the future, if I do have to worry about different versions of software, do you know how I would be able to completely isolate the ears from each other?
.ears are fully isolated by default in AS6.
To have both, some shared bits and some "isolated" (hidden from the other),
you would have to put more effort into CL domain creation / filtering.