How about try this one,
DEFAULT_TRANSACTION_TIMEOUT
public static final java.lang.String DEFAULT_TRANSACTION_TIMEOUT
The name of the property for specifying the default transaction timeout in
seconds. The value sets the maximum expiration time for a transaction. If
not specified, the property defaults to 120 (2 minutes).
Example: ejipt.defaultTransactionTimeout=30
The value of this constant is "ejipt.defaultTransactionTimeout".
Please check JRun JavaDoc.
-----Original Message-----
From: Mark Phelps [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 24, 2001 3:22 PM
To: JRun-Talk
Subject: Invalid or expired transaction
I am getting an exception with the message "Invalid or expired transaction",
when I execute a method on one of my EJBs. It appears to be caused by a
transaction timeout. It only happens when the method takes longer than 2-3
minutes to execute. I can work around the problem by configuring that EJB
to not support transactions but I would rather not do that.
Is there any way to control how long a transaction runs before it times out?
How?
Thanks
Mark Phelps
Software Technology Group
[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists