Bugzilla – Bug 7525
SoftSqueeze Browser Applet Does Not Load
Last modified: 2019-01-25 11:58:21 UTC
The Java applet doesn't load from http://hostname:9000/html/softsqueeze/applet.htm. The applet opens & the orange Java icon appears together with the message "done" or "applet loaded" Manually running applet.html from C:\Program Files\SqueezeCenter\server\HTML\EN\html\softsqueeze caused the applet to load once but subsequent attempts give the same result above. Symtoms are the same on the local install with XP Pro SP2/IE6 & remotely on XP Pro SP2/Firefox.
Steve: 1) Are you able to load / use other Java applications? 2) What version of Java do you have installed on the target system?
Hi James, Sun Java Platform Standard Edition, Version 6 Update 5 (build 1.6.0_05-b13). The pool game on Java.com runs fine as does the standalone version of SoftSqueeze. The problem only occurs when trying to run the applet within a browser. No changes have been made other than replacing SlimServer 6.5.4 on the server with SqueezeCenter. The applet ran fine from SlimServer.
OK, Confirmed this does not work on both 7.0 (release) and 7.0.1 (daily)
What next?
Any news on this: I downgraded to 6.5.4 that that no longer works either. Seems as though v7 has broken it good & proper. "Failed to find Softsqueeze libraries".
You can always run Softsqueeze from the command line (or a shortcut, batch file, whatever): java -jar Softsqueeze.jar
Will this ever be addressed or is it lost in the name of "progress"?
Spent some time looking at the applet..... a couple of notes The manifest file in the applet references slimdevices.jar. This dependency does not exist. If you create it by copying the SoftSqueeze.jar as slimdevices.jar which I think is the intent, it stops and locks up at another dependency related to log4j. This continues until you stop and restart the server and the applet supsequently dehangs and comes up correctly. If you ask for any of these resources from the server directly, it hangs indefinately. I think this is the crux of the problem. If the server returned a 404 for these resources the applet would continue and start rather than hang. Hope this is fixed and closes a 3 year old bug. from the console: d [url: http://10.11.12.111:9111/html/softsqueeze/org/apache/log4j/PatternLayoutBeanInfo.class, version: null] prevalidated=false/0 basic: Loading Java Applet ... security: resource name "org/apache/log4j/PatternLayoutBeanInfo.class" in http://10.11.12.111:9111/html/softsqueeze/ : java.lang.SecurityException: trusted loader attempted to load sandboxed resource from http://10.11.12.111:9111/html/softsqueeze/ security: resource name "org/apache/log4j/PatternLayoutBeanInfo.class" in http://10.11.12.111:9111/html/softsqueeze/ : java.lang.SecurityException: trusted loader attempted to load sandboxed resource from http://10.11.12.111:9111/html/softsqueeze/ network: Cache entry not found [url: http://10.11.12.111:9111/html/softsqueeze/org/apache/log4j/LayoutBeanInfo.class, version: null] network: Connecting http://10.11.12.111:9111/html/softsqueeze/org/apache/log4j/LayoutBeanInfo.class with proxy=DIRECT network: Connecting http://10.11.12.111:9111/ with proxy=DIRECT network: Connecting http://10.11.12.111:9111/html/softsqueeze/org/apache/log4j/LayoutBeanInfo.class with cookie "Squeezebox-player=e9%3A11%3Ab5%3Af8%3Abd%3Ae0; Squeezebox-expandPlayerControl=true; Squeezebox-expanded-MY_MUSIC=0; Squeezebox-expanded-RADIO=1; Squeezebox-expanded-PLUGIN_MY_APPS_MODULE_NAME=1; Squeezebox-expanded-FAVORITES=1; Squeezebox-expanded-PLUGINS=1; Squeezebox-playersettings=null; Squeezebox-advancedsettings=settings/server/performance.html%3F; Squeezebox-expanded-activePlugins=1; Squeezebox-expanded-inactivePlugins=1; Squeezebox-expanded-otherPlugins0=1; Squeezebox-expanded-otherPlugins1=1" network: Connecting http://10.11.12.111:9111/ with proxy=DIRECT network: Cache entry not found [url: http://10.11.12.111:9111/html/softsqueeze/org/apache/log4j/LayoutBeanInfo.class, version: null] network: Connecting http://10.11.12.111:9111/html/softsqueeze/org/apache/log4j/LayoutBeanInfo.class with proxy=DIRECT network: Connecting http://10.11.12.111:9111/ with proxy=DIRECT network: Cache entry not found [url: http://10.11.12.111:9111/html/softsqueeze/java/lang/ObjectBeanInfo.class, version: null] network: Connecting http://10.11.12.111:9111/html/softsqueeze/java/lang/ObjectBeanInfo.class with proxy=DIRECT network: Connecting http://10.11.12.111:9111/ with proxy=DIRECT basic: Applet initialized basic: Removed progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@1e4cbc4 basic: Applet made visible