Quantcast
Channel: MySQL Forums - InnoDB
Viewing all articles
Browse latest Browse all 1957

innodb: Transaction not started (no replies)

$
0
0
Hi,

We are running MySQL 5.0.67 server and use a Java web-application deployed in Tomcat.We have a stored procedure 'p_pick_lead' in the DB and it is being invoked from the Java application on a web-request.

Of late, we are finding that sometimes, this procedure call does not go through. Java application has invoked the procedure and is waiting for the response. It keeps on waiting forever.

This behavior does not happen for all requests.
There was no modifications done to this procedure recently, and it was working fine for quite a long time.


When we checked the innodb status, it shows as Transaction not started.
However in the query logs, we find an entry for this procedure call.

Why is this transaction not yet started?
What could be the reason for this behavior?

Details are as follows:

Last few Query Log entries for the MySQL thread:
19:10:24 991625 Query SET autocommit=1
19:10:24 991625 Query select 1 from dual
19:10:24 991625 Query SET autocommit=0
19:10:24 991625 Query /* load iconcept.bo.AgentPreference */ select agentprefe0_.id as id52_0_, .....
19:10:24 991625 Query /* load collection iconcept.bo.AdminUser.grants */ select grants0_.AdminUser_id.........
19:10:24 991625 Query insert into reports.AdminAccessLog (adminUser_id,actionClass,methodName,............
19:10:24 991625 Query SHOW CREATE PROCEDURE `iconcept`.`p_pick_lead`
19:10:24 991625 Query call p_pick_lead(1054, @com_mysql_jdbc_outparam_out_lead_id, @com_mysql_jdbc_outparam_out_lead_type..............


Innodb Status:
.........
---TRANSACTION 0 106020465, not started, process no 1215, OS thread id 1159821648
MySQL thread id 991625, query id 544228452 ip-10-127-..........
.............

Viewing all articles
Browse latest Browse all 1957

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>