Uploaded image for project: 'Marmotta (Retired)'
  1. Marmotta (Retired)
  2. MARMOTTA-579

Windows paths on 3.3.0 .war

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.3.0
    • 3.4.0
    • Launchers
    • None
    • Windows7 64b
      Oracle JDK 1.8.25
      Tomcat 7.0.57

    Description

      When I'm deploying Marmotta 3.3.0 on Tomcat7, I get this error:
      Estado HTTP 500 - org.h2.jdbc.JdbcSQLException: A file path that is implicitly relative to the current working directory is not allowed in the database URL "jdbc:h2:/tmp/marmotta/db/marmotta;MVCC=true;DB_CLOSE_ON_EXIT=FALSE;DB_CLOSE_DELAY=10". Use an absolute path, ~/name, ./name, or the baseDir setting instead. [90011-178]

      But this can be manually solved by changing these lines in the system-config.properties file:
      database.h2.url = jdbc:h2:/tmp/marmotta/db/marmotta;MVCC=true;DB_CLOSE_ON_EXIT=FALSE;DB_CLOSE_DELAY=10
      database.url = jdbc:h2:/tmp/marmotta/db/marmotta;MVCC=true;DB_CLOSE_ON_EXIT=FALSE;DB_CLOSE_DELAY=10

      For these ones:
      database.h2.url = jdbc:h2:C:/tmp/marmotta/db/marmotta;MVCC=true;DB_CLOSE_ON_EXIT=FALSE;DB_CLOSE_DELAY=10
      database.url = jdbc:h2:C:/tmp/marmotta/db/marmotta;MVCC=true;DB_CLOSE_ON_EXIT=FALSE;DB_CLOSE_DELAY=10

      And reload.

      Attachments

        Activity

          People

            jakob Jakob Frank
            davidkaste David Castellà
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: