Jukebox: Audio Device Unavailable

Need help? Post your questions here.

Moderator: moderators

Jukebox: Audio Device Unavailable

Postby jgkatz » Sat Jul 18, 2009 5:57 pm

I'm having some trouble getting the jukebox mode to work on my server. Subsonic is currently deployed using the a .war file on Tomcat6 running on Ubuntu 9.04. When I attempt to play a song with a jukebox player, the play control switches to 'stop' as if it is playing, but nothing happens.

subsonic.log (below) seems to indicate that the audio device is unavailable. I have tried stopping any service using the sound card to free it up but no joy.

Any suggestions would be appreciated.
Code: Select all
[2009-07-18 13:17:22,143] DEBUG JukeboxService - opened : {vbr=false, mp3.crc=false, mp3.copyright=false, mp3.padding=false, mp3.channels=2, mp3.version.mpeg=1, audio.framerate.fps=38.28125, audio.channels=2, mp3.framerate.fps=38.28125, mp3.framesize.bytes=413, mp3.version.layer=3, mp3.frequency.hz=44100, mp3.header.pos=0, mp3.bitrate.nominal.bps=128000, mp3.vbr.scale=0, mp3.version.encoding=MPEG1L3, basicplayer.sourcedataline=com.sun.media.sound.MixerSourceLine@c02d83, bitrate=128000, audio.type=MP3, mp3.mode=1, mp3.vbr=false, audio.samplerate.hz=44100.0, mp3.original=true}
[2009-07-18 13:17:22,143] DEBUG JukeboxService - stateUpdated : OPENED:-1
[2009-07-18 13:17:22,145] WARN JukeboxService - Error in BasicPlayer.play()
javax.sound.sampled.LineUnavailableException: Audio Device Unavailable
        at com.sun.media.sound.HeadspaceMixer.nResume(Native Method)
        at com.sun.media.sound.HeadspaceMixer.implOpen(HeadspaceMixer.java:346)
        at com.sun.media.sound.AbstractMixer.open(AbstractMixer.java:286)
        at com.sun.media.sound.AbstractMixer.open(AbstractMixer.java:323)
        at com.sun.media.sound.AbstractDataLine.open(AbstractDataLine.java:103)
        at com.sun.media.sound.MixerSourceLine.open(MixerSourceLine.java:39)
        at javazoom.jlgui.basicplayer.BasicPlayer.openLine(Unknown Source)
        at javazoom.jlgui.basicplayer.BasicPlayer.initLine(Unknown Source)
        at javazoom.jlgui.basicplayer.BasicPlayer.startPlayback(Unknown Source)
        at javazoom.jlgui.basicplayer.BasicPlayer.play(Unknown Source)
        at net.sourceforge.subsonic.service.JukeboxService$JuxeboxPlayer.play(JukeboxService.java:140)
        at javazoom.jlgui.basicplayer.BasicPlayer.openLine(Unknown Source)
        at javazoom.jlgui.basicplayer.BasicPlayer.initLine(Unknown Source)
        at javazoom.jlgui.basicplayer.BasicPlayer.startPlayback(Unknown Source)
        at javazoom.jlgui.basicplayer.BasicPlayer.play(Unknown Source)
        at net.sourceforge.subsonic.service.JukeboxService$JuxeboxPlayer.play(JukeboxService.java:140)
        at net.sourceforge.subsonic.service.JukeboxService.play(JukeboxService.java:72)
        at net.sourceforge.subsonic.ajax.PlaylistService.convert(PlaylistService.java:200)
        at net.sourceforge.subsonic.ajax.PlaylistService.start(PlaylistService.java:71)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34)
        at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)
        at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431)
        at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283)
        at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52)
        at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101)
        at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:146)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
        at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
        at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
        at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
        at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
        at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
        at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
jgkatz
 
Posts: 2
Joined: Sat Jul 18, 2009 5:20 pm

Postby jgkatz » Sun Jul 19, 2009 3:31 pm

As a follow-up, it seems that the jukebox started working after a power cycle, though I'm not sure what changed. Now I have an issue with certain songs not playing (particularly podcasts). Is this an issue with the filename?

This time subsonic.log seems to indicate a Java IO exception "Resetting to an Invalid Mark" (see below).

Code: Select all
[2009-07-19 11:22:44,783] INFO JukeboxService - Starting jukebox player on behalf of jgkatz
[2009-07-19 11:22:44,783] DEBUG JukeboxService - stateUpdated : OPENING:-1:net.sourceforge.subsonic.io.PlaylistInputStream@1fdc6f6
[2009-07-19 11:22:44,787] INFO PlaylistInputStream - Opening new song NPR- Most E-Mailed Stories Podcast/npr_106780042.mp3
[2009-07-19 11:22:44,808] WARN JukeboxService - Error in BasicPlayer.play()
java.io.IOException: Resetting to invalid mark
        at java.io.BufferedInputStream.reset(BufferedInputStream.java:416)
        at org.tritonus.share.sampled.file.TAudioFileReader.getAudioInputStream(TAudioFileReader.java:339)
        at javazoom.spi.mpeg.sampled.file.MpegAudioFileReader.getAudioInputStream(Unknown Source)
        at javax.sound.sampled.AudioSystem.getAudioInputStream(AudioSystem.java:1094)
        at javazoom.jlgui.basicplayer.BasicPlayer.initAudioInputStream(Unknown Source)
        at javazoom.jlgui.basicplayer.BasicPlayer.initAudioInputStream(Unknown Source)
        at javazoom.jlgui.basicplayer.BasicPlayer.open(Unknown Source)
        at net.sourceforge.subsonic.service.JukeboxService$JuxeboxPlayer.play(JukeboxService.java:139)
        at net.sourceforge.subsonic.service.JukeboxService.play(JukeboxService.java:72)
        at net.sourceforge.subsonic.ajax.PlaylistService.convert(PlaylistService.java:200)
        at net.sourceforge.subsonic.ajax.PlaylistService.skip(PlaylistService.java:84)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34)
        at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)
        at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431)
        at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283)
        at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52)
        at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101)
        at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:146)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
        at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
        at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
        at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
        at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
        at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
        at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
        at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
        at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
        at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
        at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
        at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
        at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at net.sourceforge.subsonic.filter.RequestEncodingFilter.doFilter(RequestEncodingFilter.java:43)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at net.sourceforge.subsonic.filter.ParameterDecodingFilter.doFilter(ParameterDecodingFilter.java:54)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at net.sourceforge.subsonic.filter.BootstrapVerificationFilter.doFilter(BootstrapVerificationFilter.java:54)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException: Resetting to invalid mark
        at java.io.BufferedInputStream.reset(BufferedInputStream.java:416)
        at org.tritonus.share.sampled.file.TAudioFileReader.getAudioInputStream(TAudioFileReader.java:390)
        at org.tritonus.share.sampled.file.TAudioFileReader.getAudioInputStream(TAudioFileReader.java:329)
        ... 67 more
jgkatz
 
Posts: 2
Joined: Sat Jul 18, 2009 5:20 pm

Postby comander » Tue Jan 26, 2010 5:58 pm

Any updates on this one, cause I'm facing the same issue.
comander
 
Posts: 1
Joined: Tue Jan 26, 2010 5:57 pm

Postby carbide20 » Fri May 28, 2010 6:19 am

Same here. I installed mine on Ubuntu 10.04 with the .deb file, but I also tried standalone. Same error is received both times, and ONLY in jukebox mode.

Error in BasicPlayer.play()
carbide20
 
Posts: 6
Joined: Sun May 23, 2010 6:36 am

Postby carbide20 » Fri May 28, 2010 2:14 pm

Come on people... Nobody has an answer to this!?!?!?

This post has been around for almost a year. Without jukebox mode working, subsonic is useless to a WHOLE BUNCH of us. I can copy songs to any computer to play them without subsonic. The goal is to have a media server hooked up to my stereo and play songs in jukebox mode. Without that working, I have no use for Subsonic.

Somebody HAS TO know SOMETHING about this... I've tried on multiple Ubuntu systems (yes, Java was fully updated, as per the tutorial) and jukebox mode does not work in any of them.
carbide20
 
Posts: 6
Joined: Sun May 23, 2010 6:36 am

Postby Fazel » Sat Jun 19, 2010 2:00 pm

Are you still having this problem? I wrote a quick hack for myself that wraps the jukebox service around mplayer(which supports just about codec around). If you want I could clean it up and package it for you to use as well?
Fazel
 
Posts: 2
Joined: Sat Jun 19, 2010 1:58 pm

Postby ericwerk » Mon Jul 05, 2010 6:59 pm

