You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2017/10/02 07:30:00 UTC
[jira] [Resolved] (JCR-4194) Can't store nodes on mysql db
[ https://issues.apache.org/jira/browse/JCR-4194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Reschke resolved JCR-4194.
---------------------------------
Resolution: Duplicate
That seems to be exactly the problem reported in JCR-3929. Please try with 2.15.7-SNAPSHOT.
> Can't store nodes on mysql db
> -----------------------------
>
> Key: JCR-4194
> URL: https://issues.apache.org/jira/browse/JCR-4194
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Affects Versions: 2.15.6
> Environment: Windows 10 x64, Netbeans 8.2
> Reporter: Leonidas Palyvas
> Attachments: error.log, jcr_example.zip, workspace.xml
>
>
> I 'm working on a simple program which tries to store 2 nodes in an empty mysql db hosted locally in my pc. Before running the program for first time, I have configured the jcr home directory to have the following structure /jcr_home/workspaces/default/workspace.xml. With this configuration the program reads the workspace.xml file, which includes all the parameters needed for saving data on db. I am using this org.apache.jackrabbit.core.persistence.pool.MySqlPersistenceManager persistence manager(PM). Setting parameter
> {code:java}
> <param name="consistencyCheck" value="true"/>
> {code}
> in PM's configuration causes failure of the program with error cannot initiate PM(logs attached). By setting consistency check parameter false everything works fine.
> In addition, if I set consistency check true and use 2.6.5 jackrabbit version, the program also works!
> I have attached the error.log file, my workspace.xml and my maven project as .zip.
> Note: Remember to change jcr home directory in JcrOperation.java file to fit your system structure, if you import the project.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)