-
1. Re: Transaction not active!!
marklittle Jul 31, 2006 5:07 AM (in response to sajid2045)Try setting the timeout to a very large value just to be sure that's not the case.
-
2. Re: Transaction not active!!
sajid2045 Jul 31, 2006 11:52 PM (in response to sajid2045)Hi mark,
thnx for your suggestion. But I've already tried that. when my timeout is set to 10 mins, i get the error in 20 secs.Now, I'm being able to replicate the case. My bulk operation is completed successfully every time when the server is just started. It starts problem when there is another operation which keeps some dirty open transaction on a stateful session bean. But that operation is on a different component & different table. It seems that the dirty transactions are somehow visible to this transaction. Is that possible? Is the dirty transactions using up something? The dirty transactions which are timed out are not releasing the connections properly.
By the way, I'm using the Arjuna Tx manager. Can that be the cause of my problem? I configured it using the INSTALL manual. Is there any special things to be done? Any suggestion will be greately appreciated.
Sajid
PS: when can we expect to have a jboss release with arjuna Tx installed in it. that will erase all the confusions. -
3. Re: Transaction not active!!
sajid2045 Aug 1, 2006 12:01 AM (in response to sajid2045)PS: I am using the transaction timeout defined in mbean declaration in jboss-service.xml.
Is is necessary to set it in jbossjts-properties.xml too?
sajid -
4. Re: Transaction not active!!
kconner Aug 1, 2006 3:18 AM (in response to sajid2045)If it is happening after 20 seconds then it is unlikely to be a timeout issue, especially as it only appears to happen with the 'dirty transaction'. Your guess as to the cause is likely to be correct.
Are you able to see which transactions are active in your database? Does your admin tool tell you which locks are held? Which locks are being acquired? Which database are you using?
What is happening in the 'dirty transaction'? What is happening in your bulk operation?
Are there any earlier messages in your log files which would indicate any other issue? -
5. Re: Transaction not active!!
marklittle Aug 1, 2006 4:01 AM (in response to sajid2045)"sajid2045" wrote:
PS: when can we expect to have a jboss release with arjuna Tx installed in it. that will erase all the confusions.
What do you mean by this? What confusion? Do you mean during the install process?