[ 
https://issues.apache.org/jira/browse/MARMOTTA-579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jakob Frank closed MARMOTTA-579.
--------------------------------

Marmotta 3.4.0 released: https://s.apache.org/oBw2

> Windows paths on 3.3.0 .war
> ---------------------------
>
>                 Key: MARMOTTA-579
>                 URL: https://issues.apache.org/jira/browse/MARMOTTA-579
>             Project: Marmotta
>          Issue Type: Bug
>          Components: Launchers
>    Affects Versions: 3.3.0
>         Environment: Windows7 64b
> Oracle JDK 1.8.25
> Tomcat 7.0.57
>            Reporter: David Castellà
>            Assignee: Jakob Frank
>            Priority: Minor
>             Fix For: 3.4.0
>
>
> 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
(v7.6.3#76005)

Reply via email to