Page 1 of 1

Debugging OWS

Posted: 14 Jul 2021, 03:57
by cyclops
Hi all,

Is there a way to debug OWS instead of just debugging the java code itself? I'm working with a few java 3D apps that don't work through OWS, but work through the oracle Java Web Start and I'm trying to see exactly where/why it fails. Any help would be appreciated.

Thanks!

Re: Debugging OWS

Posted: 15 Jul 2021, 10:32
by Janak Mulani
Yes you can debug OWS and ITW.

Please see https://openwebstart.com/docs/OWSGuide. ... _debugging. You can set breakpoint in Boot.main which starts processing the jnlp and starts the App.

You can specify -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005 in javaws.vmoptions in OWS installation directory to be able to debug OpenwebStartLauncher which is invoked when by the command javaws.