Michael Herger writes: > Did you download the mp3 plugin (see the docs) and a recent build > from http://softsqueeze.sourceforge.net?
I'm sorry to be dense, but this wasn't as easy at you make it sound. I'm going to describe my attempt to do what you suggest in a lot of detail, just in case anyone in my position (of ignorance) also wants to address this performance issue. And I still don't have it working. To start with, where in the docs does it say anything about an mp3 plugin? I tried: http://localhost:9000/html/docs/index.html http://softsqueeze.sourceforge.net/faq.html and even googled "plugin site:softsqueeze.sourceforege.net" with no joy. I eventually found mp3 plugin information in http://forums.slimdevices.com/gforum.cgi?post=28536#28536 Now that is not what I would call "in the docs" -- how about putting it in http://softsqueeze.sourceforge.net/faq.html or someplace else actually findable? OK, so now I download the mp3 plugin from Sun, install subversion (boy, I do love synaptic! Thanks, Debian), and run svn co http://svn.slimdevices.com/repos/slim/trunk/softsqueeze in some reasonable place, which I will call <installdir>. OK, readme says I need ant, so I install that, too. Whoops, it doesn't actually say anywhere, but the readme appears to imply I need jdk 1.5, so I go to java.sun.com and find J2SE(TM) Development Kit 5.0 Update 1, and install that too. 45MB later, I get to try export ANT_HOME=<where I installed apache ant> export JAVA_HOME=<where I installed JDK 1.5> cd <installdir>/softsqueeze ant Now, I get some warnings about [signjar] Warning: The signer certificate has expired. but it does end up with slimserver: [copy] Copying 21 files to <installdir>/server/HTML/EN/html/softsqueeze Alas, that is not a very good place for those files, but I can copy them to <slimserverdir>/HTML/EN/html/softsqueeze backing up my old files, of course. Now I restart softsqueeze from the slimserver web pages, and.... I get a webstart error :-( "Unable to launch Softsqueeze CVS_BUILD." in a dialog titled "Java Web Start Launch File Error". I click on details, and see (under a "general" tab): An error occurred while launching/running the application. Title: Softsqueeze CVS_BUILD Vendor: Richard Titmuss, et.al. Category: Launch File Error JAR resources in JNLP file are not signed by same certificate There are two other tabs of information. Under "Launch File" I get: <?xml version="1.0" encoding="utf-8"?> <!-- JNLP File for Softsqueeze --> <!-- ** This file is configured for the slimserver ** --> <!-- To use this jnlp file from another webserver or your local file --> <!-- system you must edit the 'codebase' and 'slimserver' attributes. --> <!-- Note you must make sure that the webserver returns the MIME --> <!-- type 'application/x-java-jnlp-file'. --> <jnlp spec="1.0+" codebase="http://localhost:9000/html/softsqueeze/" href="softsqueeze.jnlp"> <information> <title>Softsqueeze CVS_BUILD</title> <vendor>Richard Titmuss, et.al.</vendor> <homepage href="http://softsqueeze.sourceforge.net"/> <description>Softsqueeze Slim Devices Squeezebox Emulator</description> <description kind="short">Softsqueeze Slim Devices Squeezebox Emulator</description> <icon width="400" height="200" kind="splash" href="icons/splash.gif" /> <icon width="64" height="64" href="icons/icon64.gif" /> <offline-allowed /> <shortcut online="false"> <desktop /> <menu submenu="SlimServer" /> </shortcut> </information> <offline-allowed/> <security> <all-permissions/> </security> <resources> <j2se version="1.4+"/> <jar href="SoftSqueeze.jar"/> <jar href="lib/log4j-1.2.8.jar"/> <jar href="lib/tritonus_share.jar"/> <jar href="lib/tritonus_mp3.jar"/> <jar href="lib/jl1.0.jar"/> <jar href="lib/jflac-1.0.jar"/> <jar href="lib/jsch-20040429.jar"/> <!-- Set the following properties to configure the server and firmware --> <property name="slimserver" value="localhost"/> <property name="serverversion" value="5.4"/> </resources> <application-desc main-class="com.slim.softsqueeze.Application"/> </jnlp> And under "Exception" I see JNLPException[category: Launch File Error : Exception: null : LaunchDesc: <jnlp spec="1.0+" codebase="http://localhost:9000/html/softsqueeze/" href="http://localhost:9000/html/softsqueeze/softsqueeze.jnlp"> <information> <title>Softsqueeze CVS_BUILD</title> <vendor>Richard Titmuss, et.al.</vendor> <homepage href="http://softsqueeze.sourceforge.net"/> <description>Softsqueeze Slim Devices Squeezebox Emulator</description> <description kind="short">Softsqueeze Slim Devices Squeezebox Emulator</description> <icon href="http://localhost:9000/html/softsqueeze/icons/splash.gif" width="400" kind="splash"/> <icon href="http://localhost:9000/html/softsqueeze/icons/icon64.gif" width="64" kind="default"/> <shortcut online="false"> <menu submenu="SlimServer"/> </shortcut> <offline-allowed/> </information> <security> <all-permissions/> </security> <resources> <j2se version="1.4+"/> <jar href="http://localhost:9000/html/softsqueeze/SoftSqueeze.jar" download="eager" main="false"/> <jar href="http://localhost:9000/html/softsqueeze/lib/log4j-1.2.8.jar" download="eager" main="false"/> <jar href="http://localhost:9000/html/softsqueeze/lib/tritonus_share.jar" download="eager" main="false"/> <jar href="http://localhost:9000/html/softsqueeze/lib/tritonus_mp3.jar" download="eager" main="false"/> <jar href="http://localhost:9000/html/softsqueeze/lib/jl1.0.jar" download="eager" main="false"/> <jar href="http://localhost:9000/html/softsqueeze/lib/jflac-1.0.jar" download="eager" main="false"/> <jar href="http://localhost:9000/html/softsqueeze/lib/jsch-20040429.jar" download="eager" main="false"/> <property name="slimserver" value="localhost"/> <property name="serverversion" value="5.4"/> </resources> <application-desc main-class="com.slim.softsqueeze.Application"/> </jnlp> ] at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(LaunchDownload.java:1031) at com.sun.javaws.LaunchDownload.checkSignedResources(LaunchDownload.java:933) at com.sun.javaws.Launcher.continueLaunch(Launcher.java:766) at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:468) at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:218) at com.sun.javaws.Launcher.run(Launcher.java:165) at java.lang.Thread.run(Thread.java:595) But I have no idea how to do the various suggested things, e.g. <!-- system you must edit the 'codebase' and 'slimserver' attributes. --> or <!-- Set the following properties to configure the server and firmware --> <property name="slimserver" value="localhost"/> <property name="serverversion" value="5.4"/> which seem right to me at any rate. OK, so I see on the discussion list that it might be possible to launch this application without going through the slimserver. I try java -jar <installdir>/softsqueeze/dist/common/SoftSqueeze.jar and get.... $ java -jar <installdir>/softsqueeze/dist/common/SoftSqueeze.jar java.lang.UnsupportedOperationException at java.security.cert.X509Certificate.getIssuerX500Principal (X509Certificate.java:586) at java.util.jar.JarFile.verify (JarFile.java:678) at java.util.jar.JarFile.readSignatures (JarFile.java:569) at java.util.jar.JarFile.getEntry (JarFile.java:414) at kaffe.lang.AppClassLoader$JarSource.findClass (AppClassLoader.java:123) at kaffe.lang.AppClassLoader.findClass (AppClassLoader.java:289) at java.lang.ClassLoader.loadClass (ClassLoader.java:344) at java.lang.ClassLoader.loadClass (ClassLoader.java:295) at kaffe.jar.ExecJarName.main (ExecJarName.java:54) at kaffe.jar.ExecJar.main (ExecJar.java:75) OK, I give up. This looks maybe like some kind of certificate or security problem with the CVS release compared to the slimserver 5.4.0 distributed version. Please, help this clueless newbie make his softsqueeze run faster! Larry _______________________________________________ Discuss mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/discuss
