Error while upgrading to AEM 6.1 from 5.6
Hi,
I have migrated my AEM 5.6 to AEM 6.1 using the steps mentioned in https://docs.adobe.com/docs/en/aem/6-1/deploy/upgrade.html. After migration when I run this command java -jar aem-quickstart-6.1.0.jar -r crx3,crx3tar. I am getting following error at console
Loading quickstart properties: default
Loading quickstart properties: instance
Low-memory action set to fork
Using 64bit VM settings, min.heap=1024MB, min permgen=256MB, default fork arguments=[-Xmx1024m, -XX:MaxPermSize=256m]
The JVM reports a heap size of 1749 MB, meets our expectation of 1024 MB +/- 20
**** WARNING: insufficent PermGen memory ***************************************
The JVM MBean:PS Perm Gen reports 82 MB but we recommend at least 256 MB +/- 20
Use your JVM's PermGen size option (like -XX:MaxPermSize=256M) to set that size.
Will fork a JVM to get enough memory.
********************************************************************************
Available memory below specified limits and low-memory action set to fork, will fork to get enough memory
Preparing to fork JVM, OS name=Windows 7, isWindows=true
Forking JVM: [C:\Program Files\Java\jre7\bin\java.exe, -Xmx1024m, -XX:MaxPermSize=256m, -jar, D:/AEM6.1Migration/aem-quickstart-6.1.0.jar, -nofork, -pt, CHILD, -r, crx3,crx3tar]
Loading quickstart properties: default
Loading quickstart properties: instance
Low-memory action set to fork
Using 64bit VM settings, min.heap=1024MB, min permgen=256MB, default fork arguments=[-Xmx1024m, -XX:MaxPermSize=256m]
**** WARNING: insufficent heap memory ******************************************
The JVM reports 910 MB but we recommend at least 1024 MB +/- 20
Use your JVM's heap size option (like -Xmx1024M) to set that size.
Will fork a JVM to get enough memory.
********************************************************************************
The JVM MBean:PS Perm Gen reports a maximum size of 256 MB, meets our expectation of 256 MB +/- 20
Available memory below specified limits and low-memory action set to fork, will fork to get enough memory
Not forking JVM as -nofork option is set
Setting properties from filename 'D:/AEM6.1Migration/aem-quickstart-6.1.0.jar'
Setting 'sling.run.modes' to 'crx3,crx3tar' from command line.
Verbose option not active, closing stdin and redirecting stdout and stderr
Redirecting stdout to D:\AEM6.1Migration\crx-quickstart\logs\stdout.log
Redirecting stderr to D:\AEM6.1Migration\crx-quickstart\logs\stderr.log
Press CTRL-C to shutdown the Quickstart server...
MAIN process: shutdown hook
MAIN process: Exception in shutdown hook: java.io.IOException: The pipe is being closed
MAIN process: Wrote shutdown string to child process, waiting for it to exit (max 5000 msec)
Child process did not exit? Destroying it now.
MAIN process: Child process exited.
Forked JVM process exited with exit code 1
Main JVM process exiting
MAIN process: exiting
In the error log :
06.07.2015 19:40:28.520 *ERROR* [qtp560449657-77] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: AuthenticationSupport service missing. Cannot authenticate request.
06.07.2015 19:40:28.520 *ERROR* [qtp560449657-77] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: Possible reason is missing Repository service. Check AuthenticationSupport dependencies.
06.07.2015 19:40:28.744 *ERROR* [qtp560449657-78] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: AuthenticationSupport service missing. Cannot authenticate request.
06.07.2015 19:40:28.744 *ERROR* [qtp560449657-78] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: Possible reason is missing Repository service. Check AuthenticationSupport dependencies.
