wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Messaging working in Tomcat deployed on Windows but failing in Tomcat deployed on Ubuntu Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Messaging working in Tomcat deployed on Windows but failing in Tomcat deployed on Ubuntu" Watch "Messaging working in Tomcat deployed on Windows but failing in Tomcat deployed on Ubuntu" New topic
Author

Messaging working in Tomcat deployed on Windows but failing in Tomcat deployed on Ubuntu

Alvin Watkins
Ranch Hand

Joined: May 25, 2011
Posts: 53
I hope I can ask this question in a way that allows someone to help me.

I have created a chat room type solution where up to four users can join a particular "room". I have a Java RMI server running as a stand alone socket. UI clients call the war file deployed in Tomcat which instantiates an RMI client which calls the RMI server. Up to four UI clients can join a room where they will be informed of what each other UI client in the room is doing.

BlazeDS has a solution for creating a chat solution like this using asynchronous messaging. I deployed BlazeDS in Tomcat on Windows and had success with BlazeDS passing asynchronous messages to all clients subscribed to the topic. Then I was forced to migrate to Ubuntu.

The same code on Ubuntu is failing. I have print statements on the server that show the Flex client connecting and subscribing to receive messages. However, nothing ever happens at my Flex client (it never receives any messages) and the server eventually prints the following log data:



Can anyone give me any ideas on how to fix this?

Thank you.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Messaging working in Tomcat deployed on Windows but failing in Tomcat deployed on Ubuntu
 
Similar Threads
BlazeDS is not responding through Apache
JMS performance.
Any way to get underlying RMI Socket?
Flex3 with Java - Questions
Multithreaded Chat server (Rooms Creation)