SourceForge.net
2006-06-05 00:28:46 UTC
Bugs item #1104594, was opened at 2005-01-18 16:37
Message generated for change (Comment added) made by davidrh
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=1104594&group_id=54559
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: transport
Group: None
Status: Closed
Resolution: Works For Me
Priority: 5
Submitted By: Christian Rockrohr (habkeinefrage)
Assigned to: Jim Alateras (jalateras)
Summary: onMessage() does not get activated
Initial Comment:
Hi there,
i wrote a litle programm to comunicate each other.
(Something like a chat) when I start the openJMS
server, then start the so called client on the same
machine, it works finde. I can send messages an other
client (on the same machine) get it. There onMessage
method awakes an is doing its job.
But when the OpenJMS server is on an other machine,
far away on the internet or next to me using a cros-link-
cable, it does not work. I can send messages but
onMessage() never awakes.
So I put a test-recieve button to the panel. ( a of
course had to delete the messega listener) When i now
send a message, the onMessage() method does no not
do anything (of course) but when i use the recieve
button (mytopic.recieve()) i get the message e sent.
what is the problem? i can´t imagine that OpenJMS
can´t communicate over a network. Do i have to start
something, could i do anything wrong when using an
external server as a local server?
----------------------------------------------------------------------
Comment By: David Howe (davidrh)
Date: 2006-06-05 00:28
Message:
Logged In: YES
user_id=640039
I am getting the same problem, even with two machines on
the same local network. Everything works when OpenJMS and
the client apps are running on the same machine, but no
messages appear to be received and processed when the
receiver that has the MessageListener is moved to a
different machine.
When I browse the queue with Hermes I can see that the same
number of messages that I have MessageListeners for have
disappeared off the queue. i.e. if I create and register
10 MessageListeners, then 10 messages disappear from the
queue. When I kill the receiving process, the ten messages
come back again.
I am running OpenJMS 0.7.7 alpha 3.
----------------------------------------------------------------------
Comment By: Tim Anderson (tanderson)
Date: 2005-02-16 13:14
Message:
Logged In: YES
user_id=557161
You might be having firewall problems. If you are using the
rmi connector, the server needs to open a connection back to
the client, which may fail if the client is behind a firewall.
If so, try using the tcp connector.
Re-open this (or better yet, discuss the problem on the
openjms-user list) if you have any issues.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=1104594&group_id=54559
Message generated for change (Comment added) made by davidrh
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=1104594&group_id=54559
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: transport
Group: None
Status: Closed
Resolution: Works For Me
Priority: 5
Submitted By: Christian Rockrohr (habkeinefrage)
Assigned to: Jim Alateras (jalateras)
Summary: onMessage() does not get activated
Initial Comment:
Hi there,
i wrote a litle programm to comunicate each other.
(Something like a chat) when I start the openJMS
server, then start the so called client on the same
machine, it works finde. I can send messages an other
client (on the same machine) get it. There onMessage
method awakes an is doing its job.
But when the OpenJMS server is on an other machine,
far away on the internet or next to me using a cros-link-
cable, it does not work. I can send messages but
onMessage() never awakes.
So I put a test-recieve button to the panel. ( a of
course had to delete the messega listener) When i now
send a message, the onMessage() method does no not
do anything (of course) but when i use the recieve
button (mytopic.recieve()) i get the message e sent.
what is the problem? i can´t imagine that OpenJMS
can´t communicate over a network. Do i have to start
something, could i do anything wrong when using an
external server as a local server?
----------------------------------------------------------------------
Comment By: David Howe (davidrh)
Date: 2006-06-05 00:28
Message:
Logged In: YES
user_id=640039
I am getting the same problem, even with two machines on
the same local network. Everything works when OpenJMS and
the client apps are running on the same machine, but no
messages appear to be received and processed when the
receiver that has the MessageListener is moved to a
different machine.
When I browse the queue with Hermes I can see that the same
number of messages that I have MessageListeners for have
disappeared off the queue. i.e. if I create and register
10 MessageListeners, then 10 messages disappear from the
queue. When I kill the receiving process, the ten messages
come back again.
I am running OpenJMS 0.7.7 alpha 3.
----------------------------------------------------------------------
Comment By: Tim Anderson (tanderson)
Date: 2005-02-16 13:14
Message:
Logged In: YES
user_id=557161
You might be having firewall problems. If you are using the
rmi connector, the server needs to open a connection back to
the client, which may fail if the client is behind a firewall.
If so, try using the tcp connector.
Re-open this (or better yet, discuss the problem on the
openjms-user list) if you have any issues.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=1104594&group_id=54559