When trying to open the Oneclick Java console in a Windows machine, the following error can be displayed:
After enabling the debug in IcedTea-Web:
<local location>\IcedTeaWeb\WebStart\bin\itweb-settings.exe
We can see the following in the logs:
itw-javantx-yyyy-mm-dd_hh_mm_ss.xxx.log:
==========================================
Selecting proxy for: http://xxx.xxx.xxx.xxx:8080/spectrum/
Browser selected proxies: [DIRECT]
Selected proxies: [DIRECT]
Selecting proxy for: socket://xxx.xxx.xxx.xxx:8080
Browser selected proxies: [DIRECT]
Selected proxies: [DIRECT]
java.lang.ClassNotFoundException: com.rsa.jsafe.provider.JsafeJCE
at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClassExt(JNLPClassLoader.java:1803)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClass(JNLPClassLoader.java:1603)
at com.aprisma.spectrum.app.swing.window.LoginPrompt.<init>(LoginPrompt.java:239)
at com.aprisma.spectrum.app.client.jnlp.ClientAppBase$HttpAuthenticator.getPasswordAuthentication(ClientAppBase.java:313)
at com.aprisma.util.net.http.Authenticator.getCredentials(Authenticator.java:318)
at com.aprisma.util.net.http.Authenticator.basic(Authenticator.java:354)
at com.aprisma.util.net.http.Authenticator.authenticate(Authenticator.java:228)
at com.aprisma.util.net.http.Authenticator.authenticate(Authenticator.java:93)
at com.aprisma.util.net.http.HttpMethod.processAuthenticationResponse(HttpMethod.java:697)
at com.aprisma.util.net.http.HttpMethod.execute(HttpMethod.java:940)
at com.aprisma.util.net.http.HttpMethod.execute(HttpMethod.java:818)
at com.aprisma.spectrum.app.client.jnlp.ClientAppBase.authenticateUser(ClientAppBase.java:1652)
at com.aprisma.spectrum.app.client.jnlp.ClientAppBase.initialize(ClientAppBase.java:821)
at com.aprisma.spectrum.app.client.jnlp.ClientAppBase.<init>(ClientAppBase.java:507)
at com.aprisma.spectrum.app.client.jnlp.ClientAppBase.<init>(ClientAppBase.java:484)
at com.aprisma.spectrum.app.console.client.ConsoleApp.<init>(ConsoleApp.java:242)
at com.aprisma.spectrum.app.console.client.ConsoleApp.mainImpl(ConsoleApp.java:559)
at com.aprisma.spectrum.app.console.client.ConsoleApp$3.run(ConsoleApp.java:503)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Attempting to log into: C:\Users\<username>\.config\icedtea-web\log\itw-clienta-yyyy-mm-dd_hh_mm_ss.xxx.log
Release shared lock on C:\Users\<username>\AppData\Local\Temp\<username>\locksetx_running
Other instances of javaws are running
Release : Spectrum 21.x,22.x
Multiple javaws process instances running in the machine
1- Uninstall from windows control panel, both adoptopenjdk and icedtea-web;
2- Check for any other javaws processes running in the machine; If yes, get the information about it and take actions to prevent it to not be executed again;
3- Delete the following folders
C:\Users\<username mentioned in the logs>\.config
C:\Users\<username mentioned in the logs>\.cache
4- Cleanup the following folder:
C:\Users\<username mentioned in the logs>\AppData\Local\Temp\<username mentioned in the logs>\locksetx_running
5- Reboot the machine;
6- After it's rebooted, please ensure that the following directories does not exist anymore (if still exists, delete them):
C:\Program Files\Eclipse Adoptium\
C:\Program Files\IcedTeaWeb\
7- Go to Oneclick web page and :
- download/Install the java runtime;
- After that, download/install the IcedTea-Web
8- Clean any .jnlp files previously existent, then click on "start console" link in OC web page and check if the problem is solved.
If the problem still remains, please contact the Broadcom Support team.