Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Info: visiting unvisited references
- Info: visiting unvisited references
- Info: visiting unvisited references
- Info: visiting unvisited references
- Info: EclipseLink, version: Eclipse Persistence Services - 2.7.0.v20170811-d680af5
- 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.
- 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.
- 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.]
- Severe: Local Exception Stack:
- Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.7.0.v20170811-d680af5): org.eclipse.persistence.exceptions.DatabaseException
- 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.
- Error Code: 0
- at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:316)
- at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:147)
- at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:170)
- at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.setOrDetectDatasource(DatabaseSessionImpl.java:228)
- at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:804)
- at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:254)
- at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:757)
- at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:216)
- at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:324)
- at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:348)
- at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:311)
- at org.glassfish.persistence.jpa.JPADeployer$2.visitPUD(JPADeployer.java:451)
- at org.glassfish.persistence.jpa.JPADeployer$PersistenceUnitDescriptorIterator.iteratePUDs(JPADeployer.java:510)
- at org.glassfish.persistence.jpa.JPADeployer.iterateInitializedPUsAtApplicationPrepare(JPADeployer.java:492)
- at org.glassfish.persistence.jpa.JPADeployer.event(JPADeployer.java:398)
- at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:131)
- at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:487)
- at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
- at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491)
- at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:540)
- at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:536)
- at java.security.AccessController.doPrivileged(Native Method)
- at javax.security.auth.Subject.doAs(Subject.java:360)
- at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:535)
- at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:566)
- at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:558)
- at java.security.AccessController.doPrivileged(Native Method)
- at javax.security.auth.Subject.doAs(Subject.java:360)
- at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:557)
- at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1465)
- at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:110)
- at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1847)
- at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1723)
- at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:534)
- at com.sun.enterprise.v3.admin.AdminAdapter.onMissingResource(AdminAdapter.java:224)
- at org.glassfish.grizzly.http.server.StaticHttpHandlerBase.service(StaticHttpHandlerBase.java:190)
- at com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:463)
- at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:168)
- at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:206)
- at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:180)
- at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:242)
- at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
- at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)
- at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)
- at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)
- at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
- at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
- at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:539)
- at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
- at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)
- at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56)
- at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137)
- at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:593)
- at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:573)
- at java.lang.Thread.run(Thread.java:748)
- 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.
- at com.sun.gjc.spi.base.AbstractDataSource.getConnection(AbstractDataSource.java:121)
- at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:135)
- ... 53 more
- 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.
- at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:319)
- at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:196)
- at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:171)
- at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:166)
- at com.sun.gjc.spi.base.AbstractDataSource.getConnection(AbstractDataSource.java:115)
- ... 54 more
- 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.
- at com.sun.enterprise.resource.pool.datastructure.RWLockDataStructure.addResource(RWLockDataStructure.java:103)
- at com.sun.enterprise.resource.pool.ConnectionPool.addResource(ConnectionPool.java:282)
- at com.sun.enterprise.resource.pool.ConnectionPool.createResourceAndAddToPool(ConnectionPool.java:1511)
- at com.sun.enterprise.resource.pool.ConnectionPool.createResources(ConnectionPool.java:943)
- at com.sun.enterprise.resource.pool.ConnectionPool.initPool(ConnectionPool.java:230)
- at com.sun.enterprise.resource.pool.ConnectionPool.internalGetResource(ConnectionPool.java:514)
- at com.sun.enterprise.resource.pool.ConnectionPool.getResource(ConnectionPool.java:381)
- at com.sun.enterprise.resource.pool.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:245)
- at com.sun.enterprise.resource.pool.PoolManagerImpl.getResource(PoolManagerImpl.java:171)
- at com.sun.enterprise.connectors.ConnectionManagerImpl.getResource(ConnectionManagerImpl.java:360)
- at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:307)
- ... 58 more
- 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.
- at com.sun.enterprise.resource.pool.ConnectionPool.createSingleResource(ConnectionPool.java:923)
- at com.sun.enterprise.resource.pool.ConnectionPool.createResource(ConnectionPool.java:1188)
- at com.sun.enterprise.resource.pool.datastructure.RWLockDataStructure.addResource(RWLockDataStructure.java:98)
- ... 68 more
- 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.
- at com.sun.enterprise.resource.allocator.LocalTxConnectorAllocator.createResource(LocalTxConnectorAllocator.java:110)
- at com.sun.enterprise.resource.pool.ConnectionPool.createSingleResource(ConnectionPool.java:906)
- ... 70 more
- Caused by: javax.resource.spi.ResourceAllocationException: Connection could not be allocated because: User id length (0) is outside the range of 1 to 255.
- at com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(DSManagedConnectionFactory.java:129)
- at com.sun.enterprise.resource.allocator.LocalTxConnectorAllocator.createResource(LocalTxConnectorAllocator.java:87)
- ... 71 more
- Caused by: java.sql.SQLNonTransientConnectionException: User id length (0) is outside the range of 1 to 255.
- at org.apache.derby.client.am.SQLExceptionFactory.getSQLException(Unknown Source)
- at org.apache.derby.client.am.SqlException.getSQLException(Unknown Source)
- at org.apache.derby.jdbc.BasicClientDataSource40.getConnection(Unknown Source)
- at com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(DSManagedConnectionFactory.java:117)
- ... 72 more
- Caused by: ERROR 08001: User id length (0) is outside the range of 1 to 255.
- at org.apache.derby.client.net.NetConnection.checkUserLength(Unknown Source)
- at org.apache.derby.client.net.NetConnection.checkUser(Unknown Source)
- at org.apache.derby.client.net.NetConnection.checkUserPassword(Unknown Source)
- at org.apache.derby.client.net.NetConnection.flowConnect(Unknown Source)
- at org.apache.derby.client.net.NetConnection.initialize(Unknown Source)
- at org.apache.derby.client.net.NetConnection.<init>(Unknown Source)
- at org.apache.derby.client.net.ClientJDBCObjectFactoryImpl.newNetConnection(Unknown Source)
- at org.apache.derby.jdbc.BasicClientDataSource40.getConnectionX(Unknown Source)
- ... 74 more
- Severe: Exception while deploying the app [Lab1]
- Severe: Exception during lifecycle processing
- org.glassfish.deployment.common.DeploymentException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.7.0.v20170811-d680af5): org.eclipse.persistence.exceptions.DatabaseException
- 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.
- Error Code: 0
- at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:844)
- at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:216)
- at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:324)
- at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:348)
- at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:311)
- at org.glassfish.persistence.jpa.JPADeployer$2.visitPUD(JPADeployer.java:451)
- at org.glassfish.persistence.jpa.JPADeployer$PersistenceUnitDescriptorIterator.iteratePUDs(JPADeployer.java:510)
- at org.glassfish.persistence.jpa.JPADeployer.iterateInitializedPUsAtApplicationPrepare(JPADeployer.java:492)
- at org.glassfish.persistence.jpa.JPADeployer.event(JPADeployer.java:398)
- at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:131)
- at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:487)
- at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
- at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491)
- at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:540)
- at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:536)
- at java.security.AccessController.doPrivileged(Native Method)
- at javax.security.auth.Subject.doAs(Subject.java:360)
- at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:535)
- at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:566)
- at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:558)
- at java.security.AccessController.doPrivileged(Native Method)
- at javax.security.auth.Subject.doAs(Subject.java:360)
- at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:557)
- at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1465)
- at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:110)
- at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1847)
- at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1723)
- at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:534)
- at com.sun.enterprise.v3.admin.AdminAdapter.onMissingResource(AdminAdapter.java:224)
- at org.glassfish.grizzly.http.server.StaticHttpHandlerBase.service(StaticHttpHandlerBase.java:190)
- at com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:463)
- at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:168)
- at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:206)
- at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:180)
- at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:242)
- at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
- at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)
- at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)
- at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)
- at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
- at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
- at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:539)
- at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
- at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)
- at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56)
- at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137)
- at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:593)
- at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:573)
- at java.lang.Thread.run(Thread.java:748)
- Severe: Exception while deploying the app [Lab1] : Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.7.0.v20170811-d680af5): org.eclipse.persistence.exceptions.DatabaseException
- 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.
- Error Code: 0
- Warning:
Advertisement
Add Comment
Please, Sign In to add comment