Guest User

Untitled

a guest
Sep 22nd, 2018
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.51 KB | None | 0 0
  1. Info: visiting unvisited references
  2. Info: visiting unvisited references
  3. Info: visiting unvisited references
  4. Info: visiting unvisited references
  5. Info: EclipseLink, version: Eclipse Persistence Services - 2.7.0.v20170811-d680af5
  6. Warning: RAR5038:Unexpected exception while creating resource for pool { PoolInfo : (name=java:app/derby_net_sun-appserv-samples_Pool), (applicationName=Lab1) }. Exception : javax.resource.spi.ResourceAllocationException: Connection could not be allocated because: User id length (0) is outside the range of 1 to 255.
  7. Warning: RAR5117 : Failed to obtain/create connection from connection pool [ { PoolInfo : (name=java:app/derby_net_sun-appserv-samples_Pool), (applicationName=Lab1) } ]. Reason : com.sun.appserv.connectors.internal.api.PoolingException: Connection could not be allocated because: User id length (0) is outside the range of 1 to 255.
  8. Warning: RAR5114 : Error allocating connection : [Error in allocating a connection. Cause: Connection could not be allocated because: User id length (0) is outside the range of 1 to 255.]
  9. Severe: Local Exception Stack:
  10. Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.7.0.v20170811-d680af5): org.eclipse.persistence.exceptions.DatabaseException
  11. Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: User id length (0) is outside the range of 1 to 255.
  12. Error Code: 0
  13. at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:316)
  14. at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:147)
  15. at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:170)
  16. at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.setOrDetectDatasource(DatabaseSessionImpl.java:228)
  17. at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:804)
  18. at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:254)
  19. at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:757)
  20. at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:216)
  21. at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:324)
  22. at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:348)
  23. at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:311)
  24. at org.glassfish.persistence.jpa.JPADeployer$2.visitPUD(JPADeployer.java:451)
  25. at org.glassfish.persistence.jpa.JPADeployer$PersistenceUnitDescriptorIterator.iteratePUDs(JPADeployer.java:510)
  26. at org.glassfish.persistence.jpa.JPADeployer.iterateInitializedPUsAtApplicationPrepare(JPADeployer.java:492)
  27. at org.glassfish.persistence.jpa.JPADeployer.event(JPADeployer.java:398)
  28. at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:131)
  29. at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:487)
  30. at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
  31. at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491)
  32. at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:540)
  33. at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:536)
  34. at java.security.AccessController.doPrivileged(Native Method)
  35. at javax.security.auth.Subject.doAs(Subject.java:360)
  36. at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:535)
  37. at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:566)
  38. at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:558)
  39. at java.security.AccessController.doPrivileged(Native Method)
  40. at javax.security.auth.Subject.doAs(Subject.java:360)
  41. at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:557)
  42. at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1465)
  43. at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:110)
  44. at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1847)
  45. at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1723)
  46. at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:534)
  47. at com.sun.enterprise.v3.admin.AdminAdapter.onMissingResource(AdminAdapter.java:224)
  48. at org.glassfish.grizzly.http.server.StaticHttpHandlerBase.service(StaticHttpHandlerBase.java:190)
  49. at com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:463)
  50. at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:168)
  51. at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:206)
  52. at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:180)
  53. at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:242)
  54. at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
  55. at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)
  56. at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)
  57. at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)
  58. at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
  59. at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
  60. at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:539)
  61. at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
  62. at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)
  63. at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56)
  64. at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137)
  65. at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:593)
  66. at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:573)
  67. at java.lang.Thread.run(Thread.java:748)
  68. Caused by: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: User id length (0) is outside the range of 1 to 255.
  69. at com.sun.gjc.spi.base.AbstractDataSource.getConnection(AbstractDataSource.java:121)
  70. at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:135)
  71. ... 53 more
  72. Caused by: javax.resource.spi.ResourceAllocationException: Error in allocating a connection. Cause: Connection could not be allocated because: User id length (0) is outside the range of 1 to 255.
  73. at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:319)
  74. at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:196)
  75. at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:171)
  76. at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:166)
  77. at com.sun.gjc.spi.base.AbstractDataSource.getConnection(AbstractDataSource.java:115)
  78. ... 54 more
  79. Caused by: com.sun.appserv.connectors.internal.api.PoolingException: Connection could not be allocated because: User id length (0) is outside the range of 1 to 255.
  80. at com.sun.enterprise.resource.pool.datastructure.RWLockDataStructure.addResource(RWLockDataStructure.java:103)
  81. at com.sun.enterprise.resource.pool.ConnectionPool.addResource(ConnectionPool.java:282)
  82. at com.sun.enterprise.resource.pool.ConnectionPool.createResourceAndAddToPool(ConnectionPool.java:1511)
  83. at com.sun.enterprise.resource.pool.ConnectionPool.createResources(ConnectionPool.java:943)
  84. at com.sun.enterprise.resource.pool.ConnectionPool.initPool(ConnectionPool.java:230)
  85. at com.sun.enterprise.resource.pool.ConnectionPool.internalGetResource(ConnectionPool.java:514)
  86. at com.sun.enterprise.resource.pool.ConnectionPool.getResource(ConnectionPool.java:381)
  87. at com.sun.enterprise.resource.pool.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:245)
  88. at com.sun.enterprise.resource.pool.PoolManagerImpl.getResource(PoolManagerImpl.java:171)
  89. at com.sun.enterprise.connectors.ConnectionManagerImpl.getResource(ConnectionManagerImpl.java:360)
  90. at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:307)
  91. ... 58 more
  92. Caused by: com.sun.appserv.connectors.internal.api.PoolingException: Connection could not be allocated because: User id length (0) is outside the range of 1 to 255.
  93. at com.sun.enterprise.resource.pool.ConnectionPool.createSingleResource(ConnectionPool.java:923)
  94. at com.sun.enterprise.resource.pool.ConnectionPool.createResource(ConnectionPool.java:1188)
  95. at com.sun.enterprise.resource.pool.datastructure.RWLockDataStructure.addResource(RWLockDataStructure.java:98)
  96. ... 68 more
  97. Caused by: com.sun.appserv.connectors.internal.api.PoolingException: Connection could not be allocated because: User id length (0) is outside the range of 1 to 255.
  98. at com.sun.enterprise.resource.allocator.LocalTxConnectorAllocator.createResource(LocalTxConnectorAllocator.java:110)
  99. at com.sun.enterprise.resource.pool.ConnectionPool.createSingleResource(ConnectionPool.java:906)
  100. ... 70 more
  101. Caused by: javax.resource.spi.ResourceAllocationException: Connection could not be allocated because: User id length (0) is outside the range of 1 to 255.
  102. at com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(DSManagedConnectionFactory.java:129)
  103. at com.sun.enterprise.resource.allocator.LocalTxConnectorAllocator.createResource(LocalTxConnectorAllocator.java:87)
  104. ... 71 more
  105. Caused by: java.sql.SQLNonTransientConnectionException: User id length (0) is outside the range of 1 to 255.
  106. at org.apache.derby.client.am.SQLExceptionFactory.getSQLException(Unknown Source)
  107. at org.apache.derby.client.am.SqlException.getSQLException(Unknown Source)
  108. at org.apache.derby.jdbc.BasicClientDataSource40.getConnection(Unknown Source)
  109. at com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(DSManagedConnectionFactory.java:117)
  110. ... 72 more
  111. Caused by: ERROR 08001: User id length (0) is outside the range of 1 to 255.
  112. at org.apache.derby.client.net.NetConnection.checkUserLength(Unknown Source)
  113. at org.apache.derby.client.net.NetConnection.checkUser(Unknown Source)
  114. at org.apache.derby.client.net.NetConnection.checkUserPassword(Unknown Source)
  115. at org.apache.derby.client.net.NetConnection.flowConnect(Unknown Source)
  116. at org.apache.derby.client.net.NetConnection.initialize(Unknown Source)
  117. at org.apache.derby.client.net.NetConnection.<init>(Unknown Source)
  118. at org.apache.derby.client.net.ClientJDBCObjectFactoryImpl.newNetConnection(Unknown Source)
  119. at org.apache.derby.jdbc.BasicClientDataSource40.getConnectionX(Unknown Source)
  120. ... 74 more
  121.  
  122. Severe: Exception while deploying the app [Lab1]
  123. Severe: Exception during lifecycle processing
  124. org.glassfish.deployment.common.DeploymentException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.7.0.v20170811-d680af5): org.eclipse.persistence.exceptions.DatabaseException
  125. Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: User id length (0) is outside the range of 1 to 255.
  126. Error Code: 0
  127. at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:844)
  128. at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:216)
  129. at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:324)
  130. at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:348)
  131. at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:311)
  132. at org.glassfish.persistence.jpa.JPADeployer$2.visitPUD(JPADeployer.java:451)
  133. at org.glassfish.persistence.jpa.JPADeployer$PersistenceUnitDescriptorIterator.iteratePUDs(JPADeployer.java:510)
  134. at org.glassfish.persistence.jpa.JPADeployer.iterateInitializedPUsAtApplicationPrepare(JPADeployer.java:492)
  135. at org.glassfish.persistence.jpa.JPADeployer.event(JPADeployer.java:398)
  136. at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:131)
  137. at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:487)
  138. at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
  139. at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491)
  140. at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:540)
  141. at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:536)
  142. at java.security.AccessController.doPrivileged(Native Method)
  143. at javax.security.auth.Subject.doAs(Subject.java:360)
  144. at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:535)
  145. at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:566)
  146. at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:558)
  147. at java.security.AccessController.doPrivileged(Native Method)
  148. at javax.security.auth.Subject.doAs(Subject.java:360)
  149. at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:557)
  150. at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1465)
  151. at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:110)
  152. at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1847)
  153. at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1723)
  154. at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:534)
  155. at com.sun.enterprise.v3.admin.AdminAdapter.onMissingResource(AdminAdapter.java:224)
  156. at org.glassfish.grizzly.http.server.StaticHttpHandlerBase.service(StaticHttpHandlerBase.java:190)
  157. at com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:463)
  158. at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:168)
  159. at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:206)
  160. at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:180)
  161. at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:242)
  162. at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
  163. at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)
  164. at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)
  165. at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)
  166. at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
  167. at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
  168. at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:539)
  169. at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
  170. at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)
  171. at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56)
  172. at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137)
  173. at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:593)
  174. at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:573)
  175. at java.lang.Thread.run(Thread.java:748)
  176.  
  177. Severe: Exception while deploying the app [Lab1] : Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.7.0.v20170811-d680af5): org.eclipse.persistence.exceptions.DatabaseException
  178. Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: User id length (0) is outside the range of 1 to 255.
  179. Error Code: 0
  180. Warning:
Advertisement
Add Comment
Please, Sign In to add comment