1 Reply Latest reply on Feb 3, 2009 6:57 AM by vickyk

    RA failing to invoke MDB method (on 5.0.0, worked on 4.2.3)

    matterbury

      I have my Resource Adapter (RA) in an rar and my MDB in a separate jar.
      The MDB does not use JMS - I have defined a separate Listener interface.

      The rar deploys successfully, and the MDB appears to as well, however when the RA invokes the MDB's method, "nothing" happens
      (see below for the relevant trace). I believe the method isn't being called because it logs entry/exit/actions and none of
      these things are logged.

      It works fine using 4.2.3GA but does not work using 5.0.0GA.

      Any suggestions on how to proceed? Thanks!

      Trace:
      The RA has created an instance/handle using the MessageEndpointFactory and is in the act of invoking the 'handles' method.
      I believe the WARN's are a known JBoss problem (caused by a missing if-not-null condition).

      2009-01-30 13:44:58,566 DEBUG [org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory] (InboundConnection) Creating advice InterceptorsFactory
      2009-01-30 13:44:58,566 WARN [org.jboss.ejb3.interceptors.aop.InterceptorsFactory] (InboundConnection) EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container
      2009-01-30 13:44:58,566 DEBUG [org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory] (InboundConnection) Creating advice InterceptorsFactory
      2009-01-30 13:44:58,566 WARN [org.jboss.ejb3.interceptors.aop.InterceptorsFactory] (InboundConnection) EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container
      2009-01-30 13:44:58,566 DEBUG [org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory] (InboundConnection) Creating advice InjectInterceptorsFactory
      2009-01-30 13:44:58,566 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) new InjectInterceptorsFactory
      2009-01-30 13:44:58,566 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) Create interceptor chain for org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@17297941 on public java.lang.String com.example.xa.ExampleMessageBean.invoke(java.lang.String,java.lang.String,java.lang.String) throws java.lang.Exception
      2009-01-30 13:44:58,566 WARN [org.jboss.ejb3.interceptors.registry.InterceptorRegistry] (InboundConnection) applicable interceptors is non-existent for public java.lang.String com.example.xa.ExampleMessageBean.invoke(java.lang.String,java.lang.String,java.lang.String) throws java.lang.Exception
      2009-01-30 13:44:58,582 DEBUG [org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory] (InboundConnection) Creating advice InjectInterceptorsFactory
      2009-01-30 13:44:58,582 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) new InjectInterceptorsFactory
      2009-01-30 13:44:58,582 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) Create interceptor chain for org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@17297941 on public void com.example.xa.ExampleMessageBean.ejbCreate() throws javax.ejb.EJBException
      2009-01-30 13:44:58,582 WARN [org.jboss.ejb3.interceptors.registry.InterceptorRegistry] (InboundConnection) applicable interceptors is non-existent for public void com.example.xa.ExampleMessageBean.ejbCreate() throws javax.ejb.EJBException
      2009-01-30 13:44:58,582 DEBUG [org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory] (InboundConnection) Creating advice InjectInterceptorsFactory
      2009-01-30 13:44:58,582 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) new InjectInterceptorsFactory
      2009-01-30 13:44:58,582 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) Create interceptor chain for org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@17297941 on public void com.example.xa.ExampleMessageBean.ejbRemove() throws javax.ejb.EJBException
      2009-01-30 13:44:58,582 WARN [org.jboss.ejb3.interceptors.registry.InterceptorRegistry] (InboundConnection) applicable interceptors is non-existent for public void com.example.xa.ExampleMessageBean.ejbRemove() throws javax.ejb.EJBException
      2009-01-30 13:44:58,582 DEBUG [org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory] (InboundConnection) Creating advice InjectInterceptorsFactory
      2009-01-30 13:44:58,582 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) new InjectInterceptorsFactory
      2009-01-30 13:44:58,582 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) Create interceptor chain for org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@17297941 on public void com.example.xa.ExampleMessageBean.setMessageDrivenContext(javax.ejb.MessageDrivenContext) throws javax.ejb.EJBException
      2009-01-30 13:44:58,582 WARN [org.jboss.ejb3.interceptors.registry.InterceptorRegistry] (InboundConnection) applicable interceptors is non-existent for public void com.example.xa.ExampleMessageBean.setMessageDrivenContext(javax.ejb.MessageDrivenContext) throws javax.ejb.EJBException
      2009-01-30 13:44:58,582 DEBUG [org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory] (InboundConnection) Creating advice InjectInterceptorsFactory
      2009-01-30 13:44:58,582 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) new InjectInterceptorsFactory
      2009-01-30 13:44:58,582 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) Create interceptor chain for org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@17297941 on public boolean com.example.xa.ExampleMessageBean.handles(java.lang.String)
      2009-01-30 13:44:58,582 WARN [org.jboss.ejb3.interceptors.registry.InterceptorRegistry] (InboundConnection) applicable interceptors is non-existent for public boolean com.example.xa.ExampleMessageBean.handles(java.lang.String)
      2009-01-30 13:44:58,597 DEBUG [org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory] (InboundConnection) Creating advice InjectInterceptorsFactory
      2009-01-30 13:44:58,597 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) new InjectInterceptorsFactory
      2009-01-30 13:44:58,597 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) Create interceptor chain for org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@17297941 on public java.lang.String com.example.xa.ExampleMessageBean.invoke(java.lang.String,java.lang.String,java.lang.String) throws java.lang.Exception
      2009-01-30 13:44:58,597 WARN [org.jboss.ejb3.interceptors.registry.InterceptorRegistry] (InboundConnection) applicable interceptors is non-existent for public java.lang.String com.example.xa.ExampleMessageBean.invoke(java.lang.String,java.lang.String,java.lang.String) throws java.lang.Exception
      2009-01-30 13:44:58,597 DEBUG [org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory] (InboundConnection) Creating advice InjectInterceptorsFactory
      2009-01-30 13:44:58,597 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) new InjectInterceptorsFactory
      2009-01-30 13:44:58,597 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) Create interceptor chain for org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@17297941 on public void com.example.xa.ExampleMessageBean.ejbCreate() throws javax.ejb.EJBException
      2009-01-30 13:44:58,597 WARN [org.jboss.ejb3.interceptors.registry.InterceptorRegistry] (InboundConnection) applicable interceptors is non-existent for public void com.example.xa.ExampleMessageBean.ejbCreate() throws javax.ejb.EJBException
      2009-01-30 13:44:58,597 DEBUG [org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory] (InboundConnection) Creating advice InjectInterceptorsFactory
      2009-01-30 13:44:58,597 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) new InjectInterceptorsFactory
      2009-01-30 13:44:58,597 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) Create interceptor chain for org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@17297941 on public void com.example.xa.ExampleMessageBean.ejbRemove() throws javax.ejb.EJBException
      2009-01-30 13:44:58,597 WARN [org.jboss.ejb3.interceptors.registry.InterceptorRegistry] (InboundConnection) applicable interceptors is non-existent for public void com.example.xa.ExampleMessageBean.ejbRemove() throws javax.ejb.EJBException
      2009-01-30 13:44:58,597 DEBUG [org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory] (InboundConnection) Creating advice InjectInterceptorsFactory
      2009-01-30 13:44:58,597 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) new InjectInterceptorsFactory
      2009-01-30 13:44:58,597 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) Create interceptor chain for org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@17297941 on public void com.example.xa.ExampleMessageBean.setMessageDrivenContext(javax.ejb.MessageDrivenContext) throws javax.ejb.EJBException
      2009-01-30 13:44:58,597 WARN [org.jboss.ejb3.interceptors.registry.InterceptorRegistry] (InboundConnection) applicable interceptors is non-existent for public void com.example.xa.ExampleMessageBean.setMessageDrivenContext(javax.ejb.MessageDrivenContext) throws javax.ejb.EJBException
      2009-01-30 13:44:58,597 DEBUG [org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory] (InboundConnection) Creating advice InjectInterceptorsFactory
      2009-01-30 13:44:58,597 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) new InjectInterceptorsFactory
      2009-01-30 13:44:58,597 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) Create interceptor chain for org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@17297941 on public boolean com.example.xa.ExampleMessageBean.handles(java.lang.String)
      2009-01-30 13:44:58,597 WARN [org.jboss.ejb3.interceptors.registry.InterceptorRegistry] (InboundConnection) applicable interceptors is non-existent for public boolean com.example.xa.ExampleMessageBean.handles(java.lang.String)
      2009-01-30 13:44:58,613 DEBUG [org.jboss.ejb3.interceptors.aop.InterceptorSequencer] (InboundConnection) aroundInvoke [advisedMethod=public boolean com.example.xa.ExampleMessageBean.handles(java.lang.String), unadvisedMethod=public boolean com.example.xa.ExampleMessageBean.handles(java.lang.String), metadata=null, targetObject=com.example.xa.ExampleMessageBean@32f533, arguments=[Ljava.lang.Object;@10a62e8]
      2009-01-30 13:44:58,629 ERROR [STDERR] (InboundConnection) Jan 30, 2009 1:44:58 PM ExMessageEndpointManager get
      WARNING: Class TelcoSession.CustomerHome is unhandled