2 Replies Latest reply on Jan 4, 2012 4:29 PM by Rodrigo Vallejo

    AS7 messaging bridge is not working

    Jack Lara Newbie

      Hi Guys,

       

      I am new to JBoss and tired to setup a HornetQ messaging bridge with the following configuration. With this the standalone-full.xml start up properly

       

       

                      <bridges>

                          <bridge name="testbridge">

                              <queue-name>

                                  queue/test

                              </queue-name>

                              <forwarding-address>

                                  queue/Q

                              </forwarding-address>

                              <reconnect-attempts>

                                  -1

                              </reconnect-attempts>

                              <static-connectors>

                                  <connector-ref>

                                      in-vm

                                  </connector-ref>

                              </static-connectors>

                          </bridge>

                      </bridges>

       

       

      Both the queues are on the same server and on the same box. But when I try to send a message to "queue/test" it is not been received from  "queue/Q". However in the console I can see the messages are in "queue/test" and a consumer MDB is listening to "queue/Q" but the messages are not geeting forwarded to "queue/Q" from "queue/test"

       

      Am I missing something here? Why are the messages not getting forwarded to the target queue?

        • 1. Re: AS7 messaging bridge is not working
          Jack Lara Newbie

          Guys, should I assume this is a BUG !!!

           

          OR

           

          Some misconfiguration !!!

          • 2. Re: AS7 messaging bridge is not working
            Rodrigo Vallejo Newbie

            I have the same problem in may as 7.1.0CR1b y and i do not know what is the problem...

             

            5:01:07,618 FINE  [org.hornetq.core.asyncio.impl.AsynchronousFileImpl] (MSC service thread 1-2) HornetQAIO -> error loading the native library: java.lang.UnsatisfiedLinkError: no HornetQAIO in java.library.path

                at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1738) [:1.6.0_25]

                at java.lang.Runtime.loadLibrary0(Runtime.java:823) [:1.6.0_25]

                at java.lang.System.loadLibrary(System.java:1028) [:1.6.0_25]

                at org.hornetq.core.asyncio.impl.AsynchronousFileImpl.loadLibrary(AsynchronousFileImpl.java:91) [hornetq-core-2.2.7.Final.jar:]

                at org.hornetq.core.asyncio.impl.AsynchronousFileImpl.<clinit>(AsynchronousFileImpl.java:118) [hornetq-core-2.2.7.Final.jar:]

                at org.hornetq.core.journal.impl.AIOSequentialFileFactory.isSupported(AIOSequentialFileFactory.java:94) [hornetq-core-2.2.7.Final.jar:]

                at org.jboss.as.messaging.HornetQService.start(HornetQService.java:87) [jboss-as-messaging-7.1.0.CR1b.jar:7.1.0.CR1b]

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_25]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_25]

                at java.lang.Thread.run(Thread.java:662) [:1.6.0_25]

             

            15:01:07,620 FINE  [org.hornetq.core.asyncio.impl.AsynchronousFileImpl] (MSC service thread 1-2) Library HornetQAIO not found!

            15:01:07,621 FINE  [org.hornetq.core.asyncio.impl.AsynchronousFileImpl] (MSC service thread 1-2) HornetQAIO64 -> error loading the native library: java.lang.UnsatisfiedLinkError: no HornetQAIO64 in java.library.path

                at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1738) [:1.6.0_25]

                at java.lang.Runtime.loadLibrary0(Runtime.java:823) [:1.6.0_25]

                at java.lang.System.loadLibrary(System.java:1028) [:1.6.0_25]

                at org.hornetq.core.asyncio.impl.AsynchronousFileImpl.loadLibrary(AsynchronousFileImpl.java:91) [hornetq-core-2.2.7.Final.jar:]

                at org.hornetq.core.asyncio.impl.AsynchronousFileImpl.<clinit>(AsynchronousFileImpl.java:118) [hornetq-core-2.2.7.Final.jar:]

                at org.hornetq.core.journal.impl.AIOSequentialFileFactory.isSupported(AIOSequentialFileFactory.java:94) [hornetq-core-2.2.7.Final.jar:]

                at org.jboss.as.messaging.HornetQService.start(HornetQService.java:87) [jboss-as-messaging-7.1.0.CR1b.jar:7.1.0.CR1b]

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_25]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_25]

                at java.lang.Thread.run(Thread.java:662) [:1.6.0_25]