อัปเดตครั้งล่าสุดเมื่อ
21 ธ.ค. 2021
Issue
An error similar to the one below is observed in the AEM logs during installation of the 6.3 war to an app server. The installation fails due to this error.
12.06.2017 12:30:08.145 *ERROR* [FelixStartLevel] org.apache.jackrabbit.oak.plugins.blob.datastore.OakFileDataStore Exception while adding metadata record with name repository-2ae15989-23ed-47aa-b20e-2bd1ec04b0ea, {} java.io.FileNotFoundException: crx-quickstart/repository/datastore/repository-2ae15989-23ed-47aa-b20e-2bd1ec04b0ea (No such file or directory) at java.io.FileOutputStream.open0(Native Method) at java.io.FileOutputStream.open(FileOutputStream.java:270) at java.io.FileOutputStream.<init>(FileOutputStream.java:213) at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
Environment
AEM 6.3 installed in an App server via war file.
Cause
There is an issue in Apache Oak that causes the errors when a relative path is set for the FileDataStore: OAK-5078
Resolution
Before installing AEM, create the crx-quickstart/install folder and the two files below:
crx-quickstart/install/crx3mpxtar/org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore.config crx-quickstart/install/crx3mpxtar/org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore.config
The contents of the two files should be:
path="/absolute/path/to/datastore"
Replace the value "/absolute/path/to/datastore" with the path where you would like to store the datastore on your server or network drive.