Discussion:
[openjms-developer] [ openjms-Bugs-1104594 ] onMessage() does not get activated
SourceForge.net
2005-02-16 13:14:52 UTC
Permalink
Bugs item #1104594, was opened at 2005-01-19 03:37
Message generated for change (Settings changed) made by tanderson
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=1104594&group_id=54559

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: Tim Anderson (tanderson)
Date: 2005-02-17 00: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
Loading...