2013-11-15 46 views
1

定期我們有這個問題阻止applet運行,進程javaw.exe似乎被鎖定,多次殺死它們解鎖applet。在跟蹤文件,我覺得這(我們JDK 1.6_35,小應用程序由J2EE Web應用程序使用):javaw.exe進程在applet開始掛起

**server running at port: 50091 
basic: unique id: JavaControlPanel 
basic: server port at: 49187 
basic: getSingleInstanceFilename: C:\Users\amoriconi\AppData\LocalLow\Sun\Java\Deployment\tmp\si\JavaControlPanel-x86_49187 
basic: file should be removed: C:\Users\amoriconi\AppData\LocalLow\Sun\Java\Deployment\tmp\si\JavaControlPanel-x86_50091 
basic: waiting connection 
Exception in thread "main" java.lang.ExceptionInInitializerError 
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) 
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) 
    at java.lang.reflect.Constructor.newInstance(Unknown Source) 
    at java.lang.Class.newInstance0(Unknown Source) 
    at java.lang.Class.newInstance(Unknown Source) 
    at sun.security.jca.ProviderConfig$3.run(Unknown Source) 
    at java.security.AccessController.doPrivileged(Native Method) 
    at sun.security.jca.ProviderConfig.doLoadProvider(Unknown Source) 
    at sun.security.jca.ProviderConfig.getProvider(Unknown Source) 
    at sun.security.jca.ProviderList.getProvider(Unknown Source) 
    at sun.security.jca.ProviderList$ServiceList.tryGet(Unknown Source) 
    at sun.security.jca.ProviderList$ServiceList.access$200(Unknown Source) 
    at sun.security.jca.ProviderList$ServiceList$1.hasNext(Unknown Source) 
    at sun.security.jca.GetInstance.getInstance(Unknown Source) 
    at java.security.SecureRandom.getInstance(Unknown Source) 
    at java.security.SecureRandom.getDefaultPRNG(Unknown Source) 
    at java.security.SecureRandom.<init>(Unknown Source) 
    at com.sun.deploy.services.WPlatformService.getSecureRandom(Unknown Source) 
    at com.sun.deploy.si.SingleInstanceImpl.getSecureRandom(Unknown Source) 
    at com.sun.deploy.si.SingleInstanceImpl.access$100(Unknown Source) 
    at com.sun.deploy.si.SingleInstanceImpl$SingleInstanceServer$1.run(Unknown Source) 
    at java.security.AccessController.doPrivileged(Native Method) 
    at com.sun.deploy.si.SingleInstanceImpl$SingleInstanceServer.createSingleInstanceFile(Unknown Source) 
    at com.sun.deploy.si.SingleInstanceImpl$SingleInstanceServer.<init>(Unknown Source) 
    at com.sun.deploy.si.SingleInstanceImpl.addSingleInstanceListener(Unknown Source) 
    at com.sun.deploy.panel.ControlPanel.<init>(Unknown Source) 
    at com.sun.deploy.panel.ControlPanel.main(Unknown Source) 
Caused by: java.lang.RuntimeException: java.security.NoSuchAlgorithmException: class configured for SecureRandom(provider: SUN)cannot be found. 
    at java.security.SecureRandom.getDefaultPRNG(Unknown Source) 
    at java.security.SecureRandom.<init>(Unknown Source) 
    at com.sun.crypto.provider.SunJCE.<clinit>(DashoA13*..) 
    ... 28 more 
Caused by: java.security.NoSuchAlgorithmException: class configured for SecureRandom(provider: SUN)cannot be found. 
    at java.security.Provider$Service.getImplClass(Unknown Source) 
    at java.security.Provider$Service.newInstance(Unknown Source) 
    at sun.security.jca.GetInstance.getInstance(Unknown Source) 
    at sun.security.jca.GetInstance.getInstance(Unknown Source) 
    at java.security.SecureRandom.getInstance(Unknown Source) 
    ... 31 more 
Caused by: java.lang.ClassNotFoundException: com/sun/deploy/security/WSecureRandom 
    at java.lang.Class.forName0(Native Method) 
    at java.lang.Class.forName(Unknown Source) 
    ... 36 more** 

出於某種原因,這個問題源於一個Java的隱藏更新,安裝JDK 7u45和然後除去解決一段時間的問題..... 我要瘋了....

+0

檢查Windows控制面板中的java事物,並確保沒有設置爲自動更新。這聽起來像java正在嘗試更新和部分失敗(可能是因爲一些文件正在使用的小程序)。 – GregHNZ

回答