You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Leonidas Palyvas (JIRA)" <ji...@apache.org> on 2017/10/02 06:15:00 UTC
[jira] [Created] (JCR-4194) Can't store nodes on mysql db
Leonidas Palyvas created JCR-4194:
-------------------------------------
Summary: 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 <param name="consistencyCheck" value="true"/> 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)