Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

ActiveMQ 5.11.1 is not connecting properly

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have ActiveMQ 5.11.1 running emmbeded on JBoss 5.1GA.
The runtime of a server is changed to jdk 1.7 so that AMQ can run (because it is build and tested with 1.7).

So, what is the problem?
I can't get AMQ to connect to all of the connections defined in broker-config.xml.
I say 'all', because it connects to some of the JMSConnection, but not to all.
I have found out that when I add 4 JMSConnections, and the second connection's server is not running,
then the first connection is established, but the strange thing is that the third and the fourth is NOT!

Let's have it this way:

1. connection established

2. connection (server is down, trying to reconnect infinite times)

3. connection is NOT established (Why?)

4. connection is NOT established (Why?)

I am sure that servers in connections 3 and 4 are up and running.

In AMQ 5.4.2 this was not a problem. Everything worked fine even if some of the connections were down.
The configuration is the same, except AMQ is upgraded.
So, I ask you fellow programmers, have you ever had this kind of problem and know/have idea how to solve it?

This is my broker-config.xml with defined JMS connections.

 
I like you because you always keep good, crunchy cereal in your pantry. This tiny ad agrees:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic