[jboss-user] [JBoss AOP] - Re: Newbie needs help with configuration
kabir.khan@jboss.com
do-not-reply at jboss.com
Tue Jun 5 14:04:31 EDT 2007
You should not duplicate your classes in separate jars. If ZenAS.jar contains EJB's then renaming it to ZenAS.jar.aop will cause the ejb-jar.xml to not get picked up. Likewise a META-INF/jboss-aop.xml file only gets picked up in archives ending with .aop :-)
If you download the distribution there is an "injboss" example which contains some packaging suggestions.
One of these is to deploy the jboss-aop.xml file on its own (in this case rename it to something like ZenAS-aop.xml) BEFORE you deploy the ZenAS.jar.
An alternative might be to deploy the jboss-aop.xml file in the *root* of your ZenAS.jar. It should work, but I cannot remember if it does!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051486#4051486
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4051486
More information about the jboss-user
mailing list