Fix that works on my machine is now checked in

david jencks

On 2003.04.01 13:56 Scott M Stark wrote:
> The current 3.2 branch has a new failure in the
> JDBCStatementTestsConnectionUnitTestCase.
> 
> The server side exception is:
> 10:52:20,421 INFO  [MainDeployer] Deployed package:
> file:/C:/cvs/JBoss3.2/jboss-3.2/testsuite/output/lib/jbosstestdriver.jar
> 10:52:20,656 ERROR [LogInterceptor] RuntimeException:
> java.lang.IllegalStateException: Trying to return an unknown connection2!
> null
>         at 
> org.jboss.resource.connectionmanager.CachedConnectionManager.unregisterConnection(CachedConnectionManager.java:275)
>         at
> org.jboss.resource.connectionmanager.NoTxConnectionManager$NoTxConnectionEventListener.connectionErrorOccurred(NoTxConnectionM
> anager.java:1
> 55)
>         at
> org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.broadcastConnectionError(BaseWrapperManagedConnection.java:309)
>         at 
> org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.checkValid(BaseWrapperManagedConnection.java:255)
>         at
> org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.matchManagedConnections(LocalManagedConnectionFactory.java
> :179)
>         at
> org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:123)
>         at
> org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool.getConnection(JBossManagedConnectionPool.java:648)
>         at 
> org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:412)
>         at 
> org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:487)
>         at
> org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.j
> ava:780)
>         at 
> org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102)
>         at
> org.jboss.test.jca.ejb.JDBCStatementTestsConnectionSessionBean.testConnectionObtainable(JDBCStatementTestsConnectionSessionBea
> n.java:68)
>         at java.lang.reflect.Method.invoke(Native Method)
>         at 
> org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:629)
>         at 
> org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
>         at 
> org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
>         at 
> org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
>         at 
> org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:243)
>         at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104)
>         at 
> org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:117)
>         at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:198)
>         at 
> org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
>         at 
> org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:322)
>         at org.jboss.ejb.Container.invoke(Container.java:678)
>         at java.lang.reflect.Method.invoke(Native Method)
>         at 
> org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
>         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
>         at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:358)
>         at java.lang.reflect.Method.invoke(Native Method)
>         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:236)
>         at sun.rmi.transport.Transport$1.run(Transport.java:147)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at sun.rmi.transport.Transport.serviceCall(Transport.java:143)
>         at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
>         at 
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
>         at java.lang.Thread.run(Thread.java:479)
> 
> The junit client side view of this exception is:
>  RemoteException occurred in server thread; nested exception is:
> java.rmi.ServerException: RuntimeException; nested exception
> is: java.lang.IllegalStateException: Trying to return an unknown
> connection2! null
> java.rmi.ServerException: RemoteException occurred in server thread;
> nested exception is:
> java.rmi.ServerException: RuntimeException; nested exception is:
> java.lang.IllegalStateException: Trying to return an unknown connection2!
> null
> java.rmi.ServerException: RuntimeException; nested exception is:
> java.lang.IllegalStateException: Trying to return an unknown connection2!
> null
> java.lang.IllegalStateException: Trying to return an unknown connection2!
> null
> at 
> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:240)
> at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:215)
> at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:117)
> at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown
> Source)
> at 
> org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:139)
> at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:92)
> at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:77)
> at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:80)
> at 
> org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:109)
> at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:82)
> at $Proxy1.testConnectionObtainable(Unknown Source)
> at
> org.jboss.test.jca.test.JDBCStatementTestsConnectionUnitTestCase.testJDBCStatementTestsConnection(JDBCStatementTestsConnection
> UnitTestCase.java:45)
> at java.lang.reflect.Method.invoke(Native Method)
> at junit.framework.TestCase.runTest(TestCase.java:166)
> at junit.framework.TestCase.runBare(TestCase.java:140)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:131)
> at junit.framework.TestSuite.runTest(TestSuite.java:173)
> at junit.framework.TestSuite.run(TestSuite.java:168)
> at junit.framework.TestSuite.runTest(TestSuite.java:173)
> at junit.framework.TestSuite.run(TestSuite.java:168)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at 
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
> at 
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:524)
> 
> xxxxxxxxxxxxxxxxxxxxxxxx
> Scott Stark
> Chief Technology Officer
> JBoss Group, LLC
> xxxxxxxxxxxxxxxxxxxxxxxx
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: ValueWeb: 
> Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
> No other company gives more support or power for your dedicated server
> http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
> 
> 


-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to