Page 1 of 1
Cover Art not displaying

Posted:
Fri Oct 24, 2008 4:53 pm
by Aethies
First off, I just want to say this is the BEST solution I have found on the net! Great job and just plain incredible!
I have read through so many posts, haven't found a solution to this issue, but I saw a post yesterday regarding cover art and saw that the album art should be posted on the random screen. Mine is not. I have to go into the actual album, then click on the link for the album art to show. Any help on this?
I am not sure how to post the images in here, but I can't get them to come up. If someone could explain easily how to insert the screenshots, I would be happy to do that.
Thanks!
Aethies

Posted:
Fri Oct 24, 2008 5:15 pm
by gwash
i had the same problem earlier today, however, yours could be different, please post your error log..
Error Log

Posted:
Fri Oct 24, 2008 6:37 pm
by Aethies
Sorry.. I should have thought of that. Hope this can shed some light on this..
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:595)
[2008-10-24 06:33:51,533] WARN CoverArtController - Failed to create thumbnail for /shares/music/music/B/Blake Shelton/Blake Shelton/Folder.jpg
java.lang.NoClassDefFoundError
at com.sun.imageio.plugins.jpeg.JPEGImageReaderSpi.createReaderInstance(JPEGImageReaderSpi.java:89)
at javax.imageio.spi.ImageReaderSpi.createReaderInstance(ImageReaderSpi.java:296)
at javax.imageio.ImageIO$ImageReaderIterator.next(ImageIO.java:488)
at javax.imageio.ImageIO$ImageReaderIterator.next(ImageIO.java:472)
at javax.imageio.ImageIO.read(ImageIO.java:1397)
at javax.imageio.ImageIO.read(ImageIO.java:1322)
at net.sourceforge.subsonic.controller.CoverArtController.getCachedImage(CoverArtController.java:122)
at net.sourceforge.subsonic.controller.CoverArtController.handleRequest(CoverArtController.java:74)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:874)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:808)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:431)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
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:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at net.sourceforge.subsonic.filter.RequestEncodingFilter.doFilter(RequestEncodingFilter.java:25)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at net.sourceforge.subsonic.filter.ParameterDecodingFilter.doFilter(ParameterDecodingFilter.java:36)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at net.sourceforge.subsonic.filter.BootstrapVerificationFilter.doFilter(BootstrapVerificationFilter.java:36)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:595)
[2008-10-24 06:33:51,555] WARN CoverArtController - Failed to create thumbnail for /shares/music/music/B/Broadway Musicals/Fiddler on The Roof/Folder.jpg
java.lang.NoClassDefFoundError
at com.sun.imageio.plugins.jpeg.JPEGImageReaderSpi.createReaderInstance(JPEGImageReaderSpi.java:89)
at javax.imageio.spi.ImageReaderSpi.createReaderInstance(ImageReaderSpi.java:296)
at javax.imageio.ImageIO$ImageReaderIterator.next(ImageIO.java:488)
at javax.imageio.ImageIO$ImageReaderIterator.next(ImageIO.java:472)
at javax.imageio.ImageIO.read(ImageIO.java:1397)
at javax.imageio.ImageIO.read(ImageIO.java:1322)
at net.sourceforge.subsonic.controller.CoverArtController.getCachedImage(CoverArtController.java:122)
at net.sourceforge.subsonic.controller.CoverArtController.handleRequest(CoverArtController.java:74)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:874)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:808)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:431)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
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:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at net.sourceforge.subsonic.filter.RequestEncodingFilter.doFilter(RequestEncodingFilter.java:25)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at net.sourceforge.subsonic.filter.ParameterDecodingFilter.doFilter(ParameterDecodingFilter.java:36)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at net.sourceforge.subsonic.filter.BootstrapVerificationFilter.doFilter(BootstrapVerificationFilter.java:36)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:595)

Posted:
Fri Oct 24, 2008 9:57 pm
by gwash
ok, seems like you don't have JDK installed (either that, or tomcat doesn't know where it is), please check your server settings and/or whether JDK is installed properly.
also, what distro are you running this on?

Posted:
Sat Oct 25, 2008 2:33 am
by Aethies
I do have jdk installed.
java version "1.5.0_15"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
Java HotSpot(TM) Client VM (build 1.5.0_15-b04, mixed mode, sharing)
Everything is working great! Just don't auto populate the album art. You have to go into the album and then click on the zoom for it to come up.
BTW:
System is running Ubuntu Server - server is completely up to date.
Thanks

