So you are saying that I should put a line in a config file that says:
ejipt.defaultTranscationTimeout = <Some larger value>
Is that correct? Which config file should this setting go in?
-----Original Message-----
From: John Zhao [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 24, 2001 1:52 PM
To: JRun-Talk
Subject: RE: Invalid or expired transaction
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]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists