This error message says you are trying to use a connection that has being returned to the pool (the connection object you get from the datasource is no longer associated with a real connection).
Regards, Adrian On Thu, 2004-01-08 at 20:50, Sasidharan, Manoj wrote: > Hello All, > > We are trying to port our BEA Weblogic application to JBoss and are > experiencing a new problem. The system gives the following exception. We did > review the code and could not see why this should happen. > > Any ideas or tips on what we should be looking for? > > Thanks in advance for your time and help. > > rgds > MS > > 2003-12-29 19:29:43,313 WARN > [org.jboss.resource.connectionmanager.TxConnectionManager] Prepare called on > a local tx. Use of local transactions on a jta transaction with more than > one branch may result in inconsis > tent data in some cases of failure. > 2003-12-29 19:29:43,422 ERROR [STDERR] [Mon Dec 29 19:29:43 PST > 2003][ERROR][9628012][Debug.java:333]: Connection handle is not currently > associated with a ManagedConnection [SQL]: UPDATE test_tab_1 > SET str_1 = ? WHERE plx_courier_id = ? > 2003-12-29 19:29:43,431 ERROR [STDERR] [ERROR]Connection handle is not > currently associated with a ManagedConnection > 2003-12-29 19:29:43,436 ERROR [STDERR] [Mon Dec 29 19:29:43 PST 2003][CALL > STACK][9628012][java.sql.SQLException: Connection handle is not currently > associated with a ManagedConnection at > org.jboss.resource.adapter.jdbc.WrappedConnection.checkStatus(WrappedConnect > ion.java:776) > at > org.jboss.resource.adapter.jdbc.WrappedConnection.prepareStatement(WrappedCo > nnection.java:206) > at com.plx.framework.sql.SQLProcessor.execute(SQLProcessor.java:238) > at > com.plx.efw.server.variable.VariableHelper.addValue(VariableHelper.java:365) > at > com.plx.efw.server.courier.CourierSessionBean.add(CourierSessionBean.java:51 > 2) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 > ) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl > .java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(Stateles > sSessionContainer.java:683) > at > org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(Cach > edConnectionInterceptor.java:185) > at > org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSe > ssionInstanceInterceptor.java:72) > at > org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor > .java:84) > at > org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT. > java:267) > at > org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128) > at > org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:11 > 8) > at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) > at > org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinde > rInterceptor.java:122) > at > org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionConta > iner.java:331) > at > org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionConta > iner.java:331) > at org.jboss.ejb.Container.invoke(Container.java:700) > at > org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFacto > ry.java:375) > at > org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionPro > xy.java:83) > at $Proxy146.add(Unknown Source) > at > com.plx.efw.common.command.CourierAddMapActSetCommand.executeCommand(Courier > AddMapActSetCommand.java:154) > at > com.plx.efw.common.command.CourierCommand.execute(CourierCommand.java:70) > at > com.plx.framework.command.CommandServer.executeCommand(CommandServer.java:91 > ) > at > com.plx.framework.command.CommandServer.execute(CommandServer.java:66) > at > com.plx.efw.server.command.EJBCommandServerBean.execute(EJBCommandServerBean > .java:160) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 > ) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl > .java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(Stateles > sSessionContainer.java:683) > at > org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(Cach > edConnectionInterceptor.java:185) > at > org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSe > ssionInstanceInterceptor.java:72) > at > org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor > .java:84) > at > org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT. > java:267) > at > org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128) > at > org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:11 > 8) > at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) > at > org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinde > rInterceptor.java:122) > at > org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionConta > iner.java:331) > at org.jboss.ejb.Container.invoke(Container.java:700) > at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl > .java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat > cher.java:284) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) > at > org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:367) > at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl > .java:25) > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user -- xxxxxxxxxxxxxxxxxxxxxxxx Adrian Brock Director of Support Back Office JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user