Hi All,
I saw this behaviour consistently one day last week, Unable to recreate again.
I have a UserTransaction doing some DB work. In case If I get an error in committing,
I
get a connection from a non-tx DataSource to log a detailed message.
On this particular instance the transaction is timing out due to heavy volume on the
database.
When I tied to commit after the work is finished, I am getting the following
error(makes sense)
javax.transaction.RollbackException: Already marked for rollback
at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:331)
at org.jboss.tm.TxManager.commit(TxManager.java:141)
at
org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:126)
When I tried to get a connection to log to the ERROR_LOG table using no-tx DataSource,
I get
the following error. I was consistently getting this error on that day, did not happen
from then.
javax.resource.ResourceException: Interrupted while requesting permit!
at
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:188)
at
org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool.getConnection(JBossManagedConnectionPool.java:643)
at
org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:413)
at
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:488)
at
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:798)
at
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102)
I tried to recreate the above scenareo, first part can be recreated, but the second
one, I am unable to reproduce.
Did anyone saw this before?, If so, how to fix. Is this a weird behavior I saw that
day due to some other problems in environment
Thanks in advance,
Sampath
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831467#3831467
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831467
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user