Posted:
Sat Oct 25, 2008 2:52 am
by gwash
couple of questions:
1: how do you start up your server?
2: where does ubuntu install jdk?
3: did you set up the JAVA_HOME/JRE_HOME arguments for tomcat? what is it?
server info

Posted:
Sat Oct 25, 2008 4:10 am
by Aethies
The server is started automatically using the start scripts.
Ubuntu installs jdk in /usr/lib/jvm/java-1.5.0-sun
Yes.. I set the environment variable as such:
JAVA_HOME="/usr/lib/jvm/java-1.5.0-sun"
BTW,
Thanks for your help in this. Like I said, I have tried ORB in windows and hated that from the second the install was done.

Posted:
Sat Oct 25, 2008 5:47 pm
by twiztar
Could you post the Java information you see at the 'Help' view in subsonic? Ubuntu might have installed gnu java and set up tomcat (if you use tomcat) to use that instead.
You might also be able to find out this by running "java --version"
If it is set to gnu java or something other than sun java, you'll be able to update it by doing "sudo update-java-alternatives"¨
Edit: another problem, I had it myself is that I'm running without X windows, so I had to add "JAVA_OPTS="-Djava.awt.headless=true" to /etc/default/tomcat
If you're not running it through tomcat, you might have to update your startup script to reflect these options.

Posted:
Sun Oct 26, 2008 4:22 pm
by sindre_mehus
Yeah, I second that. Specifying -Djava.awt.headless=true most likely solves your problem.
Sindre
Java

Posted:
Mon Oct 27, 2008 2:41 pm
by Aethies
I am running tomcat5.5 and have set the -Djava.awt.headless=true in the /etc/default/tomcat5.5 file. I just haven't restarted my server yet but I did restart tomcat.
Here is my output from the help screen. Mind you, all these folders are writable. There is about 46k songs in these folders.
10/27/08 8:35:16 AM MDT] WARN CoverArtController Failed to create thumbnail for /shares/music/music/A/Aerosmith/77055.jpg
[10/27/08 8:35:16 AM MDT] WARN CoverArtController Failed to create thumbnail for /shares/music/music/T/Toto/Toto IV/Folder.jpg
[10/27/08 8:35:16 AM MDT] WARN CoverArtController Failed to create thumbnail for /shares/music/music/G/Gap Band/Folder.jpg
[10/27/08 8:35:16 AM MDT] WARN CoverArtController Failed to create thumbnail for /shares/music/music/B/Best Celtic Anthems Ever/Folder.jpg
[10/27/08 8:35:16 AM MDT] WARN CoverArtController Failed to create thumbnail for /shares/music/music/H/Harry Connick Jr/11/Folder.jpg
[10/27/08 8:35:16 AM MDT] WARN CoverArtController Failed to create thumbnail for /shares/music/music/R/Roni Size & Reprazent/In the Møde/Folder.jpg
[10/27/08 8:35:16 AM MDT] WARN CoverArtController Failed to create thumbnail for /shares/music/music/O/Other/Folder.jpg
[10/27/08 8:35:37 AM MDT] WARN CoverArtController Failed to create thumbnail for /shares/music/music/H/Hank Williams Jr/Folder.jpg
[10/27/08 8:35:37 AM MDT] WARN CoverArtController Failed to create thumbnail for /shares/music/music/R/Rush/Folder.jpg
[10/27/08 8:35:37 AM MDT] WARN CoverArtController Failed to create thumbnail for /shares/music/music/0-#/60's Hits/Folder.jpg
[10/27/08 8:35:37 AM MDT] WARN CoverArtController Failed to create thumbnail for /shares/music/music/D/Dave Matthews/Live at Luther College Disc 2/Folder.jpg
[10/27/08 8:35:37 AM MDT] WARN CoverArtController Failed to create thumbnail for /shares/music/music/B/Bob Marley/Natural Mystic/Folder.jpg
[10/27/08 8:35:37 AM MDT] WARN CoverArtController Failed to create thumbnail for /shares/music/music/S/Singles/Todays Music/top 40 singles/Folder.jpg