Transaction Journal

Using Hermes with ActiveMQ

Transaction Journal

Postby JPount » Wed Dec 14, 2005 8:06 am

I am currently using Mule and ActiveMQ in a project and would like to get Hermes going so that I can view and manage the queues. I set up everything as per the instructions on the site but get the following error when I try to view a queue ....

javax.jms.JMSException
Failed to get embedded connector
Failed to open transaction journal: java.io.IOException: Journal is allready opened by another application.

This happens when either Mule is running and using using ActiveMQ or I run the producer tests from ActiveMQ itself.

I assume that there may be a property setting that I have missed so any help would be greatly appreciated.
JPount
 
Posts: 1
Joined: Wed Dec 14, 2005 7:58 am

Postby Colin » Wed Dec 14, 2005 9:00 am

Hi,

Your problem here is really an ActiveMQ issue. I suspect you have an embedded broker in Mule and you're reusing the same config in Hermes meaning the ActiveMQ in Hermes will try and create an embedded broker and hence open the transaction log which is already open in Mule.

You need to create a TCP or other connection to your ActiveMQ broker instead using the brokerURL property on the connection factory.

Cheers,

Colin.
Colin
Site Admin
 
Posts: 913
Joined: Sun Sep 19, 2004 4:49 pm
Location: London, UK


Return to ActiveMQ

Who is online

Users browsing this forum: No registered users and 1 guest