[jboss-user] [JBoss AOP] - Re: Unable start AOP services in Jboss

kabir.khan@jboss.com do-not-reply at jboss.com
Mon Jun 4 10:05:56 EDT 2007


You are missing configuration-name in your session entry in jboss.xml as shown in my example

Once you have got the xml right you will find that your class will fail to deply. This has nothing to do with AOP anymore, it is pure JBoss EJB 2 container stuff, and so you don't need a jboss-aop.xml anywhere. You need to look at 
http://docs.huihoo.com/javadoc/jboss/4.0.2/org/jboss/ejb/plugins/AbstractInterceptor.java.html
and the method you want to override is this:

  | 
  |    public Object invoke(final Invocation mi) throws Exception
  |    {
  |       // assert mi != null;
  |       return getNext().invoke(mi);
  |    }
  | 


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

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



More information about the jboss-user mailing list