Expand my Community achievements bar.

Error connecting to server in debug mode

Avatar

Level 3

After starting the server with  java -jar cq-author-4502.jar -debug 10123:

$ java -jar cq-author-4502.jar -debug 10123

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 2715 MB, meets our expectation of 1024 MB +/- 20

Debugging requested on port 10123, forcing fork

Preparing to fork JVM, OS name=Windows 10, isWindows=true

Forking JVM: [C:\Program Files\Java\jre1.8.0_101\bin\java.exe, -agentlib:jdwp=transport=dt_socket,address=10123,server=y,suspend=n, -Xmx1024m, -XX:MaxPermSize=256m, -jar, C:/Users/Grant/Desktop/Projects/aem/cq-author-4502.jar, -nofork, -pt, CHILD]

Listening for transport dt_socket at address: 10123

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.

********************************************************************************

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 'C:/Users/Grant/Desktop/Projects/aem/cq-author-4502.jar'

Option '-quickstart.server.port' set to '4502' from filename cq-author-4502.jar

Verbose option not active, closing stdin and redirecting stdout and stderr

Redirecting stdout to C:\Users\Grant\Desktop\Projects\aem\crx-quickstart\logs\stdout.log

Redirecting stderr to C:\Users\Grant\Desktop\Projects\aem\crx-quickstart\logs\stderr.log

Press CTRL-C to shutdown the Quickstart server...

When I create a server in Eclipse and attempt to connect to it in debug mode, I get this error:

'Starting Adobe Experience Manager at localhost' has encountered a problem.

org.apache.commons.httpclient.HttpException: Got status code 500 for call to http://localhost:4502/system/sling/tooling/sourceReferences.json

1020857_pastedImage_3.png

0 Replies