[jboss-user] [JBoss AOP] - Re: Strange problem of aspectizing EJBs

2007-07-17 Thread vola
Ok...it sounds make sense...Thank you very much View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065178#4065178 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065178 ___ jboss-u

[jboss-user] [JBoss AOP] - Re: Strange problem of aspectizing EJBs

2007-07-16 Thread [EMAIL PROTECTED]
I believe that the problem stems from the fact that your classes start with the com.sun prefix. When weaving we ignore a bunch of classes |public boolean isNonAdvisableClassName(String classname) |{ | if (ignoreClass(classname)) return true; | if (includeClass(classna

[jboss-user] [JBoss AOP] - Re: Strange problem of aspectizing EJBs

2007-07-10 Thread vola
Yes, you are correct. The name of the proxy can be changed each time the AS starts. I was using TPTP to monitor my application and guess what is the proxy name for each bean class. Thank you very much for your help...I will send my ear to you. Just please take a look at it when you are not bu

[jboss-user] [JBoss AOP] - Re: Strange problem of aspectizing EJBs

2007-07-10 Thread [EMAIL PROTECTED]
The proxy would be the generated implementation of your business interface. The sequence of an ejb call is Client->Business Interface Proxy -> Container (with Tx, security, pooling etc. handling) -> Bean Instance You are now weaving the proxy, so the interception will happen as part of the "B

[jboss-user] [JBoss AOP] - Re: Strange problem of aspectizing EJBs

2007-07-10 Thread vola
Ok...I think I know the reason now Seems like once my "Duke's Bank" application deployed into JBoss, it will be wrapped up by some proxy class I change my jboss-aop.xml to: | | | | instead of | | | | Surprisely, it works...One thing

[jboss-user] [JBoss AOP] - Re: Strange problem of aspectizing EJBs

2007-07-10 Thread vola
I have tried moving aopexamplelib.aop to the top of the list of modules. But it does not make different. Also, I just noticed that my servlets haven't been woven. The only thing been woven is "org.apache.jasper.runtime.HttpJspBase$service". The debug msg is: 14:12:00,892 INFO [STDOUT] <<< Ente

[jboss-user] [JBoss AOP] - Re: Strange problem of aspectizing EJBs

2007-07-10 Thread [EMAIL PROTECTED]
I am not sure if it will make a difference in the version of jboss you are using, but try moving aopexamplelib.aop to the top of the list of modules View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062551#4062551 Reply to the post : http://www.jboss.com/index.

[jboss-user] [JBoss AOP] - Re: Strange problem of aspectizing EJBs

2007-07-10 Thread vola
Thank you for your quick reply. My .ear file contains: bank-ejb.jar app-client.jar web-client.war aopexamplelib.aop My application.xml: | | http://java.sun.com/xml/ns/j2ee"; version="1.4" | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://java

[jboss-user] [JBoss AOP] - Re: Strange problem of aspectizing EJBs

2007-07-10 Thread [EMAIL PROTECTED]
In other words, include a bit more information about how you are deploying this View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062476#4062476 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062476 ___

[jboss-user] [JBoss AOP] - Re: Strange problem of aspectizing EJBs

2007-07-10 Thread [EMAIL PROTECTED]
Are you sure you are either a) Deploying the jboss-aop.xml file before you are deploying your application OR b) If using a .aop file, listing it in the "modules" of your application.xml? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062475#4062475 Reply to t

[jboss-user] [JBoss AOP] - Re: Strange problem of aspectizing EJBs

2007-07-10 Thread vola
Sorry about that, I will be careful next time. Could anyone kindly help me out with this problem please? ^^ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062464#4062464 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=40