Skip to content

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

@splnanthakumar

Description

@splnanthakumar

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

  • squashctl --process-match 'java'
  • squashctl --process-match 'address=5555'

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions