Title: RE: [jBoss-User] Transaction timed out

I've had the same problem. Found out it was because I used a session bean in which I took connection from the XADatasource pool, used it to perform a query and then forgot to close it (i.e. returning it back to the pool). Might be that you have the same problem.

When JBoss freezes on you try hitting Ctrl-Break. You should get a full thread dump. And at the top you should see all the RMI Connections waiting to get connection from the pool - which they can't because all have been taken out of the pool and none has beed returned to the pool - because you didn't call connection.close()

"RMI TCP Connection(278)-192.168.3.11" daemon prio=5 tid=0x11e6be40 nid=0x157 wa
iting on monitor [0x127df000..0x127dfdc0]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Unknown Source)
        at org.jboss.minerva.pools.ObjectPool.getObject(ObjectPool.java:557)
        at org.jboss.minerva.datasource.XAPoolDataSource.getConnection(XAPoolDat
aSource.java:169)
         ...

Of course it may be, that the source of your problem lies somewhere else... In this case try seing the database activity - locked processes. For that you'll need a database administration tool for your database..

  Marko.

> -----Original Message-----
> From: Tim Yates [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 23, 2001 11:39 AM
> To: jBoss
> Subject: [jBoss-User] Transaction timed out
>
>
> Hi, I am using Oracle 8i with the minerva XADatasource
> classes, with BMP
> entity beans, and I am getting the following error...
>
>   [TNSInstanceEjb] Transaction OracleXid [ ID=257,
> Global=natlang/5901,
> Branch=] timed out.  status=STATUS_ACTIVE
>
> ...after the server has been running for a few hours...
>
> Is this a manifestation of the cursors open problem?
>
> I have tried using the Oracle XA datasource classes, but they
> don't seem to
> work as I am using CLOBS (and BMP seems to cause a problem too)
>
> Has anyone got any ideas about this?  It is a bit of a showstopper
> (again)...
>
> Hope you can help me out!!
>
> Thanks in advance,
>
> Tim.
>
>
>
>
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> List Help?:          [EMAIL PROTECTED]
>

Reply via email to