Page 1 of 1

Subsonic on Raspberry PI

PostPosted: Sat Oct 06, 2012 8:41 pm
by rasterburn
Hi, I've been trying to install Subsonic on a Raspberry PI (Using Raspbian Wheezy)

I have installed Java (Open JDK 6), and downloaded the Debian package.

The package seems to install successfully, however when the service tries to start I get the following error:

5902 [main] INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Destroying singletons in org.springframework.bea\
ns.factory.support.DefaultListableBeanFactory@156b6b9: defining beans [service,org.springframework.remoting.rmi.RmiServiceExporter#0]; r\
oot of factory hierarchy
Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'service' defined in c\
lass path resource [applicationContext-deployer.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: \
org/mortbay/jetty/Connector
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFacto\
ry.java:883)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFa\
ctory.java:839)

Do I need to install some other dependency ?

Any help greatly appreciated, thanks

Re: Subsonic on Raspberry PI

PostPosted: Sat Oct 06, 2012 10:41 pm
by BKKKPewsey

Re: Subsonic on Raspberry PI

PostPosted: Sun Oct 07, 2012 10:06 am
by rasterburn
Yes I've looked at that post, although there are mentions of it running slowly, it suggests that others have actually got it to run.

So far I can't even get it to start!

Re: Subsonic on Raspberry PI

PostPosted: Mon Oct 08, 2012 12:38 pm
by rasterburn
Ok, I now have this working!

Turns out that overclocking my PI was causing corruption, and thus Java was not correctly installed. A fresh install with moderate overclock fixed things up.

As other have reported I see the CPU usage spike to 99%, but this only happens for a short period of time before it returns back to normal. My guess is that this is Java compiling the pages to be displayed. Once the pages have been compiled and cached things run much faster.

So far testing this shows it works perfectly, streaming to both my Laptop and iPhone.