Page 1 of 1

Error reading tld listeners

PostPosted: Tue Sep 02, 2008 8:18 pm
by jman
Hi,

I'm having trouble starting subsonic deployed on tomcat5.5 running in ubuntu desktop 8.04.

The catalina.out log file contains the following information:
2-Sep-08 10:03:52 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive subsonic.war
2-Sep-08 10:04:30 PM org.apache.catalina.core.StandardContext processTlds
SEVERE: Error reading tld listeners java.lang.NullPointerException
java.lang.NullPointerException
at java.io.File.normalizePath(libgcj.so.81)
at java.io.File.<init>(libgcj.so.81)
at org.apache.catalina.startup.TldConfig.getJarPaths(TldConfig.java:692)
at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:283)
at org.apache.catalina.core.StandardContext.processTlds(StandardContext.java:4307)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4144)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1206)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1306)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559)
at java.lang.Thread.run(libgcj.so.81)
2-Sep-08 10:04:32 PM org.apache.catalina.core.NamingContextListener lifecycleEvent
SEVERE: Creation of the naming context failed: javax.naming.NamingException: Context is read only

The /var/subsonic/subsonic.log does not contain any error messages:
[2008-09-02 22:04:43,366] INFO DaoHelper - Checking database schema.
[2008-09-02 22:04:46,054] INFO DaoHelper - Done checking database schema.
[2008-09-02 22:04:50,642] INFO SearchService - Automatic index creation scheduled to run every 1 day(s), starting at Wed Sep 03 03:00:00 GMT+02:00 2008
[2008-09-02 22:04:52,366] INFO PodcastService - Automatic Podcast update scheduled to run every 24 hour(s), starting at Tue Sep 02 22:09:52 GMT+02:00 2008
[2008-09-02 22:09:52,327] INFO PodcastService - Starting scheduled Podcast refresh.
[2008-09-02 22:09:52,331] INFO PodcastService - Completed scheduled Podcast refresh.

Have you got any ideas what might be wrong? I've tried shutting down tomcat, undeploying and removing the subsonic.war and subsonic folder in the webapps folder and then redeploying with no luck.

Same Issue Here

PostPosted: Sun Dec 20, 2009 5:11 pm
by lmorroni
I can reproduce this. Any solution?

PostPosted: Mon Dec 21, 2009 9:25 am
by jman
It's been a log time since I experienced this but I was able to fix it. If my memory serves me correctly, it was related to the applications permisson to the file system. I cannot remember to which files/folder though.

Try making sure that the user running subsonic (tomcat55 for me) has write access to the area where you installed subsonic.