Skip to main content

JTS5022: Unexpected exception (com.sun.jts.CosTransactions.LogException: LOG007)

No replies
Joined: 2013-07-10
Points: 0

Hi there,
I'm writing here because we have in our production environment the issue highlighted in this post subject.
These are our system specifications:
- Server 1
- ActiveMQ 5.6.0
- Glassfish 3.1.2
- Windows 2008 R2

- Server 2
- Oracle 11gR2
- Windows 2008 R2

We have a stand-alone java application that receives a huge amount of messages by tcp/serial connections and puts them into a JMS queue hosted by ActiveMQ.
Then inside our Glassfish we have a "core" MDB that gets messages from the JMS queue, reads them, does some stuff with the DB, and starts an internal workflow that activates other MDBs hosted by the same Glassfish.

Yesterday and today morning we found the system freezed, meaning that the "core" MDB wasn't able to activate the internal workflow and inside the Glassfish server.log file we found the following message:

[#|2013-07-10T03:02:01.167 0000|SEVERE|oracle-glassfish3.1.2||_ThreadID=444;_ThreadName=Thread-2;|JTS5022: Unexpected exception [com.sun.jts.CosTransactions.LogException: LOG007: Write failure. Log exception at point 9. ] from log. |#]

Two seconds later (2013-07-10T03:02:03), our applications hosted by Glassfish started to write the following logs:
Error in allocating a connection. Cause: In-use connections equal max-pool-size and expired max-wait-time. Cannot allocate more connections

To fix that situation we had to stop/start Glassfish.

I've searched over the internet for any solution/suggestion but didn't find anything.

May someone help me ?

Thanks in advanced and excuse me for my bad english.