• Post Reply Bookmark Topic Watch Topic
  • New Topic

RMI Server dying silently  RSS feed

 
Prakash Gorthy
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I have a RMI Server that is binding some remote objects for clients to lookup and use.

When I start the rmi registry and server(application class that is implementing remote interface) and leave them like that without calling my client application to lookup, the server is dying silently (not even with any error messages) in 60 seconds.

Is there a timeout setting for the server that needs to be changed?

The java version is 1.4.1_03 and the os is fedora core 2.

Any help is appreciated

Thanks

Bhanu
 
Eric Lemaitre
Ranch Hand
Posts: 538
Eclipse IDE Hibernate Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

You must have something about this in one log, certainly "/var/log/messages" at least, type "tail -f /var/log/messages" and try again.

Best regards.
 
Prakash Gorthy
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have checked /var/log/messages nothing it.

Any ideas greatly appreciated.

Bhanu
 
Prakash Gorthy
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks folks. I fixed it.
Declaring the server application as static fixed the problem.
Now it is not dying itself.

Thanks for the inputs and help
Bhanu
 
Prakash Gorthy
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
E.g.
private static MyServerImpl myserver;
//in main
public static void main(String args[])
{
myserver = new MyServerImpl();
}
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!