[jboss-user] [JBoss AOP Development] New message: "Re: Help: Error [Instrumentor] AOP Instrumentor failed"
Kabir Khan
do-not-reply at jboss.com
Tue Feb 9 12:05:44 EST 2010
User development,
A new message was posted in the thread "Help: Error [Instrumentor] AOP Instrumentor failed":
http://community.jboss.org/message/525151#525151
Author : Kabir Khan
Profile : http://community.jboss.org/people/kabir.khan@jboss.com
Message:
--------------------------------------------------------------
> cuccu83 wrote:
>
> I tried to isolate .aop from .war setting
>
> <loader-repository>my.package:loader=unique-ID</loader-repository>
>
>
>
>
>
>
> in .AOP\META-INF\jboss-aop.xml
>
>
>
> but i obtain however ClassCastException...any idea?
I can't remember which is the default, but you probably want to set java2ParentDelegation to false. That way it will always check the sar's loader before checking the parent classloader.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/525151#525151
More information about the jboss-user
mailing list