activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mjustin <michael.jus...@gmx.net>
Subject ActiveMQ 5.1 does not reply to command messages (commandAgent)
Date Mon, 19 May 2008 17:01:19 GMT

Dear all

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

<commandAgent xmlns="http://activemq.apache.org/schema/core"
brokerUrl="vm://localhost"/>

However, I cannot send commands to ActiveMQ using the STOMP protocol. I have
included the exception message below.

In ActiveMQ 5.0, the commandAgent works fine. It looks like something with
RMI goes wrong.

I use Windows 2000 SP 4.

Is there something I can do to analyze the problem?

ERROR CommandMessageListener         - Failed to process message due to:
java.la
ng.Exception: java.io.IOException: Failed to retrieve RMIServer stub:
javax.nami
ng.ServiceUnavailableException [Root exception is java.rmi.ConnectException:
Con
nection refused to host: localhost; nested exception is:
        java.net.ConnectException: 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: java.io.IOException: Failed to retrieve RMIServer stub:
jav
ax.naming.ServiceUnavailableException [Root exception is
java.rmi.ConnectExcepti
on: Connection refused to host: localhost; nested exception is:
        java.net.ConnectException: Connection refused: connect]
        at
org.apache.activemq.console.command.QueryCommand.runTask(QueryCommand
.java:118)
-- 
View this message in context: http://www.nabble.com/ActiveMQ-5.1-does-not-reply-to-command-messages-%28commandAgent%29-tp17323338s2354p17323338.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message