Jim
Jim

Reputation: 19582

Why can't I remote debug? How could I find out why?

If one can't connect for remote debugging with a java process how could this issue be "debugged"?
There is no firewall
I can connect to remote debugger but not always. I mean if I connect and disconnect, it is not possible to reconnect again;

Is there a way to debug this? Does java have any logs for this?

Upvotes: 4

Views: 9617

Answers (1)

Sai Kandukuri
Sai Kandukuri

Reputation: 41

Can you check on the debug port that is configured in the remote machine and the one you are trying to use is same ? This might be one possible case.

If you didn't configure a debug port try configuring it. Your call will always be routed through that port instead of default/random port handled by your server.

Here is an example for how I do for weblogic

set JAVA_OPTIONS=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=4529,server=y,suspend=n

Upvotes: 3

Related Questions