• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

RMI Server dying silently

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 538
Hibernate Eclipse IDE Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
E.g.
private static MyServerImpl myserver;
//in main
public static void main(String args[])
{
myserver = new MyServerImpl();
}
 
reply
    Bookmark Topic Watch Topic
  • New Topic