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

javaws process does not exit when the Java application is closed #158

Closed
pkeusem opened this issue Jan 13, 2020 · 12 comments
Closed

javaws process does not exit when the Java application is closed #158

pkeusem opened this issue Jan 13, 2020 · 12 comments

Comments

@pkeusem
Copy link

pkeusem commented Jan 13, 2020

We are able to start and run our Java test application using OpenWebStart 1.1.1 successfully but when we close/exit from the test app, the javaws process continues running.

@sclassen
Copy link
Member

Would you be able to share your test application in order to help us fix this issue?

@sclassen
Copy link
Member

@pkeusem it would be really appreciated if you could provide us your test application

@janakmulani
Copy link
Contributor

janakmulani commented Mar 11, 2020

CAN NOT reproduce On OWS 1.1.5 with following steps:

  1. Using itw-settings set deployment.console.startup.mode=DISABLE

  2. Start the OWS Sample's server.

  3. Have the local file webstart-monitor.jnlp

  4. javaws webstart-monitor.jnlp

  5. App starts. Close the window. DefaultCloseOperation is EXIT_ON_CLOSE.

  6. In task manager the javaws.exe process keeps running.

  7. after few seconds the process ends.

If in the above case console startup mode is SHOW

  1. App starts. Two console windows are shown. Close the window. DefaultCloseOperation is EXIT_ON_CLOSE.

  2. The client app console window closes with the app. The OWS console keeps showing. The javaws.exe process is shown running.

  3. Close the OWS console window. The javaws.exe process ends immediately.

@reinpeter
Copy link

Same issue here, OWS 1.1.6
Console: SHOW, then javaws exits after console closed manually, after application exits.
Console: HIDE/DISABLE, javaws.exe keeps running after application exits
Java: latest zulu.
OWS Settings: default, except custom jvm download URL.

@sclassen
Copy link
Member

@reinpeter Would be great to have access to your application so we can finally reproduce this issue and maybe find a fix

@reinpeter
Copy link

@sclassen will it work if you can just 'start' the app from our site or will you need sources?

@sclassen
Copy link
Member

will try with the first one.
If we find that there are threads hanging in your code we can come back to you for further debugging

@reinpeter
Copy link

@sclassen can i send you a test link by private message somehow? Or can i reach you at openwebstart@karakun.com

@sclassen
Copy link
Member

Yes the above mail reaches the entire OWS team

@undergraver
Copy link
Contributor

Hi,

We are facing the same issue: after we close the application javaws.exe remains active and consumes quite some CPU.

Please let us know if you need anything and we will provide. We are using OpenWebStart 1.1.6 (latest to date).

Thanks!

@janakmulani
Copy link
Contributor

janakmulani commented Apr 6, 2020

We have fixed this issue. It will be available in the next release (1.1.7) of OWS.

The javaws process terminates few seconds after the log window (if displayed) is closed.

@AndreasEhret
Copy link
Member

Fixed with current release 1.1.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants