Cannot Connect Eclipse Server to localhost:4502 | Community
Skip to main content
venkatam2558418
October 19, 2017
Solved

Cannot Connect Eclipse Server to localhost:4502

  • October 19, 2017
  • 2 replies
  • 4054 views

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!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Ratna_Kumar

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.

2 replies

smacdonald2008
Level 10
October 20, 2017

Try on a fresh AEM instance and follow this article:

Creating an Adobe Experience Manager project using Lazybones

Ratna_Kumar
Ratna_KumarAccepted solution
Level 10
October 20, 2017

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.