Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot find java port #156

mitchdraft opened this issue Apr 3, 2019 · 0 comments


Copy link

commented Apr 3, 2019

From Slack conversation on April 3, 2019

Configured my GKE cluster (using config map) with -agentlib:jdwp=transport=dt_socket,server=y,address=8000,suspend=n


JAVA_OPTS: -javaagent:/usr/local/aspectjweaver-1.8.11.jar -Djava.rmi.server.hostname= -Xmx3g -agentlib:jdwp=transport=dt_socket,server=y,address=8000,suspend=n

Now, when I run the squashctl-windows.exe against my cluster, trying to debug a java service I keep getting -

Can't find port in java command line arguments for PID: 197711


{"level":"fatal","ts":1554296914.100451,"caller":"plank/main.go:27","msg":"debug failed!","error":"Can't find port in java command line arguments for PID: 197711","stacktrace":"main.main\n\t/workspace/gopath/src/\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:201"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.