Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Cannot Connect Eclipse Server to localhost:4502

Avatar

Level 1

I am getting the following error

No repository found at http://localhost:4502/

http://localhost:4502/server/-/jcr:root : org.apache.commons.httpclient.NoHttpResponseException: The server localhost failed to respond

http://localhost:4502/crx/-/jcr:root : org.apache.commons.httpclient.NoHttpResponseException: The server localhost failed to respond

No repository found at http://localhost:4502/

http://localhost:4502/server/-/jcr:root : org.apache.commons.httpclient.NoHttpResponseException: The server localhost failed to respond

http://localhost:4502/crx/-/jcr:root : org.apache.commons.httpclient.NoHttpResponseException: The server localhost failed to respond

1. Done, quite a decent research but couldnt figure out. I made the locahost port and eclipse server port are same, username password are same.

2. I have deleted the old crx-quickstart repository

3. Deleted local maven dependencies  in .m2/aem

4. My locahost:4503 publish server is working fine.

5. My localhost:4502 author is working and I am able to access the crx/de/lite and make code changes.

I cannot think any more to solve this problem. I have to make changes in the core and my "installPackage" for content is not working with the error

--- content-package-maven-plugin:0.0.24:install (install-content-package) @ grainger.ui.content ---

[INFO] Installing grainger.ui.content (/Users/yvxm035/aem/ui.content/target/grainger.ui.content-3.0.7-SNAPSHOT.zip) to http://localhost:4502/crx/packmgr/service.jsp

[INFO] I/O exception (java.net.SocketException) caught when processing request: Connection reset

[INFO] Retrying request

[INFO] I/O exception (org.apache.commons.httpclient.NoHttpResponseException) caught when processing request: The server localhost failed to respond

[INFO] Retrying request

[INFO] I/O exception (org.apache.commons.httpclient.NoHttpResponseException) caught when processing request: The server localhost failed to respond

[INFO] Retrying request

And installPackage for "aem" is failing with same error trace

INFO] --- content-package-maven-plugin:0.0.24:install (install-content-package) @ grainger.ui.apps ---

[INFO] Installing grainger.ui.apps (/Users/yvxm035/aem/ui.apps/target/grainger.ui.apps-3.0.7-SNAPSHOT.zip) to http://localhost:4502/crx/packmgr/service.jsp

[INFO] I/O exception (java.net.SocketException) caught when processing request: Connection reset

[INFO] Retrying request

[INFO] I/O exception (org.apache.commons.httpclient.NoHttpResponseException) caught when processing request: The server localhost failed to respond

[INFO] Retrying request

[INFO] I/O exception (org.apache.commons.httpclient.NoHttpResponseException) caught when processing request: The server localhost failed to respond

[INFO] Retrying request

Please Help!

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

//Additional to Scott.

See this community HELPX WKND article for creating the AEM project using Lazybones, Connect to AEM using AEM Eclipse plugin and many more.

Getting Started with AEM Sites Part 1 - Project Setup

Hope this helps!!

~Ratna.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Hi,

//Additional to Scott.

See this community HELPX WKND article for creating the AEM project using Lazybones, Connect to AEM using AEM Eclipse plugin and many more.

Getting Started with AEM Sites Part 1 - Project Setup

Hope this helps!!

~Ratna.