Hi,

I have a point cut definition as follows. (This is in a file jboss-aop.xml, 
which i drop in the deploy folder.)
pointcut="execution(public void TestMDB->onMessage(..))"
interceptor class="MyAspect"

1. jboss-service in jboss-aop-jdk50.deployer/META-INF has
mbean code="org.jboss.aop.deployment.AspectManagerServiceJDK5
EnableLoadtimeWeaving=true

2. run.bat has pluggable-instrumentor.jar in the classpath, and 
-javaagent=D:\cvs_views\jboss-4.0\bin\pluggable-instrumentor.jar
in JAVA_OPTS

3. debug statements in the log indicate successful deploy of pointcut 
defintion, but no point cut matching

12:53:49,389 INFO  [AspectDeployer] Deployed AOP: 
file:/D:/cvs_views/jboss-4.0/server/integral/deploy/jboss-aop.xml

----
[trying to transform] TestMDB

[debug] There are no caller pointcuts!

[debug] [EMAIL PROTECTED] onMessage (Ljavax/jms/Message;)V] matches no pointcuts

[debug] [EMAIL PROTECTED] ejbCreate ()V] matches no pointcuts

[debug] [EMAIL PROTECTED] ejbActivate ()V] matches no pointcuts

[debug] [EMAIL PROTECTED] ejbRemove ()V] matches no pointcuts

[debug] [EMAIL PROTECTED] ejbPassivate ()V] matches no pointcuts

[debug] [EMAIL PROTECTED] setMessageDrivenContext 
(Ljavax/ejb/MessageDrivenContext;)V] matches no pointcuts

[debug] [EMAIL PROTECTED] TestMDB ()V] matches no pointcuts

[debug] was TestMDB converted: false
---

4. Using JBoss 4.0.2 with jrockit-R26.0.0-jdk1.5.0_04

Do I need to "prepare" the class in some fashion, or is something else missing 
? Unfortunately, web-console is not working with Jboss 4 on my browser (JBoss 
3.2.3 web-console works), so I cant view the aop tree.
Can i see some MBean or turn on some debug to trouble shoot further ?

-thanks for your time


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

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


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to