1 Reply Latest reply: Feb 15, 2012 5:47 AM by Philippe CEROU RSS

Does "HowDoIConfigureAnEJB3MDBToTalkToARemoteQueue" run with JBoss 6.1 ?

Philippe CEROU Newbie

Hi all,

 

has anyone tried this tutorial : https://community.jboss.org/wiki/HowDoIConfigureAnEJB3MDBToTalkToARemoteQueue

 

I have exactly done the same configuration has in the document but when my EJB start I have 10 times this message then nothing :

 

...

2012-02-14 14:22:58,385 INFO  [org.hornetq.ra.inflow.HornetQActivation] (pool-1-thread-1) Attempting to reconnect org.hornetq.ra.inflow.HornetQActivationSpec(ra=org.hornetq.ra.HornetQResourceAdapter@214f95bf destination=queue/TESTSOUT destinationType=javax.jms.Queue ack=Auto-acknowledge durable=false clientID=null user=null maxSession=15)

2012-02-14 14:22:58,388 INFO  [org.hornetq.ra.inflow.HornetQActivation] (pool-1-thread-1) awaiting topic/queue creation queue/TESTSOUT

...

 

It seems like the EJB3 annoataion "@ActivationConfigProperty(propertyName="providerAdapterJNDI", propertyValue="java:/RemoteJMSProvider")" is never interpreted and the EJB try to listen on a local queue which do not exists.

 

There are no errors in "boot.log" and "server.log".

 

When I ddeploy my EJB, here is the log :

 

...

2012-02-14 14:32:33,202 INFO  [org.jboss.ejb3.EJBContainer] (HDScanner) STOPPED EJB: monpkg.tests.ToLowerV2 ejbName: ToLowerV2

2012-02-14 14:32:33,240 WARN  [org.jboss.ejb3.interceptor.InterceptorInfoRepository] (HDScanner) EJBTHREE-1852: InterceptorInfoRepository is deprecated

2012-02-14 14:32:33,252 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner) Created KernelDeployment for: EJBTestsToLowerV2.jar

2012-02-14 14:32:33,253 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner) installing bean: jboss.j2ee:jar=EJBTestsToLowerV2.jar,name=ToLowerV2,service=EJB3

2012-02-14 14:32:33,253 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner)   with dependencies:

2012-02-14 14:32:33,253 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner)   and demands:

2012-02-14 14:32:33,253 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner)      jboss.ejb:service=EJBTimerService; Required: Described

2012-02-14 14:32:33,253 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner)      jboss-switchboard:appName=EJBTestsToLowerV2,module=EJBTestsToLowerV2,name=ToLowerV2; Required: Create

2012-02-14 14:32:33,253 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner)   and supplies:

2012-02-14 14:32:33,254 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner)      jndi:null

2012-02-14 14:32:33,254 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner)      Class:javax.jms.MessageListener

2012-02-14 14:32:33,254 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner) Added bean(jboss.j2ee:jar=EJBTestsToLowerV2.jar,name=ToLowerV2,service=EJB3) to KernelDeployment of: EJBTestsToLowerV2.jar

2012-02-14 14:32:33,271 INFO  [org.jboss.ejb3.EJBContainer] (HDScanner) STARTED EJB: monpkg.tests.ToLowerV2 ejbName: ToLowerV2

2012-02-14 14:32:33,275 WARN  [org.jboss.ejb3.TimerServiceContainer] (HDScanner) EJBTHREE-2193: using deprecated TimerServiceFactory for restoring timers

2012-02-14 14:32:33,293 INFO  [org.hornetq.ra.inflow.HornetQActivation] (pool-1-thread-2) awaiting topic/queue creation queue/TESTSOUT

2012-02-14 14:32:35,303 INFO  [org.hornetq.ra.inflow.HornetQActivation] (pool-1-thread-2) Attempting to reconnect org.hornetq.ra.inflow.HornetQActivationSpec(ra=org.hornetq.ra.HornetQResourceAdapter@214f95bf destination=queue/TESTSOUT destinationType=javax.jms.Queue ack=Auto-acknowledge durable=false clientID=null user=null maxSession=15)

...

 

If somebody has a solution...