activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Justin (JIRA)" <>
Subject [jira] Created: (AMQ-1737) Broker does not reply to command messages
Date Tue, 20 May 2008 07:45:08 GMT
Broker does not reply to command messages

                 Key: AMQ-1737
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.1.0
            Reporter: Michael Justin

In ActiveMQ 5.1.0 and 5.2-snapshot (Windows distribution) I have uncommented the commandAgent
configuration so that it reads

<commandAgent xmlns="" brokerUrl="vm://localhost"/>

However, I cannot send commands to ActiveMQ using the STOMP protocol, regardless of the servername
I use in the connection (localhost, or the local IP address). I have included the
exception message below. It looks like something with RMI goes wrong. I use Windows 2000 SP

In ActiveMQ 5.0, the commandAgent works fine. 

Best Regards
Michael Justin

ERROR CommandMessageListener         - Failed to process message due to:
ng.Exception: Failed to retrieve RMIServer stub: javax.nami
ng.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Con
nection refused to host: localhost; nested exception is: Connection refused: connect]. Message: Active
MQTextMessage {commandId = 4, responseRequired = false, messageId = ID:michael-1
090-1211215893984-5:0:-1:1:1, originalDestination = null, originalTransactionId
= null, producerId = ID:michael-1090-1211215893984-5:0:-1:1, destination = topic
://ActiveMQ.Agent, transactionId = null, expiration = 0, timestamp = 12112160160
78, arrival = 0, brokerInTime = 1211216016078, brokerOutTime = 1211216016078, co
rrelationId = null, replyTo = queue://HabariExpressAdmin, persistent = false, ty
pe = null, priority = 0, groupID = null, groupSequence = 0, targetConsumerId = n
ull, compressed = false, userID = null, content = null, marshalledProperties = n
ull, dataStructure = null, redeliveryCounter = 0, size = 1024, properties = null
, readOnlyProperties = true, readOnlyBody = true, droppable = false, text = quer
y -QQueue=* --view Name}
java.lang.Exception: Failed to retrieve RMIServer stub: jav
ax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectExcepti
on: Connection refused to host: localhost; nested exception is: Connection refused: connect]
        at org.apache.activemq.console.command.QueryCommand.runTask(QueryCommand

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message