[JBoss-user] [JBoss AOP] - Transaction is not active

2006-06-23 Thread sumonwai
I'm getting Transaction is not active error while using JBoss 4.0.3 and PSQL 
8.0 with JDBC postgresql-8.1-407.jdbc2ee.jar.

*
2006-06-23 00:48:27,368 WARN  [org.jboss.tm.TransactionImpl] Transaction 
TransactionImpl:XidImpl[FormatId=257, GlobalId=test.vps-host.net/79, 
BranchQual=, localId=79] timed out. status=STATUS_ACTIVE

2006-06-23 00:48:28,843 ERROR [com.vSessionEJBBean] 
ServiceLocator.getDBConnection.SQLException: Transaction is not active: 
tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=test.vps-host.net/79, 
BranchQual=, localId=79]; - nested throwable: 
(javax.resource.ResourceException: Transaction is not active: 
tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=test.vps-host.net/79, 
BranchQual=, localId=79])
2006-06-23 00:48:28,843 INFO  [STDOUT] com.DataSourceException:  timeout=0 
ServiceLocator.getDBConnection.SQLException: Transaction is not active: 
tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=test.vps-host.net/79, 
BranchQual=, localId=79]; - nested throwable: 
(javax.resource.ResourceException: Transaction is not active: 
tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=test.vps-host.net/79, 
BranchQual=, localId=79])
2006-06-23 00:48:28,844 INFO  [STDOUT]  at 
com.ServiceLookupManager.getDBConnection(ServiceLookupManager.java:562)
2006-06-23 00:48:28,845 INFO  [STDOUT]  at com.DAO.isExists(DAO.java:160)
2006-06-23 00:48:28,845 INFO  [STDOUT]  at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2006-06-23 00:48:28,845 INFO  [STDOUT]  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2006-06-23 00:48:28,845 INFO  [STDOUT]  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2006-06-23 00:48:28,845 INFO  [STDOUT]  at 
java.lang.reflect.Method.invoke(Method.java:585)
2006-06-23 00:48:28,845 INFO  [STDOUT]  at 
org.jboss.invocation.Invocation.performCall(Invocation.java:345)
2006-06-23 00:48:28,846 INFO  [STDOUT]  at 
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214)
2006-06-23 00:48:28,846 INFO  [STDOUT]  at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:149)
2006-06-23 00:48:28,846 INFO  [STDOUT]  at 
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:154)
2006-06-23 00:48:28,846 INFO  [STDOUT]  at 
org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:54)
2006-06-23 00:48:28,846 INFO  [STDOUT]  at 
org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
2006-06-23 00:48:28,846 INFO  [STDOUT]  at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)
2006-06-23 00:48:28,846 INFO  [STDOUT]  at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
2006-06-23 00:48:28,846 INFO  [STDOUT]  at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
2006-06-23 00:48:28,846 INFO  [STDOUT]  at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:153)
2006-06-23 00:48:28,846 INFO  [STDOUT]  at 
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
2006-06-23 00:48:28,847 INFO  [STDOUT]  at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
2006-06-23 00:48:28,847 INFO  [STDOUT]  at 
org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
2006-06-23 00:48:28,847 INFO  [STDOUT]  at 
org.jboss.ejb.Container.invoke(Container.java:873)
2006-06-23 00:48:28,847 INFO  [STDOUT]  at 
sun.reflect.GeneratedMethodAccessor113.invoke(Unknown Source)
2006-06-23 00:48:28,847 INFO  [STDOUT]  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2006-06-23 00:48:28,847 INFO  [STDOUT]  at 
java.lang.reflect.Method.invoke(Method.java:585)
2006-06-23 00:48:28,877 INFO  [STDOUT]  at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
2006-06-23 00:48:28,877 INFO  [STDOUT]  at 
org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
2006-06-23 00:48:28,877 INFO  [STDOUT]  at 
org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
2006-06-23 00:48:28,877 INFO  [STDOUT]  at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
2006-06-23 00:48:28,877 INFO  [STDOUT]  at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
2006-06-23 00:48:28,877 INFO  [STDOUT]  at 
org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:155)
2006-06-23 00:48:28,877 INFO  [STDOUT]  at 
org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:104)
2006-06-23 00:48:28,877 INFO  [STDOUT]  at 
org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:179)
2006-06-23 00:48:28,878 INFO  [STDOUT]  at 

[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Transaction not Active excetion

2006-06-20 Thread sumonwai
I got the excately the same problem with you. But still can't solve it. Could 
you please explain me in detail with your code.
Many Thanks,


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3951879#3951879

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3951879


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user