« Migrating to OC4J: Leveraging the APP-INF directory | Main | The Week of New Software Releases (Updated) »

One Reason for "RMIConnection Disconnected"

Lately I was reminded of a case I solved last Summer: In this case one customer was facing the problem of an error message stating "RMIConnection Disconnected".

Problem

While monitoring the log files of OC4J we found that the called business method of the Session Bean took too long to respond to the
call from the client.

Solution

There are at least two ways to solve the problem:
  1. make the business method to respond quicker (highly recommended)
  2. change the timeout value (with the property rmi.client.connection.timeout=<value_in_seconds>)

Comments (3)

Kris Henneman:

In what file do you set the timeout value?

Olaf Heimburger:

Kris, this property is a command line property you can use -Drmi.client.connection.timeout=<value> in your startup script (for OC4J standalone) or in opmn.xml (for Oracle AS).
--olaf

Kris Henneman:

Thank you!

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About This Entry

This page contains a single entry from the blog posted on January 2, 2007 11:28 PM.

The previous post in this blog was Migrating to OC4J: Leveraging the APP-INF directory.

The next post in this blog is The Week of New Software Releases (Updated).

Many more can be found on the main index page or by looking through the archives.

Top Tags

Powered by
Movable Type and Oracle