Description
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.openejb.client.StickToLastServerConnectionFactoryStrategyTest
Apr 4, 2008 5:57:39 PM org.apache.openejb.client.StickToLastServerConnectionFactoryStrategy connect
WARNING: Cannot connect to server(s): localhost:4201 Exception: java.io.IOException
at com.agical.rmock.core.action.ThrowsAction.invocation(ThrowsAction.java:21)
at com.agical.rmock.core.expectation.InvocationVerifier.invocation(InvocationVerifier.java:51)
at com.agical.rmock.core.expectation.Engine.invocation(Engine.java:65)
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:585)
at com.agical.rmock.core.hub.ProxySetMethodConnectionStrategy$ConsumableInvocationHandler.invoke(ProxySetMethodConnectionStrategy.java:34)
at $Proxy4.invocation(Unknown Source)
at com.agical.rmock.extension.cglib.InterfaceInvocationHandler.invoke(InterfaceInvocationHandler.java:85)
at org.apache.openejb.client.ConnectionFactoryMock.getConnection(<generated>)
at org.apache.openejb.client.ConnectionManager.getConnection(ConnectionManager.java:43)
at org.apache.openejb.client.StickToLastServerConnectionFactoryStrategy.connect(StickToLastServerConnectionFactoryStrategy.java:70)
at org.apache.openejb.client.StickToLastServerConnectionFactoryStrategy.connect(StickToLastServerConnectionFactoryStrategy.java:47)
at org.apache.openejb.client.StickToLastServerConnectionFactoryStrategyTest.testThrowsRemoteExceptionIfCannotConnectToAllURIs(StickToLastServerConnectionFactoryStrategyTest.java:54)
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:585)
at com.agical.rmock.core.strategy.impl.MethodStep.invokeMethod(MethodStep.java:37)
at com.agical.rmock.core.strategy.impl.MethodStep.run(MethodStep.java:29)
at com.agical.rmock.core.strategy.impl.ExceptionVerifierTestStepDecorator.run(ExceptionVerifierTestStepDecorator.java:22)
at com.agical.rmock.core.strategy.impl.CompositeStep.run(CompositeStep.java:24)
at com.agical.rmock.core.strategy.impl.FinallyStep.run(FinallyStep.java:19)
at com.agical.rmock.core.expectation.Engine.runStrategy(Engine.java:142)
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:585)
at com.agical.rmock.core.hub.ProxySetMethodConnectionStrategy$ConsumableInvocationHandler.invoke(ProxySetMethodConnectionStrategy.java:34)
at $Proxy11.runStrategy(Unknown Source)
at com.agical.rmock.extension.junit.AbstractStrategyTestCase.runBare(AbstractStrategyTestCase.java:112)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:165)
at org.apache.maven.surefire.Surefire.run(Surefire.java:107)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:285)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:976)
Apr 4, 2008 5:57:39 PM org.apache.openejb.client.StickToLastServerConnectionFactoryStrategy connect
WARNING: Cannot connect to server(s): localhost:4202 Exception: java.io.IOException
at com.agical.rmock.core.action.ThrowsAction.invocation(ThrowsAction.java:21)
at com.agical.rmock.core.expectation.InvocationVerifier.invocation(InvocationVerifier.java:51)
at com.agical.rmock.core.expectation.Engine.invocation(Engine.java:65)
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:585)
at com.agical.rmock.core.hub.ProxySetMethodConnectionStrategy$ConsumableInvocationHandler.invoke(ProxySetMethodConnectionStrategy.java:34)
at $Proxy4.invocation(Unknown Source)
at com.agical.rmock.extension.cglib.InterfaceInvocationHandler.invoke(InterfaceInvocationHandler.java:85)
at org.apache.openejb.client.ConnectionFactoryMock.getConnection(<generated>)
at org.apache.openejb.client.ConnectionManager.getConnection(ConnectionManager.java:43)
at org.apache.openejb.client.StickToLastServerConnectionFactoryStrategy.connect(StickToLastServerConnectionFactoryStrategy.java:70)
at org.apache.openejb.client.StickToLastServerConnectionFactoryStrategy.connect(StickToLastServerConnectionFactoryStrategy.java:47)
at org.apache.openejb.client.StickToLastServerConnectionFactoryStrategyTest.testThrowsRemoteExceptionIfCannotConnectToAllURIs(StickToLastServerConnectionFactoryStrategyTest.java:54)
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:585)
at com.agical.rmock.core.strategy.impl.MethodStep.invokeMethod(MethodStep.java:37)
at com.agical.rmock.core.strategy.impl.MethodStep.run(MethodStep.java:29)
at com.agical.rmock.core.strategy.impl.ExceptionVerifierTestStepDecorator.run(ExceptionVerifierTestStepDecorator.java:22)
at com.agical.rmock.core.strategy.impl.CompositeStep.run(CompositeStep.java:24)
at com.agical.rmock.core.strategy.impl.FinallyStep.run(FinallyStep.java:19)
at com.agical.rmock.core.expectation.Engine.runStrategy(Engine.java:142)
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:585)
at com.agical.rmock.core.hub.ProxySetMethodConnectionStrategy$ConsumableInvocationHandler.invoke(ProxySetMethodConnectionStrategy.java:34)
at $Proxy11.runStrategy(Unknown Source)
at com.agical.rmock.extension.junit.AbstractStrategyTestCase.runBare(AbstractStrategyTestCase.java:112)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:165)
at org.apache.maven.surefire.Surefire.run(Surefire.java:107)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:285)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:976)
Apr 4, 2008 5:57:39 PM org.apache.openejb.client.StickToLastServerConnectionFactoryStrategy connect
WARNING: Cannot connect to server(s): localhost:4201 Exception: java.io.IOException
at com.agical.rmock.core.action.ThrowsAction.invocation(ThrowsAction.java:21)
at com.agical.rmock.core.expectation.InvocationVerifier.invocation(InvocationVerifier.java:51)
at com.agical.rmock.core.expectation.Engine.invocation(Engine.java:65)
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:585)
at com.agical.rmock.core.hub.ProxySetMethodConnectionStrategy$ConsumableInvocationHandler.invoke(ProxySetMethodConnectionStrategy.java:34)
at $Proxy4.invocation(Unknown Source)
at com.agical.rmock.extension.cglib.InterfaceInvocationHandler.invoke(InterfaceInvocationHandler.java:85)
at org.apache.openejb.client.ConnectionFactoryMock.getConnection(<generated>)
at org.apache.openejb.client.ConnectionManager.getConnection(ConnectionManager.java:43)
at org.apache.openejb.client.StickToLastServerConnectionFactoryStrategy.connect(StickToLastServerConnectionFactoryStrategy.java:70)
at org.apache.openejb.client.StickToLastServerConnectionFactoryStrategy.connect(StickToLastServerConnectionFactoryStrategy.java:47)
at org.apache.openejb.client.StickToLastServerConnectionFactoryStrategyTest.testReturnFirstSuccessfulConnection(StickToLastServerConnectionFactoryStrategyTest.java:68)
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:585)
at com.agical.rmock.core.strategy.impl.MethodStep.invokeMethod(MethodStep.java:37)
at com.agical.rmock.core.strategy.impl.MethodStep.run(MethodStep.java:29)
at com.agical.rmock.core.strategy.impl.ExceptionVerifierTestStepDecorator.run(ExceptionVerifierTestStepDecorator.java:22)
at com.agical.rmock.core.strategy.impl.CompositeStep.run(CompositeStep.java:24)
at com.agical.rmock.core.strategy.impl.FinallyStep.run(FinallyStep.java:19)
at com.agical.rmock.core.expectation.Engine.runStrategy(Engine.java:142)
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:585)
at com.agical.rmock.core.hub.ProxySetMethodConnectionStrategy$ConsumableInvocationHandler.invoke(ProxySetMethodConnectionStrategy.java:34)
at $Proxy11.runStrategy(Unknown Source)
at com.agical.rmock.extension.junit.AbstractStrategyTestCase.runBare(AbstractStrategyTestCase.java:112)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:165)
at org.apache.maven.surefire.Surefire.run(Surefire.java:107)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:285)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:976)
Apr 4, 2008 5:57:39 PM org.apache.openejb.client.StickToLastServerConnectionFactoryStrategy connect
WARNING: Cannot connect to server(s): localhost:4201 Exception: java.io.IOException
at com.agical.rmock.core.action.ThrowsAction.invocation(ThrowsAction.java:21)
at com.agical.rmock.core.expectation.InvocationVerifier.invocation(InvocationVerifier.java:51)
at com.agical.rmock.core.expectation.Engine.invocation(Engine.java:65)
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:585)
at com.agical.rmock.core.hub.ProxySetMethodConnectionStrategy$ConsumableInvocationHandler.invoke(ProxySetMethodConnectionStrategy.java:34)
at $Proxy4.invocation(Unknown Source)
at com.agical.rmock.extension.cglib.InterfaceInvocationHandler.invoke(InterfaceInvocationHandler.java:85)
at org.apache.openejb.client.ConnectionFactoryMock.getConnection(<generated>)
at org.apache.openejb.client.ConnectionManager.getConnection(ConnectionManager.java:43)
at org.apache.openejb.client.StickToLastServerConnectionFactoryStrategy.connect(StickToLastServerConnectionFactoryStrategy.java:70)
at org.apache.openejb.client.StickToLastServerConnectionFactoryStrategy.connect(StickToLastServerConnectionFactoryStrategy.java:47)
at org.apache.openejb.client.StickToLastServerConnectionFactoryStrategyTest.testReConnectToLastServerFirst(StickToLastServerConnectionFactoryStrategyTest.java:81)
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:585)
at com.agical.rmock.core.strategy.impl.MethodStep.invokeMethod(MethodStep.java:37)
at com.agical.rmock.core.strategy.impl.MethodStep.run(MethodStep.java:29)
at com.agical.rmock.core.strategy.impl.ExceptionVerifierTestStepDecorator.run(ExceptionVerifierTestStepDecorator.java:22)
at com.agical.rmock.core.strategy.impl.CompositeStep.run(CompositeStep.java:24)
at com.agical.rmock.core.strategy.impl.FinallyStep.run(FinallyStep.java:19)
at com.agical.rmock.core.expectation.Engine.runStrategy(Engine.java:142)
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:585)
at com.agical.rmock.core.hub.ProxySetMethodConnectionStrategy$ConsumableInvocationHandler.invoke(ProxySetMethodConnectionStrategy.java:34)
at $Proxy11.runStrategy(Unknown Source)
at com.agical.rmock.extension.junit.AbstractStrategyTestCase.runBare(AbstractStrategyTestCase.java:112)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:165)
at org.apache.maven.surefire.Surefire.run(Surefire.java:107)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:285)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:976)
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.504 sec