cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to debug a plugin. Need Help!

Sherry_Ummen
Champ on-the-rise
Champ on-the-rise

Hi,

I have uncommented the line from nuxeo.conf for debugging and restarted Nuxeo.

Added Eclipse remote debugging configuration (see the attached image)

but still I get the error : "Failed to connect to remote VM. Connection refused. Connection refused: connect"

Could someone please help in fixing this ?

14 REPLIES 14

Ronan_Daniellou
Confirmed Champ
Confirmed Champ

Hi,

the line for activating remote debugging in nuxeo.conf ships with a configured port of 8787. Did you change it to match the port 5005 your screenshot shows?

## Sample JPDA settings for remote socket debugging
#JAVA_OPTS=$JAVA_OPTS -Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n

Regards,

Ronan

Yes I did that, earlier it was 8787 and that did not work so I tried other port number i.e. 5005 that also did not work.

You could also give me some debugging tips to figure out the problem.

This is standard Eclipse remote debugging, there is nothing specific to Nuxeo about it. Check that the port is opened by Java using a system tool like netstat. Check that it works with any other Java application besides Nuxeo.

Yes, in nuxeo 9.1, I can easily able to debug source code with Eclipse Luna Release (4.4.0) on remote debugging mode.

[Florent Guillaume](https

[Santosh Yadav](https

just get source code from git, and import in eclipse. Then restart server in debugged mode by uncommenting following line in nuxeo.conf

Ronan_Daniellou
Confirmed Champ
Confirmed Champ

You may check if a process is actually listening on port 5005, and check which process, to be sure, the Nuxeo platform is actually listening on that port.

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.