Re: openjms and nat

Tim Anderson <[email protected]> Mon, 08 Jan 2007 09:32:46 +1100
Newsgroups gmane.comp.java.openjms.user
Message-ID <[email protected]>
杜娟 wrote:
>   hi all
>      
>    I am trying to get OpenJMS server use  RMI connections .
>    
>    the client is  running on a Linux server that is behind a router ,like this
>       
>               
>    client--->router(NAT)--->openjms server 
>  
>    client<---router(NAT)<---openjms server 
>
>    my question is how can the client send and recive messages when i uses RMI connection
>   
You need to use the tcp or http connector.
The RMI connector requires that the server be able to establish a
connection back to the client which is typically not possible if the
client is behind a firewall.

See
http://openjms.sourceforge.net/config/reference.html#TcpConfiguration
and http://openjms.sourceforge.net/config/http.html

-Tim

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
openjms-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openjms-user