Abderrazak BOUADMA
Abderrazak BOUADMA

Reputation: 1606

Exception [EclipseLink-2004]

I'm having the following issue since a bunch of weeks. See the pastebin link here

link was deleted and no more accurate with the question

here's the Runtime context :

  1. GWT 2.4.0
  2. Oracle 11g
  3. EclipseLink Implementation-Version: 1.1.4.v20100812-r7860 (META-INF)

    <persistence-unit name="EXPRESSO_resourceLocalUnit"
    transaction-type="RESOURCE_LOCAL">
    

Tt happens only and always at application first time call, at that time the applications loads data from database to fill a Grid. Wether the exception is raised or not, data is loaded correctly.

No transaction is used while loading data (i.e: no tx.begin() is used)

Thanks in advance.

Upvotes: 0

Views: 306

Answers (1)

Chris
Chris

Reputation: 21145

Pleaes turn logging on to Finest to see what objects are involved, and check if you have any event methods such as postload etc that might result in an exception or perform some operation on the EntityManager. If the data is populated fine my guess is that it is because your application is handling the exception from the find call and continuing its processing. The stack indicates that the problem is occuring in a finally block, so it is difficult to determine if the exception is the result of another exception occuring in the try block.

EclipseLink 1.1.4 is rather old, so you might also want to try EclipseLink 2.3.3 or later just to verify that the underlying cause wasn't already fixed, or that it might give a better exception.

Upvotes: 1

Related Questions