try installing the sun JDK instead of the openJDK. openJDk has known issues with pulseaudio which is what subsonic relies on to play in jukebox mode
ericwerk
 
Posts: 2
Joined: Mon Jul 05, 2010 6:57 pm

Postby ccandreva » Tue Jul 06, 2010 3:53 pm

There may be no answers here, but the question has been asked and answered in other threads.

First, for ANY question you need to post your server information, including what operating system. Subsonic works on Windows, Mac, and Linux, and all have their own way of deal with sound, so all have their own problems and solutions, For Linux you should include the distribution and version.

For example, I had this problem on Fedora 12 running headless (without a monitor or any graphic mode, just pure text login), because Fedora uses Pulseaudio by default, and Pulseaudio isn't started until a graphical login shell. The solution on Fedora is to remove Pulseaudio.

Obviously, if you are on Windows, this won't help you.
User avatar
ccandreva
 
Posts: 104
Joined: Fri May 28, 2010 8:22 pm

Postby walkerpett » Wed Jul 28, 2010 2:40 am

I have this exact problem after a fresh install of Ubuntu 10.04 LTS (Lucid) and Subsonic 4.0.1 via the .deb installer on the Subsonic website. I have neither Open or Sun JDK installed, just the JRE that came with Ubuntu. I am using a 4.1 gen Macbook. No audio in Jukebox mode.

Code: Select all
[2010-07-27 21:11:12,118] INFO JukeboxService - Starting jukebox player on behalf of admin
[2010-07-27 21:11:12,119] DEBUG JukeboxService - stateUpdated : OPENING:-1:java.io.BufferedInputStream@1181704
[2010-07-27 21:11:12,119] INFO PlaylistInputStream - admin listening to "Vol. 2...Hard Knock Life/06 Mony, Cash, Hoes(Featuring Dmx).mp3"
[2010-07-27 21:11:12,128] DEBUG JukeboxService - opened : {mp3.id3tag.track=6, mp3.crc=false, mp3.copyright=false, album=Vol. 2...Hard Knock Life, mp3.channels=2, mp3.version.mpeg=1, date=1994, mp3.id3tag.genre=Rap, mp3.framesize.bytes=152, author=Jay-Z, title=Mony, Cash, Hoes(Featuring Dmx), mp3.version.layer=3, mp3.vbr.scale=75, mp3.bitrate.nominal.bps=122000, mp3.version.encoding=MPEG1L3, audio.type=MP3, mp3.id3tag.v2=java.io.ByteArrayInputStream@11096a, vbr=true, mp3.id3tag.v2.version=4, mp3.padding=false, audio.framerate.fps=38.28125, audio.channels=2, mp3.framerate.fps=38.28125, mp3.header.pos=1187, mp3.frequency.hz=44100, basicplayer.sourcedataline=org.classpath.icedtea.pulseaudio.PulseAudioSourceDataLine@3b19a6, bitrate=122000, mp3.mode=1, comment=edia Jukebox: Tool Name, mp3.vbr=true, audio.samplerate.hz=44100.0, mp3.original=true}
[2010-07-27 21:11:12,129] DEBUG JukeboxService - stateUpdated : OPENED:-1
[2010-07-27 21:11:12,131] WARN JukeboxService - Error in BasicPlayer.play()
javax.sound.sampled.LineUnavailableException
   at org.classpath.icedtea.pulseaudio.PulseAudioMixer.openImpl(PulseAudioMixer.java:714)
   at org.classpath.icedtea.pulseaudio.PulseAudioMixer.openLocal(PulseAudioMixer.java:588)
   at org.classpath.icedtea.pulseaudio.PulseAudioMixer.openLocal(PulseAudioMixer.java:584)
   at org.classpath.icedtea.pulseaudio.PulseAudioMixer.open(PulseAudioMixer.java:579)
   at org.classpath.icedtea.pulseaudio.PulseAudioDataLine.open(PulseAudioDataLine.java:95)
   at org.classpath.icedtea.pulseaudio.PulseAudioSourceDataLine.open(PulseAudioSourceDataLine.java:75)
   at javazoom.jlgui.basicplayer.BasicPlayer.openLine(Unknown Source)
   at javazoom.jlgui.basicplayer.BasicPlayer.initLine(Unknown Source)
   at javazoom.jlgui.basicplayer.BasicPlayer.startPlayback(Unknown Source)
   at javazoom.jlgui.basicplayer.BasicPlayer.play(Unknown Source)
   at net.sourceforge.subsonic.service.JukeboxService$JuxeboxPlayer.play(JukeboxService.java:154)
   at net.sourceforge.subsonic.service.JukeboxService.play(JukeboxService.java:76)
   at net.sourceforge.subsonic.ajax.PlaylistService.convert(PlaylistService.java:268)
   at net.sourceforge.subsonic.ajax.PlaylistService.play(PlaylistService.java:115)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:616)
   at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34)
   at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)
   at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431)
   at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283)
   at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52)
   at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101)
   at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:146)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
   at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
   at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
   at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
   at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
   at net.sourceforge.subsonic.filter.RequestEncodingFilter.doFilter(RequestEncodingFilter.java:43)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
   at net.sourceforge.subsonic.filter.ParameterDecodingFilter.doFilter(ParameterDecodingFilter.java:54)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
   at net.sourceforge.subsonic.filter.BootstrapVerificationFilter.doFilter(BootstrapVerificationFilter.java:54)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
   at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
   at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
   at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
   at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
   at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
   at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
   at org.mortbay.jetty.Server.handle(Server.java:313)
   at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
   at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:844)
   at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
   at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
   at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
   at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
   at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
walkerpett
 
Posts: 4
Joined: Wed Jul 28, 2010 2:32 am

Postby ccandreva » Wed Jul 28, 2010 9:48 pm

That error looks like the user subsonic is running as can't access the sound card. I would try running mplayer or some other player to test the sound card as that user (even if it's root).
User avatar
ccandreva
 
Posts: 104
Joined: Fri May 28, 2010 8:22 pm

Postby walkerpett » Wed Jul 28, 2010 10:45 pm

all users appear to have access to the sound card via mplayer. This is not surprising: subsonic has no trouble playing music on a remote machine through a web player. only jukebox mode is not working.
walkerpett
 
Posts: 4
Joined: Wed Jul 28, 2010 2:32 am

Postby walkerpett » Thu Jul 29, 2010 1:00 am

Installing sun-java-sdk solved the problem.

As a reminder:
Code: Select all
sudo update-alternatives --config java


Allows you to select which SDK is in use.
walkerpett
 
Posts: 4
Joined: Wed Jul 28, 2010 2:32 am

Postby gygys » Sat Nov 27, 2010 6:20 am

If you're using Ubuntu 10.04+, the Sun JDK is hidden away. So you'll need to:
Code: Select all
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get update   # update to know about new repository
sudo apt-get install sun-java6-jdk
before you
Code: Select all
sudo update-alternatives --config java
to the Sun installation.

Now I can play certain mp3s in Jukebox (no idea what differentiates them), but transcodes aren't working. (They work through the web player, though.)

Subsonic
4.2 (build 1944) – November 21, 2010
jetty-6.1.x, java 1.6.0_22, Linux (33.9 MB / 47.3 MB)
Ubuntu 10.10, .deb install from website
gygys
 
Posts: 1
Joined: Sat Nov 27, 2010 5:21 am

Postby mememot » Sun Feb 20, 2011 8:55 pm

I was having issues with jukebox (saying "Error in BasicPlayer.play()" when I tried using a jukebox player) on Ubuntu 10.10 (Subsonic 4.4). I installed Sun Java, set it as default and tried using jukebox but it still didn't work. I tried removing the Open Java using the command line and tested jukebox again and it still didn't work. Side note, I tried everything after these changes just in case--restarting the Subsonic service, restarting the computer, etc, but nothing worked.

I left it for a few days and came back to it today and tried it all again but this time I used Synaptic Package Manager to remove Open Java (selecting to totally remove the Open JDK packages that were installed) and when I ran sudo update-alternatives --config java afterward it only listed Sun Java (which I selected, naturally). I tried Jukebox again and it worked this time from both the web interface as well as iSub 3.0 for iPhone.

Hope this helps anyone in my particular situation.
mememot
 
Posts: 1
Joined: Sun Feb 20, 2011 8:42 pm

Thanks mememot

Postby poiuytre » Sun Feb 27, 2011 1:03 am

Guys,

Subsonic is ###AWSOME###.
Just posting to thank mememot's post that did the jukebox trick for me.
People having this issue must try this.

Subsonic is yami.
poiuytre
 
Posts: 1
Joined: Sun Feb 27, 2011 12:57 am

Next

Return to Help

Who is online

Users browsing this forum: No registered users and 24 guests