Stateless Session Ejb Retries Randomly The Transaction After 5 Minutes (Doc ID 1085545.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Containers for J2EE - Version: 10.1.2.0.2 and later   [Release: AS10gR2 and later ]
Information in this document applies to any platform.

Symptoms

A webservice deployed on OAS1 calls a stateless session ejb EJB1 which send a call to ejb2 (OAS2) to insert a document into a database. Usually documents are small and are inserted correctly into the database. When the insertion takes more than 5 minutes, the insertion is retried, BUT NOT ALWAYS and without apparently logic.

It is ALWAYS reproduced when calling via HTTP.
It was not reproduced when calling via webcache.
The reason seems to be that the HTTP Timeout was not affecting when accessing via webcache.

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