Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

help

 
Sarita Gupta
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting the following error when connection to the fbn server. Can anyone tell me what could be the cause.
url rmi//xx.x.x.xxx:1099/FBNDataAccess
Trouble: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.net.SocketException: Software caused connection abort: recv failed
It seems to work fine if both the server and client run on the same machine... pls someone help
Sarita
 
aadhi agathi
Ranch Hand
Posts: 263
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please check
1) the stub is in the classpath , then
2) start rmiregistry
3) then the fbn server

hope this will work!
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The recv is a C function for reading the data.
Can I suggest that you just for now try to get a very simple RMI demo program running between the two systems? See if you get the same problem.
-Barry
 
Sarita Gupta
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have added to the classpath, fbnServer.jar.
And I have the following code in the constructor of the FBNServer
Registry registry = LocateRegistry.createRegistry(portNo);
Naming.bind(url, factory)
So I don't have to start the registry seerately.
Anything wrong here....
Sarita
[ April 28, 2003: Message edited by: Sarita Gupta ]
 
Sarita Gupta
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ooops I guess it was a typo my part.... the url string was incorrect... It's working perfect now
Thanks all anyways.
Sarita
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Glad we could hlep.
Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic