Hi I run my application and send a message (via a little programa I just
wrote) in localhost (same host where activemq and subscriber are
running) and I send and receive this message but when I move my 'test
publisher' to another computer I send messages but I do not receive the
message. I've paste the logs from activemq (server) where we can see two
situations, the 1st one I sent the message from My computer "named
marcelo" to server "named dmview1" and the message is received as we
can see bellow but onmessage is never invoket.
I am not ruinng in solaris my station is (Windows 2000 professional and
dmview1 is Windows XP professional) I believe the 2 situations may have
a common solution.
Message Note received:
2005-12-29 14:18:07,562 [ocalport=61616]] INFO
BrokerContainerImpl - Adding new client:
ID:marcelo-2012-1135873059906-3:0 on transport: TcpTransportChannel:
Socket[addr=/192.168.11.11,port=2014,localport=61616]
2005-12-29 14:18:08,281 [ocalport=61616]] INFO
BrokerClientImpl - Client disconnected:
brokerConnector-client:(10390580) ID:marcelo-2012-1135873059906-3:0:
TcpTransportChannel: Socket[addr=/192.168.11.11,port=2014,localport=61616]
2005-12-29 14:18:08,281 [ocalport=61616]] INFO
BrokerContainerImpl - Removing client:
ID:marcelo-2012-1135873059906-3:0 on transport: TcpTransportChannel:
Socket[addr=/192.168.11.11,port=2014,localport=61616]
In this log We can se the second case, I use the same program to sent a
message from dmview1 to dmview1 and the message is received as well and
onMessage method is called. Tip: If I move active mqserver from dmview1
to marcelo, both ways works. Any suggests ?
Message Received:
2005-12-29 14:19:22,140 [ocalport=61616]] INFO
BrokerContainerImpl - Adding new client:
ID:dmview1-1713-1135873161859-3:0 on transport: TcpTransportChannel:
Socket[addr=/192.168.11.27,port=1714,localport=61616]
2005-12-29 14:19:22,890 [ocalport=61616]] INFO
BrokerClientImpl - Client disconnected:
brokerConnector-client:(2011334) ID:dmview1-1713-1135873161859-3:0:
TcpTransportChannel: Socket[addr=/192.168.11.27,port=1714,localport=61616]
2005-12-29 14:19:22,890 [ocalport=61616]] INFO
BrokerContainerImpl - Removing client:
ID:dmview1-1713-1135873161859-3:0 on transport: TcpTransportChannel:
Socket[addr=/192.168.11.27,port=1714,localport=61616]
Regards,
MARCELO Ribeiro