File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes MySql/JBoss/Java CPU 100% after a while Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "MySql/JBoss/Java CPU 100% after a while" Watch "MySql/JBoss/Java CPU 100% after a while" New topic

MySql/JBoss/Java CPU 100% after a while

Ken Hively

Joined: Nov 17, 2004
Posts: 2

This is the warning/error I'm getting every time the mysql process maxes out my server's CPU. I've searched and can't any answers to this problem. Granted, I am slightly unfamiliar with the inner workings of MySQL. Thanks for any help!

P.S. It's running on Linux under the default WebMin settings.

2004-11-17 20:11:21,405 WARN [] Transaction TransactionImpl:XidImpl [FormatId=257,, BranchQual=] timed out. status=STATUS_ACTIVE
Eduardo Rodrigues
Ranch Hand

Joined: Jul 01, 2003
Posts: 199
Your transaction is taking too long to complete...
Maybe there is a deadlock (on the beans or on the database)... Verify the LockMonitor to see the contention on the beans...
CAUTION: On some versions there is a bug, when a transaction time out the connection IS NOT returned to the pool... Just use the 3.2.6 version...


Eduardo Rodrigues<br />SCJP 1.4/5.0 SCWCD 1.3/1.4, SCBCD 1.3, SCMAD, SCEA<br />IBM 484 & 486<br />Belo Horizonte<br />Minas Gerais<br />Brasil
I agree. Here's the link:
subject: MySql/JBoss/Java CPU 100% after a while
It's not a secret anymore!