SHARE
TWEET

Untitled

a guest Mar 14th, 2013 38 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. testCommitWithBothResources(org.jboss.narayana.quickstart.jca.xa.XAResourcesTest)  Time elapsed: 0.01 sec  <<< ERROR!
  2. java.sql.SQLException: javax.resource.ResourceException: IJ000453: Unable to get managed connection for java:PostgresDS
  3.         at org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:167)
  4.         at org.jboss.narayana.quickstart.jca.common.AbstractTest.before(AbstractTest.java:57)
  5.         at org.jboss.narayana.quickstart.jca.xa.XAResourcesTest.before(XAResourcesTest.java:26)
  6.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  7.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  8.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  9.         at java.lang.reflect.Method.invoke(Method.java:601)
  10.         at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
  11.         at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
  12.         at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
  13.         at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
  14.         at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
  15.         at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
  16.         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
  17.         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
  18.         at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
  19.         at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
  20.         at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
  21.         at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
  22.         at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
  23.         at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
  24.         at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
  25.         at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
  26.         at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
  27.         at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
  28.         at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
  29.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  30.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  31.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  32.         at java.lang.reflect.Method.invoke(Method.java:601)
  33.         at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
  34.         at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
  35.         at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
  36.         at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)
  37.         at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
  38. Caused by: javax.resource.ResourceException: IJ000453: Unable to get managed connection for java:PostgresDS
  39.         at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.getManagedConnection(AbstractConnectionManager.java:390)
  40.         at org.jboss.jca.core.connectionmanager.tx.TxConnectionManagerImpl.getManagedConnection(TxConnectionManagerImpl.java:368)
  41.         at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:464)
  42.         at org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:159)
  43.         ... 34 more
  44. Caused by: javax.resource.ResourceException: IJ000658: Unexpected throwable while trying to create a connection: null
  45.         at org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool.getConnection(SemaphoreArrayListManagedConnectionPool.java:378)
  46.         at org.jboss.jca.core.connectionmanager.pool.AbstractPool.getTransactionNewConnection(AbstractPool.java:495)
  47.         at org.jboss.jca.core.connectionmanager.pool.AbstractPool.getConnection(AbstractPool.java:374)
  48.         at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.getManagedConnection(AbstractConnectionManager.java:329)
  49.         ... 37 more
  50. Caused by: javax.resource.ResourceException: Could not create connection
  51.         at org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.getXAManagedConnection(XAManagedConnectionFactory.java:458)
  52.         at org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.createManagedConnection(XAManagedConnectionFactory.java:395)
  53.         at org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool.createConnectionEventListener(SemaphoreArrayListManagedConnectionPool.java:782)
  54.         at org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool.getConnection(SemaphoreArrayListManagedConnectionPool.java:345)
  55.         ... 40 more
  56. Caused by: org.postgresql.util.PSQLException: FATAL: database "IronJacamarTryout;User=postgres;ServerName=127.0.0.1;PortNumber" does not exist
  57.         at org.postgresql.core.v3.ConnectionFactoryImpl.readStartupMessages(ConnectionFactoryImpl.java:471)
  58.         at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:112)
  59.         at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
  60.         at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:125)
  61.         at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:30)
  62.         at org.postgresql.jdbc3g.AbstractJdbc3gConnection.<init>(AbstractJdbc3gConnection.java:22)
  63.         at org.postgresql.jdbc4.AbstractJdbc4Connection.<init>(AbstractJdbc4Connection.java:32)
  64.         at org.postgresql.jdbc4.Jdbc4Connection.<init>(Jdbc4Connection.java:24)
  65.         at org.postgresql.Driver.makeConnection(Driver.java:393)
  66.         at org.postgresql.Driver.connect(Driver.java:267)
  67.         at java.sql.DriverManager.getConnection(DriverManager.java:579)
  68.         at java.sql.DriverManager.getConnection(DriverManager.java:221)
  69.         at org.postgresql.ds.common.BaseDataSource.getConnection(BaseDataSource.java:92)
  70.         at org.postgresql.xa.jdbc3.AbstractJdbc3XADataSource.getXAConnection(AbstractJdbc3XADataSource.java:57)
  71.         at org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.getXAManagedConnection(XAManagedConnectionFactory.java:441)
  72.         ... 43 more
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top