Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Mitigating serialization issues in AEM

Avatar

Level 2

Hi all,

I am seeing below article.

Mitigating serialization issues in AEM

I am confused how to  modify the the JVM startup parameters of the CQ jar? I am not sure  I should add  -javaagent:<aem-installation-folder>/crx-quickstart/opt/notsoserial/notsoserial.jar to where .

1530999_pastedImage_7.png

Thanks

1 Accepted Solution

Avatar

Correct answer by
Employee

by default you don't need to do anything and dynamic loading of the serialization agent would take care of everything. If incase things fails, add (1) to your startup script (start.bat or terminal along with other jvm arguments) where you adjust the path of the notsoserial.jar per your deployment directory

(1) : -javaagent:<aem-installation-folder>/crx-quickstart/opt/notsoserial/notsoserial.jar

View solution in original post

4 Replies

Avatar

Community Advisor

Hi,

Look into this thread: How to start AEM 6.2 in debug mode by clicking on jar file

In that thread it says, how to pass parameters via argument[Option 2]..So that will let you do JVM  start-up parameters of CQ Jar.

Thanks,

Ratna Kumar.

Avatar

Correct answer by
Employee

by default you don't need to do anything and dynamic loading of the serialization agent would take care of everything. If incase things fails, add (1) to your startup script (start.bat or terminal along with other jvm arguments) where you adjust the path of the notsoserial.jar per your deployment directory

(1) : -javaagent:<aem-installation-folder>/crx-quickstart/opt/notsoserial/notsoserial.jar