Timeout Occurs After 30 Minutes with Webstart/ADF Application Connecting to ADF EJB. (Doc ID 436780.1)

Last updated on FEBRUARY 24, 2017

Applies to:

Oracle HTTP Server - Version: 10.1.3.1.0 to 10.1.3.5.0 - Release: AS10gR3 to AS10gR3
Information in this document applies to any platform.
***Checked for relevance on 23-Feb-2010***

Symptoms

An ADF remote (Stateful session bean) application is running as a client and after holding on for about 30 minutes, got the following exception:

8.05.2007 10:48:24 oracle.j2ee.rmi.RMIMessages EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER
WARNING: Exception returned by remote server: {0}
oracle.oc4j.rmi.OracleRemoteException: Error resuming transaction
at com.evermind.server.ejb.EJBTransactionManager.resumeRemote(EJBTransactionManager.java:198)

When increasing or decreasing the timeout parameter the error did not go away.

-- Steps To Reproduce:
Follow the steps of this example:
http://www.oracle.com/technetwork/developer-tools/jdev/viewlet-viewlet-swf-083700.html

Then change it as following:
  1. After starting ADFJClientComponentDemo.jws, please test it as mentioned in the readme provided with the project.
  2. Go to the application module (OnlineordersModule) in the project (OnlineOrders) and edit it.
    Make the application module remoteable and select EJB Session Bean. The session Bean properties are Stateful and Bean Managed.
  3. Create Business Components deployment Profile for the application Module OnlineordersModule for your specific application server and database connections.
  4. Change the files data-sources.xml, orion-ejb-jar.xml, DataBindings.ctx, testApplicationDefinition.java and LoadMedia.java .
  5. Deploy the server Project (OnlineOrders) and run the Client Project (ComponentDemo)
  6. A window with Database contents will appear.
  7. Wait 30 Minutes and try to close the window. It will not close. In JDeveloper you can find error messages.


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms