s.internal.api.PoolingException: Connection could not be allocated because: DERBY SQL error: ERRORCODE: 40000, SQLSTATE: XJ040, SQLERRMC: Impossibile avviare il database 'sample' con il caricatore di classi sun.misc.Launcher$AppClassLoader@1d44bcfa. Per i dettagli, vedere l'eccezione successiva.::SQLSTATE: XBM0W

  1. 0

    Can I resolve this?

    Stack Overflow | 3 months ago | Raffaele D'Arco
    s.internal.api.PoolingException: Connection could not be allocated because: DERBY SQL error: ERRORCODE: 40000, SQLSTATE: XJ040, SQLERRMC: Impossibile avviare il database 'sample' con il caricatore di classi sun.misc.Launcher$AppClassLoader@1d44bcfa. Per i dettagli, vedere l'eccezione successiva.::SQLSTATE: XBM0W
  2. 0

    Troubles running examples in netbeans 8.1

    Stack Overflow | 11 months ago | Fredy Benavides
    java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: DERBY SQL error: ERRORCODE: 40000, SQLSTATE: XJ041, SQLERRMC: No se ha podido crear la base de datos 'sun-appserv-samples', consulte la excepción siguiente para obtener más información.::SQLSTATE: XBM0X Error Code: 0
  3. 0

    XBM0J Directory already exists

    db-derby-user | 7 years ago | Damian Hofmann
    java.sql.SQLException: DERBY SQL error: SQLCODE: -1, SQLSTATE: XJ041, SQLERRMC: Failed to create database 'C:\verteilcenter\db\licenses', see the next exception for details.::SQLSTATE: XBM0JDirectory C:\Development\Galileo\SR1\eclipse\C:\verteilcenter\db\licenses already exists.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Emissor de Nota Fiscal Eletrônica - Erro inesperado na execução!

    ubuntuforum-br.org | 8 months ago
    org.hibernate.exception.GenericJDBCException: Cannot open connection
  6. 0

    System Store access rights

    Google Groups | 6 years ago | tfrerk
    java.sql.SQLException: DERBY SQL error: SQLCODE: -1, SQLSTATE: XJ041, SQLERRMC: Failed to create database 'C:\Program Files\IBM\TDI\V7.1/ TDISysStore', see the next exception for details.::SQLSTATE: XBM0HDirectory C:\Program Files\IBM\TDI\V7.1\TDISysStore cannot be created.::SQLSTATE: XJ001Java exception: 'Access denied (java.io.FilePermission C:\Program Files\IBM\TDI\V7.1\TDISysStore write): java.security.AccessControlException'.

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.derby.client.am.SqlException

      DERBY SQL error: ERRORCODE: 40000, SQLSTATE: XJ040, SQLERRMC: Impossibile avviare il database 'sample' con il caricatore di classi sun.misc.Launcher$AppClassLoader@1d44bcfa. Per i dettagli, vedere l'eccezione successiva.::SQLSTATE: XBM0W

      at org.apache.derby.client.am.Connection.completeSqlca()
    2. Apache Derby Client JDBC Driver
      ClientJDBCObjectFactoryImpl40.newNetConnection
      1. org.apache.derby.client.am.Connection.completeSqlca(Unknown Source)
      2. org.apache.derby.client.net.NetConnectionReply.parseRdbAccessFailed(Unknown Source)
      3. org.apache.derby.client.net.NetConnectionReply.parseAccessRdbError(Unknown Source)
      4. org.apache.derby.client.net.NetConnectionReply.parseACCRDBreply(Unknown Source)
      5. org.apache.derby.client.net.NetConnectionReply.readAccessDatabase(Unknown Source)
      6. org.apache.derby.client.net.NetConnection.readSecurityCheckAndAccessRdb(Unknown Source)
      7. org.apache.derby.client.net.NetConnection.flowSecurityCheckAndAccessRdb(Unknown Source)
      8. org.apache.derby.client.net.NetConnection.flowUSRIDPWDconnect(Unknown Source)
      9. org.apache.derby.client.net.NetConnection.flowConnect(Unknown Source)
      10. org.apache.derby.client.net.NetConnection.initialize(Unknown Source)
      11. org.apache.derby.client.net.NetConnection.<init>(Unknown Source)
      12. org.apache.derby.client.net.NetConnection40.<init>(Unknown Source)
      13. org.apache.derby.client.net.ClientJDBCObjectFactoryImpl40.newNetConnection(Unknown Source)
      13 frames
    3. Derby
      ClientBaseDataSourceRoot.getConnectionX
      1. org.apache.derby.jdbc.ClientBaseDataSourceRoot.getConnectionX(Unknown Source)
      1 frame
    4. Apache Derby Client JDBC Driver
      SqlException.getSQLException
      1. org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(Unknown Source)
      2. org.apache.derby.client.am.SqlException.getSQLException(Unknown Source)
      2 frames
    5. Derby
      ClientBaseDataSourceRoot.getConnection
      1. org.apache.derby.jdbc.ClientBaseDataSourceRoot.getConnection(Unknown Source)
      1 frame
    6. Embedded GlassFish Web
      DSManagedConnectionFactory.createManagedConnection
      1. com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(DSManagedConnectionFactory.java:115)
      2. com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(DSManagedConnectionFactory.java:129)
      2 frames
    7. Connectors Runtime
      ConnectionManagerImpl.internalGetConnection
      1. com.sun.enterprise.resource.allocator.LocalTxConnectorAllocator.createResource(LocalTxConnectorAllocator.java:87)
      2. com.sun.enterprise.resource.allocator.LocalTxConnectorAllocator.createResource(LocalTxConnectorAllocator.java:110)
      3. com.sun.enterprise.resource.pool.ConnectionPool.createSingleResource(ConnectionPool.java:907)
      4. com.sun.enterprise.resource.pool.ConnectionPool.createSingleResource(ConnectionPool.java:924)
      5. com.sun.enterprise.resource.pool.ConnectionPool.createResource(ConnectionPool.java:1189)
      6. com.sun.enterprise.resource.pool.datastructure.RWLockDataStructure.addResource(RWLockDataStructure.java:98)
      7. com.sun.enterprise.resource.pool.datastructure.RWLockDataStructure.addResource(RWLockDataStructure.java:103)
      8. com.sun.enterprise.resource.pool.ConnectionPool.addResource(ConnectionPool.java:282)
      9. com.sun.enterprise.resource.pool.ConnectionPool.createResourceAndAddToPool(ConnectionPool.java:1512)
      10. com.sun.enterprise.resource.pool.ConnectionPool.createResources(ConnectionPool.java:944)
      11. com.sun.enterprise.resource.pool.ConnectionPool.initPool(ConnectionPool.java:230)
      12. com.sun.enterprise.resource.pool.ConnectionPool.internalGetResource(ConnectionPool.java:511)
      13. com.sun.enterprise.resource.pool.ConnectionPool.getResource(ConnectionPool.java:381)
      14. com.sun.enterprise.resource.pool.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:245)
      15. com.sun.enterprise.resource.pool.PoolManagerImpl.getResource(PoolManagerImpl.java:170)
      16. com.sun.enterprise.connectors.ConnectionManagerImpl.getResource(ConnectionManagerImpl.java:360)
      17. com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:307)
      17 frames