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

dfsdf asdas do-not-reply at jboss.com
Wed Jan 20 10:08:47 EST 2010

User development,

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


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

Hi, i try to integrate jboss AOP with riftsaw 2.0 M1 for my thesis work at the university.
I tried examples in "injboss" section and they run correctly. 
When i try to intercept a method of riftsaw [org.apache.ode.axis2.soapbinding.SoapExternalService-> invoke() ] during the execution of a web services within wotkflowi obtain an exception. Why i obtain that error a runtime ? I'm using jboss 5.1.0 jdk6,  jboss AOP  2.1.5 and my aop.xml file is so simple :
15:31:33,251 ERROR [Instrumentor] [warn] AOP Instrumentor failed to transform or
javassist.CannotCompileException: [source error] no such a constructor
        at javassist.CtBehavior.setBody(CtBehavior.java:368)
        at javassist.CtBehavior.setBody(CtBehavior.java:334)

<?xml version="1.0" encoding="UTF-8"?>
<aop xmlns="urn:jboss:aop-beans:1.0">

<prepare expr="all(org.apache.ode.axis2.soapbinding.SoapExternalService)" />

<interceptor class="test.aop.Simplex" scope="PER_VM"/>

<bind pointcut="execution(* $instanceof{org.apache.ode.axis2.soapbinding.SoapExternalService}->invoke(..))" >
<interceptor-ref name="test.aop.Simplex" />

Please to help me !!!


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

More information about the jboss-user mailing list