JDK-6707727 : SingletonInstanceService Applet creates as many VMs when invoked from Desktop Shortcut.
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6u10
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows
  • CPU: x86
  • Submitted: 2008-05-28
  • Updated: 2010-04-04
  • Resolved: 2008-10-23
Related Reports
Duplicate :  
Description
SingletonInstanceService Applet creates as many VMs when invoked from Desktop Shortcut.

I think it should behave same as JavaWS. Which runs only one VM no matter how many times we invoke application. 

current behavior - Only one application instance exists but creates as many VMs and there is no way we can kill those process except from task manager or kill -9.

Steps to reproduce:
Install latest jre - b25 pit
Launch - http://sqindia.india.sun.com/disk17/deployment/raghu/SingleInstanceExample/singleapp.html
close browser 
Desktop short cut will be creatd. 
Click on desktop short cut 4 times. 
Expected Behavior:

Only One instance of application should appear 
Only one instance of VM should be there 
Clicking on "Close" icon should close the VM(s).

Comments
EVALUATION This problem has been fixed by the fix for 6740227 which will be available in 6u12. Closing it as a duplicate.
23-10-2008

EVALUATION I can reproduce the problem. Will work on it.
30-05-2008