solo-io / squash

The debugger for microservices
https://squash.solo.io
Apache License 2.0
1.74k stars 103 forks source link

squash is not connecting debugger with kubernetes cluster for java application #252

Open splnanthakumar opened 4 years ago

splnanthakumar commented 4 years ago

java command : /opt/java/openjdk/bin/java-Xmx4096m-XX:+UseG1GC-XX:+UseStringDeduplication-XX:G1NewSizePercent=30-XX:InitiatingHeapOccupancyPercent=55-XX:NativeMemoryTracking=detail-XX:+HeapDumpOnOutOfMemoryError-XX:HeapDumpPath=/var/log/test-XX:+CrashOnOutOfMemoryError-XX:+PerfDisableSharedMem-XX:NativeMemoryTracking=detail-Xdebug-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5555-Dlog4j.configurationFile=/var/log/test/log4j2_s.xml-DBEHAVIOR=ACP -jar test-4.0.1.jar

is java process running inside pod : yes

i have tried "squashctl" also, but it was able to connect with the process, but it says connection refused.

squash command i have tried

plank pod logs: https://solo-io.slack.com/archives/D013FEKMG4Q/p1588182069013400?thread_ts=1588178431.005400&cid=D013FEKMG4Q

please do let me know if anything needed to debug this issue?

WaltervonGabain commented 4 years ago

I have found similar issues, can't seem to make Squash work with Java applications.

squash command I have tried: squashctl --process-match 'java' squashctl --process-match 'address=5555'

cscetbon commented 4 years ago

Any news on that issue ?