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.

이 작업에는 Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License의 라이센스가 부여되었습니다.  Twitter™ 및 Facebook 게시물은 Creative Commons 약관을 적용받지 않습니다.

법적 고지 사항   |   온라인 개인 정보 보호 정책