Which version of AS are you on? What you suggest is not be possible on AS 4.x 
since hibernate3.jar is in the lib/ folder, so the classes are loaded before 
server/xxx/deploy/jboss-aop.deployer is deployed.

Unfortunately, even if you use compile-time weaving, you will still have 
problems since hibernate3.jar is deployed in a classloader that is the parent 
of loader containing the aop stuff. So basically on AS 4 you can only really 
aspectize the classes deployed as part of a deployment in the serve/xxx/deploy 
folder. I am not sure if anything else would work in AS 5 as it stands, but it 
could probably be made to work there.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4209941
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to