Re: Publish/Subscribe problem over internet

chris lau <ckl_88-FFYn/[email protected]>
Newsgroups gmane.comp.java.openjms.user
Message-ID <[email protected]>
Okay, converted the command line chat program to an
applet and i tried with IE, but still the same
problem. I was hoping that magically something would
fix itself and work ;-) But no luck today.

Please heelllllp!

--- chris lau <ckl_88-FFYn/[email protected]> wrote:
> I got a server setup with Tomcat and OpenJMS on a
> win2000 machine. I setup the openjms config file to
> use HTTP, TCP and RMI. Downloaded a sample chat
> program which publishes and subscribes to the same
> topic to get the desired effect. I played around
> with
> it and finally got it working on the localhost where
> the server is running. Awesome! 
> 
> Then I decided to try this over the internet using
> my
> work computer as the client and home computer as the
> server. 
> WC=work computer (client)
> HC=home computer (server)
> Router=a router which has NAT capabilities
> 
> WC <-> Router <-> internet <-> Router <-> HC
> 
> When I ran the chat program from a DOS prompt (as it
> only runs in command line mode), it started normally
> and waited for user input. When typed something in
> and
> pressed return, the openjms server dumped a
> JMSException exception in the tomcat log file. I
> examine it and basically said it couldn't connect to
> the client. It included the clients IP address and
> port. When I looked at the IP address, it is the
> internal IP address of the client behind it's NAT...
> thus it was trying to the connect to the client
> using
> 192.168.219.x:port. 
> 
> I don't know if the problem lies with the server
> configuration or the source code of the chat program
> but if anyone could direct me in the right
> direction,
> it would be appreciated!
> 
> 
> 
>
______________________________________________________________________
> 
> Post your free ad now! http://personals.yahoo.ca
> 
> 
>
-------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT
> Products from real users.
> Discover which products truly live up to the hype.
> Start reading now.
>
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> openjms-user mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/openjms-user
> 

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.