[jboss-user] [JBoss AOP Development] New message: "Re: Help: Error [Instrumentor] AOP Instrumentor failed"

dfsdf asdas do-not-reply at jboss.com
Mon Feb 8 09:01:31 EST 2010


User development,

A new message was posted in the thread "Help: Error [Instrumentor] AOP Instrumentor failed":

http://community.jboss.org/message/524776#524776

Author  : dfsdf asdas
Profile : http://community.jboss.org/people/cuccu83

Message:
--------------------------------------------------------------
Thanks for the reply....i have moved jar file in sar directory and now i can instantiate a MessageContext object, but when i try to casting argument:
 
.
.
.
MessageContext msg = (MessageContext) arg[0];
.
.
.

 
I obtain an error at run-time: 
 
java.lang.ClassCastException: org.apache.axis2.context.MessageContext cannot be cast to org.apache.axis2.context.MessageContext

 
It is very strange....depends on different class loader ?

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/524776#524776




More information about the jboss-user mailing list