on 2017 Nov 17 3:56 PM
Hi experts
i've the following message when i try to run debug in sts:
"Failed to connect to remote VM. Connection refused. Connection refused: connect"
i saw that port 8000 is not open, even if in project.properties there's the correct property: tomcat.debugjavaoptions=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n
does anyone has some idea?this's very urgent because now i'm not able to debug.
Thanks for your precious help Marco
Request clarification before answering.
i've no process running in this machine, port 8001 are closed.. i can't really understand what is going on
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had same issue and found another process running in machine on port 8000 and 8001 (Windows: netstat -a). I switched to 8005 and its working.
tomcat.debugjavaoptions=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,address=8005,suspend=n -Xverify:none -DforceANSI=true
Try it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When the server start, do you see
Listening for transport dt_socket at address: 8000
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you starting your hybris server in debug mode?
./hybrisserver.sh debug
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.