Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-15211 JBoss Deployment Support
  3. NXP-15675

h2 database should not register a shutdown hook in runtime

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0
    • Component/s: Runtime

      Description

      When stopping the tomcat I've got the error

      Caused by: org.nuxeo.ecm.core.storage.StorageException: Cannot connect to database
              at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCConnection.openConnections(JDBCConnection.java:139)
              at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCMapper.connect(JDBCMapper.java:1426)
              at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCMapperConnector.invoke(JDBCMapperConnector.java:34)
              ... 30 more1
      Caused by: org.h2.jdbc.JdbcSQLException: Database is already closed (to disable automatic closing at VM shutdown, add ";DB_CLOSE_ON_EXIT=FALSE" to the db URL) [90121-177]
              at org.h2.message.DbException.getJdbcSQLException(DbException.java:344)
              at org.h2.message.DbException.get(DbException.java:178)
              at org.h2.message.DbException.get(DbException.java:154)
              at org.h2.message.DbException.get(DbException.java:143)
              at org.h2.jdbc.JdbcConnection.checkClosed(JdbcConnection.java:1468)
              at org.h2.jdbc.JdbcConnection.checkClosed(JdbcConnection.java:1443)
              at org.h2.jdbc.JdbcConnection.getMetaData(JdbcConnection.java:323)
              at org.tranql.connector.jdbc.ConnectionHandle.getMetaData(ConnectionHandle.java:458)
              at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCConnection.openConnections(JDBCConnection.java:136)
              ... 32 more
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: