[ 
https://issues.apache.org/jira/browse/MARMOTTA-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14246698#comment-14246698
 ] 

ASF subversion and git services commented on MARMOTTA-579:
----------------------------------------------------------

Commit 147d5a2c07583bda9f03df387d3a7e9473ff60b5 in marmotta's branch 
refs/heads/develop from [~jakob]
[ https://git-wip-us.apache.org/repos/asf?p=marmotta.git;h=147d5a2 ]

MARMOTTA-579: Do not use hard-coded path for /tmp, use java system property 
instead.


> 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)

Reply via email to