David Castellà created MARMOTTA-579:
---------------------------------------
Summary: Windows paths on 3.3.0 .war
Key: MARMOTTA-579
URL: https://issues.apache.org/jira/browse/MARMOTTA-579
Project: Marmotta
Issue Type: Bug
Affects Versions: 3.3.0
Environment: Windows7 64b
Oracle JDK 1.8.25
Tomcat 7.0.57
Reporter: David Castellà
Priority: Minor
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)