Does the TX eventually time out and give you a stack trace?  There is one
deadlock scenario that we don't detect
All this is in the same thread.

1. begin tx1
2. access entity bean  A (does lock for tx1
3. suspend tx1 (a RequiresNew or something similar)
4. begin tx2
5. access entity bean A

How to turn off debugging?  Go to server/default/conf/log4j.xml

In the "FILE" appender add a threshhold of WARN or INFO:

    <param name="Threshold" value="INFO"/>

Bill


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Janardhan
> Burugupalli
> Sent: Tuesday, July 22, 2003 10:20 AM
> To: [EMAIL PROTECTED]
> Subject: AW: [JBoss-user] Tx lock detection not possible even as i
> enabled EntityLockMonitor
>
>
> Hi All,
>
> I have problems regarding the Tx lock. My client hangs when performing a
> specific command like loading data of a form the server. Its always in the
> same place . So in dont get any error message , but to think that
> there is a
> TX lock i dont get any information in the server.log.
>
> I activated the metricsinterceptor and also the EntityLockMonitor as
> specified in the documentation. But in any case i cant see the message or
> info regarding some TX locks or some thing like that happened.
>
> And one more thing is that i see a lot of debug output in the server.log
> file specifying all the SQL commands with rrespective values inserted into
> the table a sample i pasted down here. I want to turn this debug off. Can
> any one please tell me were i can do this. I tried all means of
> metricsenabled=false and also in the standardjaws.xml i turned debug to
> false .
>
> 2003-07-22 14:57:11,824 DEBUG
> [org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand]
> Set parameter: idx=5, jdbcType=VARCHAR, value=
>
>
> thanks
> and regards
> jani
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: VM Ware
> With VMware you can run multiple operating systems on a single machine.
> WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
> same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to