Re: using openjms and activemq together

Tim Anderson <[email protected]> Fri, 24 Aug 2007 22:58:49 +1000
Newsgroups gmane.comp.java.openjms.user
Message-ID <[email protected]>
By specifying the activemq broker port, you're trying to use the openjms
transport layer to communicate with activemq. This is not supported -
JMS providers are not compatible at the transport layer.
You need to use the openjms client with the openjms server. 

-Tim

novotny wrote:
> Hi,
>
> I have a pretty naive question-- is it possible ti run the ActiveMQ broker
> and use OpenJMS for consumer/producers?
>
> I started the ACtiveMQ broker and then when I run my consumer I get this
> error:
>
>  [java] Caused by: java.rmi.ConnectIOException: Failed to create connection;
> nested exception is: 
>      [java]     org.exolab.jms.net.connector.ConnectException: Failed to
> start multiplexer
>      [java]     at org.exolab.jms.net.orb.Locator.getProxy(Locator.java:137)
>      [java]     at
> org.exolab.jms.net.orb.Locator.getRegistry(Locator.java:103)
>      [java]     at
> org.exolab.jms.net.orb.DefaultORB.getRegistry(DefaultORB.java:285)
>      [java]     at
> org.exolab.jms.client.net.SharedORB.getRegistry(SharedORB.java:121)
>      [java]     at
> org.exolab.jms.jndi.InitialContextFactory.getInitialContext(InitialContextFactory.java:144)
>      [java]     ... 5 more
>      [java] Caused by: org.exolab.jms.net.connector.ConnectException: Failed
> to start multiplexer
>      [java]     at
> org.exolab.jms.net.multiplexer.MultiplexedManagedConnection.setInvocationHandler(MultiplexedManagedConnection.java:178)
>      [java]     at
> org.exolab.jms.net.connector.DefaultConnectionPool.add(DefaultConnectionPool.java:479)
>      [java]     at
> org.exolab.jms.net.connector.DefaultConnectionPool.createManagedConnection(DefaultConnectionPool.java:235)
>      [java]     at
> org.exolab.jms.net.connector.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:140)
>      [java]     at
> org.exolab.jms.net.connector.AbstractConnectionFactory.getConnection(AbstractConnectionFactory.java:167)
>      [java]     at
> org.exolab.jms.net.connector.AbstractConnectionManager.getConnection(AbstractConnectionManager.java:208)
>      [java]     at org.exolab.jms.net.orb.Locator.getProxy(Locator.java:131)
>      [java]     ... 9 more
>      [java] Java Result: 1
>
>
> Any help is greatly appreciated
>
> Thanks, Jason
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/