Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java Web Start leaves hanging processes

843802Oct 24 2002 — edited Oct 26 2002
Java Web Start leaves a process on Windows (tested with XP) after it has created shortcuts.

JRE 1.4.1 JWS 1.2

How can I fix this?

To reproduce:

- Start any Java Web Start application twice
- JWS offers to create a shortcut, click OK.
- Close all programs
- Look in task manager, there is a javaw.exe using about ~22MB

The user has seen nothing wrong so far, but there is trouble waiting to happen, e.g.

- Remove an application(in my case an application that uses a
native library)
- Try to reinstall, you then get an error message:

An error occurred while launching/running the application.

Title: Foo 2.1
Vendor: Xxxx
Category: Download Error

Could not verify signing in resource: file://xxxx/daily/yyy/win32com.jar

java.io.FileNotFoundException: C:\Documents and Settings\oyvind\.javaws\cache\file\D\P-1\DM\DMxxxxxx\DMxxx_2_1\RNwin32com.jar\jspWin.dll (The process cannot access the file because it is being used by another process)

at java.io.FileOutputStream.open(Native Method)

at java.io.FileOutputStream.<init>(Unknown Source)

at java.io.FileOutputStream.<init>(Unknown Source)

at com.sun.javaws.security.SigningInfo.checkSigning(Unknown Source)

at com.sun.javaws.cache.DownloadProtocol$RetrieveAction.actionDownload(Unknown Source)

at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)

at com.sun.javaws.cache.DownloadProtocol.getResource(Unknown Source)

at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)

at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)

at com.sun.javaws.Launcher.downloadResources(Unknown Source)

at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)

at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)

at com.sun.javaws.Launcher.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)





�yvind
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 23 2002
Added on Oct 24 2002
4 comments
246 views