[jboss-user] [JBoss AOP] - Standalone after-throwing sample works fine, but not work on

ienvyou do-not-reply at jboss.com
Mon Apr 6 01:20:14 EDT 2009


Hello, 

Thank you for JBoss AOP effort first.

I'm using JBoss AOP and trying to use after-throwing for exception handling.
As like subject, the after-throwing sample in jboss-aop-2.0.1.GA works fine but same sample on AS5.0.1GA doesn't work.

These are my environment :
JDK : JDK1.6.0
Platform : Microsoft Windows XP
JBoss AS : JBoss AS 5.0.1 GA

I also included javaagent switch and loadtime config to true in conf/bootstrap/aop.xml
-javaagent:deployers/jboss-aop-jboss5.deployer/pluggable-instrumentor.jar 

Exception : 
14:14:50,188 INFO  [STDOUT] Catching Exception org.jboss.aop.advice.NoMatchingAdviceException: No matching around advice called 'afterThrowing' could be found in Aspect for joinpoint Method[method=public void jboss.POJO.throwPOJOExceptionMethod(java.lang.String) throws POJOException]

Is there any missing point here?
Thanks in advance!


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

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



More information about the jboss-user mailing list