0

I am experiencing an unusual problem while debugging a java application in tomcat9.

the jpda port is found listening after tomcat is up, telnet localhost works good.

However the eclipse couldn't establish an debug connection before timing out. I increased the time out interval in eclipse, but didn't help.

catlina.bat has the JPDA_OPTS=-agentlib:jdwp=transport=%JPDA_TRANSPORT%,address=%JPDA_ADDRESS%,server=y,suspend=%JPDA_SUSPEND% which evaluates to -agentlib:jdwp=transport=dt_socket,address=localhost:8000,server=y,suspend=n

I tried connecting using localhost, 12.0.0.1 and the ip address, nothing helped.

Any suggestions would greatly help.

Prabhu
  • 119
  • 1
  • 8
  • Would like to mention that I tried the options mentioned in the only stakcoverflow question for a similar issue in tomcat9 https://stackoverflow.com/questions/54373166/java-remote-debugging-jpda-not-working-for-me-in-tomcat-9?rq=1 and didnt help. – Prabhu Jun 25 '21 at 12:28

0 Answers0