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
BedrockMission!

Learn More

View all

Sign in to view all badges

Starting a server in debug mode from eclipse

Avatar

Avatar
Validate 1
Level 2
jorgefdez205
Level 2

Likes

8 likes

Total Posts

26 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
jorgefdez205
Level 2

Likes

8 likes

Total Posts

26 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile
jorgefdez205
Level 2

02-08-2016

Hi

I just created a new project using Eclipse Mars and the archetype 10 in order to deploy it to AEM 6.2 instance.

I'm using the "AEM Developer Tools for Eclipse"  and until 6.1 everything was great, but once I tried (with 6.2) to add a new server in eclipse and start it in debug mode I had this:

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

I can start the server using "Start" mode and deploy all the project (default project in a clean instance) but I can not even start the server in debug mode ....

Can someone Help me on this???

 

Thanks!!

Replies

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

02-08-2016

There may be a bug with 6.2. If you have it working on 6.1, then it should work the same.  

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

02-08-2016

I am checking with some users that i know that use the plug-in. I personally prefer Maven and Command line to compile projects

Avatar

Avatar
Validate 25
MVP
bsloki
MVP

Likes

182 likes

Total Posts

1,859 posts

Correct Reply

545 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 50
Boost 5
View profile

Avatar
Validate 25
MVP
bsloki
MVP

Likes

182 likes

Total Posts

1,859 posts

Correct Reply

545 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 50
Boost 5
View profile
bsloki
MVP

02-08-2016

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,127 likes

Total Posts

6,121 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,127 likes

Total Posts

6,121 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Community Manager

03-08-2016

Hi 

I would ask you to please verify the PORT and Debug PORT.

Make sure that AEM running in debug mode before you connect with eclipse and has the same debug port configured.

Also try the link provided by Lokesh :- http://stackoverflow.com/questions/38388879/setup-aem-in-eclipse-and-create-a-project

I hope this would help you.

 

~kautuk

Avatar

Avatar
Applaud 5
Level 2
vyan024
Level 2

Likes

0 likes

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Applaud 5
View profile

Avatar
Applaud 5
Level 2
vyan024
Level 2

Likes

0 likes

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Applaud 5
View profile
vyan024
Level 2

10-08-2016

Any luck? I am facing the same issue on 6.2

Avatar

Avatar
Level 1
zapts
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
zapts
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
zapts
Level 1

15-08-2016

I'm having virtually the same problem with Eclipse Neon and AEM 6.2.  Getting 500 error trying to access sourceReferences.json when starting AEM (via Eclipse) in Debug mode.

 

- Jason

Avatar

Avatar
Boost 5
Level 3
vaibhavs7024655
Level 3

Likes

17 likes

Total Posts

28 posts

Correct Reply

6 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 5
View profile

Avatar
Boost 5
Level 3
vaibhavs7024655
Level 3

Likes

17 likes

Total Posts

28 posts

Correct Reply

6 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 5
View profile
vaibhavs7024655
Level 3

15-07-2017

- Double click the server instance in eclipse

- Expand the Debug section

- Uncheck the option Resolve sources when connecting

​- Save and restart the Server and it should work

Avatar

Avatar
Validate 1
Level 2
rajnishkaushik
Level 2

Likes

7 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
rajnishkaushik
Level 2

Likes

7 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile
rajnishkaushik
Level 2

02-08-2017

This works with AEM 6.3 as well. Unchecking the "Resolve sources..." Fixes the issue as Vaibhav suggested. Thanks

Avatar

Avatar
Boost 1
Level 1
jainj31253984
Level 1

Likes

2 likes

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
jainj31253984
Level 1

Likes

2 likes

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
jainj31253984
Level 1

25-09-2017

Uncheck the option Resolve sources when connecting - this step did the magic. Thanks Vaibhav