Results 1 to 9 of 9
Thread: RMI through Internet.???
- 05-17-2010, 11:27 AM #1
Member
- Join Date
- Apr 2010
- Posts
- 12
- Rep Power
- 0
RMI through Internet.???
I write a program use RMI . it run in LAN ok, but when i test through internet enviroment it can not run and throw exception: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is: java.net.SocketException: Softwaare caused connection abort:recv failed
-----------
Help me: how to run RMI throught Internet?:confused:
- 05-17-2010, 12:58 PM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Can you post the complete error message?
One more things to outline. Think about that the way it work when your communication happen from LAN to the WAN (Internet).
- 05-18-2010, 04:47 AM #3
Member
- Join Date
- Apr 2010
- Posts
- 12
- Rep Power
- 0
RMI through internet
Can you help me how to run RMI through Internet?
(server) MyPC-->.NAT-->Modem--->No-IP--->Client(call method from server).
Full ErrorMessage:
"java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is: java.net.SocketException: Softwaare caused connection abort:recv failed"
- 05-19-2010, 03:58 AM #4
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Socket exception, are you sure that you can connect to relevant IP/Port in the other location. Telnet and check first of all.
- 05-19-2010, 04:04 AM #5
Member
- Join Date
- Apr 2010
- Posts
- 12
- Rep Power
- 0
Telnet OK
when i try telnet command to ip with port from orther location on internet, it success..
- 05-19-2010, 04:08 AM #6
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
As I said earlier post the complete error message here then. The one you post is not the complete stack trace you comes with.
- 05-19-2010, 04:44 AM #7
Member
- Join Date
- Apr 2010
- Posts
- 12
- Rep Power
- 0
stack trace
sun.rmi.transport.tcp.TCPChannel.createConnection( Unknown Source)
sun.rmi.transport.tcp.TCPChannel.newConnection(Unk nown Source)
sun.rmi.server.UnicastRef.newCall(Unknown Source)
sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
client.Main.main(Main.java:48)
- 05-19-2010, 04:46 AM #8
Member
- Join Date
- Apr 2010
- Posts
- 12
- Rep Power
- 0
LIne 48 in Main method:
......
Registry rg=LocateRegistry.getRegistry("mycompany.no-ip.org",1723);
IActions svsi=(IActions)rg.lookup("http://www.rmi/DFS");
......
- 05-19-2010, 02:48 PM #9
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
What's the registry value you fond in run time? You comes with a connect abort...
Similar Threads
-
pc is connected to internet ???
By mahdi-farzami in forum NetworkingReplies: 1Last Post: 03-26-2010, 03:28 PM -
My Web App on Internet
By orion_mcl in forum Advanced JavaReplies: 1Last Post: 03-14-2010, 09:13 PM -
Internet Explorer
By maria.mt in forum New To JavaReplies: 2Last Post: 04-17-2009, 05:10 AM -
Get a File form internet by URL?
By makpandian in forum NetworkingReplies: 1Last Post: 02-20-2009, 06:48 PM -
Internet Filter
By sundarjothi in forum Java ServletReplies: 0Last Post: 05-15-2008, 11:50 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks