07-25-2017 05:52 AM
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 ?
07-25-2017 07:09 AM
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
07-25-2017 07:15 AM
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.
07-25-2017 07:50 AM
You could also give me some debugging tips to figure out the problem.
07-25-2017 08:48 AM
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.
07-26-2017 01:23 AM
Yes, in nuxeo 9.1, I can easily able to debug source code with Eclipse Luna Release (4.4.0) on remote debugging mode.
07-27-2017 09:05 AM
[Florent Guillaume](https
07-27-2017 09:05 AM
[Santosh Yadav](https
08-10-2017 10:18 AM
just get source code from git, and import in eclipse. Then restart server in debugged mode by uncommenting following line in nuxeo.conf
07-25-2017 08:35 AM
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.
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.