[jboss-user] [JBoss AOP] - ClassNotFoundException: org.jboss.injbossaop.lib.ExampleValu

forumer do-not-reply at jboss.com
Sun Aug 2 02:10:41 EDT 2009


JBoss 4.2.2.GA on Windows XP, JBoss-aop-2.1.3
I've run build.xml under jboss-40-install/jboss-aop-jdk50.deployer to substitue jboss-aop-2.1.3

I think I've made all the changes in the instructions for Load-time weaving.
Made changes in run.bat for -javaagent:pluggable-instrumentor.jar
Copied pluggable-instrumentor.jar to %JBOSS_HOME%\bin
Ran the ant task deploy-basic-lt-war-in-jar

After I "run -c all" and go to http://localhost:8080/aopexample/index.jsp, I get 

ClassNotFoundException: org.jboss.injbossaop.lib.ExampleValue.

But I can see the above class in aopexamplelib.aop inside aopexample.jar.

I'd appreciate any help to get me going on AOP development.

I also see following snippets in stack-trace:

22:50:33,687 ERROR [Instrumentor] [warn] AOP Instrumentor failed to transform org.jboss.injbossaop.lib.ExampleValue
java.lang.RuntimeException: org.jboss.injbossaop.lib.ExampleValue$ExampleValueAdvisor: frozen class (cannot edit)
        at javassist.ClassPool.checkNotFrozen(ClassPool.java:568)

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247415#4247415

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247415



More information about the jboss-user mailing list