"emmartins" wrote : Should instead the domain be always used for loading the
class?
I don't think you should be using domain, as that is impl specific.
You should be asking yourself why is classloading failing.
We have some info exposed, and there was a request from Scott,
saying the impl should
"emmartins" wrote :
| Another thing, lets say I have a domain and 2 class loaders (lets say CL1
and CL2), all with a policy defined as export-all="NON_EMPTY" import-all="true"
blackList="false", a loadClass(String) of a class from CL1 in CL2 is failing,
is this the expected behavior? Should i
Worked, thanks, this, and the one in the other thread, are good info that could
be on MC wiki.
Regarding the blacklisting feature, it's kind of confusing why it's not off by
default, what is an example of an use case, where the lookup of a class that
doesn't exist will benefict from this, won't
"emmartins" wrote :
| What would be content of the class loading descriptor for the same class
loader as it is done by default (with no such descriptor) but with blacklisting
off.
|
Try this:
|
|
|
"emmartins" wrote :
| PS: By the way, what's the idea of the black listing at a
I'm having issues with Javassist, it seems that the parent of deployment unit
created classloader, the one of the mobicents beans jar, is blacklisting
generated classes, this is generating further errors, specially if I redeploy a
deployable unit and classes have to be generated again.
What wou
"emmartins" wrote : but I don't know how can I reach the policy for the bean's
classloader
You need to configure that CL at the time of creation.
e.g. proper jboss-classloading.xml in bean's jar
Or push more info, as I don't see what you're trying to do - again. ;-)
View the original post :
htt
"alesj" wrote : What about VFSCLPolicy::setBlackListable(false)?
| Or
|
| |
| |
| |
The first one I have seen but I don't know how can I reach the policy for the
bean's classloader , the second doesn't require a custom classloader in the
descriptor that won't acess the libs o
What about VFSCLPolicy::setBlackListable(false)?
Or
|
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189104#4189104
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189104
___