Expand my Community achievements bar.

SOLVED

Uncontrolled Datastore Repository growth under WebSphere CRX-Quickstart folder

Avatar

Level 3

Hi All,

We have observed that our AEM Forms JEE instance is creating a copy of crx-quickstart folder inside WAS directories and growing in size with every patching/deployment.
exact directory location : /WAS/was90/profiles/<profile-name>/crx-quickstart/repository 

This directory only contains datastore. We have tried running Revision cleanup and GC from JMX console but the size of this datastore does not reduce.
Also, there is no increase in terms of forms deployed.

Can we reduce the size of this directory ? What will be the implications of completely cleaning up?
If cleanup not possible what is the recommended way of configuring the directory of datastore from /WAS to somewhere enough disk space is available?

Please note, I have verifed the org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore configuration in web-console, this is set to crx-quickstart/repository/datastore but, datastore in not being created inside the usual crx-quickstart rather under /WAS directories.

Any guidance is much appreciated.

Thanks,
Rajat

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

@rajatkumar you cannot keep it in another place. stop the server, take a back up of crx quick start, and delete everything except the install folder. Restart the server, restore your forms, CFP or any other custom code. since you use jee do sync your jee assts using "sync from workflow" option

View solution in original post

6 Replies

Avatar

Employee Advisor

@rajatkumar yes, for JEE install an internal crx is kept for WAS/weblogic/Jboss in this way only. Is it a cluster or stand-alone?

Avatar

Level 3

HI @Mayank_Gandhi , this is a standalone setup.

Application stack details :-
- AEM 6.5
- Forms JEE 6.5.0.-0053

- WebSphere Base 9.0.5.13
- MSSQL 2019
- Linux RedHat_7.9

Avatar

Employee Advisor

@rajatkumar You have both sites and forms? If you can restore the props/forms/config/code to the Osgi side and do not persist anything in crx. Get rid of CRX and sync the code base with fresh crx.

 

Bit Risky but would need some planning and effort.

Avatar

Level 3

Hi @Mayank_Gandhi ,
We are only using the forms capabilities in this On-prem AEM JEE 6.5.
Can you please be more specific about the procedure to either cleanup or configure to some other location for the datastore being created at /WAS/was90/profiles/<profile-name>/crx-quickstart/repository/datastore

Avatar

Correct answer by
Employee Advisor

@rajatkumar you cannot keep it in another place. stop the server, take a back up of crx quick start, and delete everything except the install folder. Restart the server, restore your forms, CFP or any other custom code. since you use jee do sync your jee assts using "sync from workflow" option

Avatar

Level 3

@Mayank_Gandhi, I guess there was a miscommunication. 
we are good with the configuration of crx-repository being created inside the directory where AEM is installed say /opt/adobe/adobe_experience_manager/crx-repository
we were concerned about another directory that was being created inside 
/WAS/was90/profiles/<profile-name>/crx-quickstart/repository/datastore. 

Requirement was to move this datastore from under /WAS directories to say /opt directories.
We had logged a ticket for the same and happy to announce that resolution provided worked for us.

Resolution provided :
  (1) Take a backup of datastore being created under /WAS directory.

  (2) Copy the whole of this datastore to the required location.
  (3) Navigate to configMgr and search for org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore

  (4) Update the path property to the required location (say /opt/adobe/adobe_experience_manager/crx-repository/datstore).
  (5) Restart the JVMs.

  (6) Now the original datastore under /WAS can be deleted.

Since this way, by configuring the datastore to the required location we are no longer bound with Disk management at two places.

More details from Section configure datastore,  https://experienceleague.adobe.com/docs/experience-manager-65/deploying/deploying/data-store-config....