Yes,  this has presented a number of problems for me in the past.  I haven't found a 
good work around other than simply not using a transaction of the long-running session 
bean.  You can push the timeout WAY up, but if you don't know what a reasonable time 
to set the transaction timeout to would be...



David P. Russell
Lead Technical Consultant
Idea Integration
[EMAIL PROTECTED]
[EMAIL PROTECTED]
(585) 249-2600
(585) 273-7728

>>> [EMAIL PROTECTED] 06/26/02 12:16PM >>>
Would a method in a session bean that initiates a transaction (let's say one
create
on a bean that is Required) timeout if the method took a very long time to
run?
In other words it's something like

{
        home.create(key,...);
        runforalongtime();
}

eric

-----Original Message-----
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]On Behalf Of David Jencks
Sent: Wednesday, June 26, 2002 11:13 AM
To: [EMAIL PROTECTED] 
Subject: Re: [JBoss-user] transaction timed out


If you insert that many beans in one tx, it  might timeout.  You could use
more tx or increase the tx timeout.

david jencks

On 2002.06.26 10:25:29 -0400 Eric Kaplan wrote:
> I got the following:
>
> [WARN] [TxCapsule] Transaction XidImpl [FormatId=257,
> GlobalId=ARMANTAC2//1,
> BranchQual=] timed out. status=STATUS_ACTIVE
>
> This was in the midst of creating about 11000 beans, I got this one
> error.
> Can anyone tell me what I should investigate?
>
> Thanks
>
> Eric Kaplan
> Armanta, Inc.
> 55 Madison Ave.
> Morristown, NJ  07960
> Phone: (973) 326-9600
>
>


-------------------------------------------------------
This sf.net email is sponsored by: Jabber Inc.
Don't miss the IM event of the season | Special offer for OSDN members!
JabberConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn 
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED] 
https://lists.sourceforge.net/lists/listinfo/jboss-user 



-------------------------------------------------------
This sf.net email is sponsored by: Jabber Inc.
Don't miss the IM event of the season | Special offer for OSDN members! 
JabberConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn 
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED] 
https://lists.sourceforge.net/lists/listinfo/jboss-user



-------------------------------------------------------
This sf.net email is sponsored by: Jabber Inc.
Don't miss the IM event of the season | Special offer for OSDN members!
JabberConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to