java.lang.NoClassDefFoundError: net.sourceforge.subsonic.dao

Need help? Post your questions here.

Moderator: moderators

java.lang.NoClassDefFoundError: net.sourceforge.subsonic.dao

Postby HG » Tue Jun 06, 2006 10:37 pm

I've the following error :

javax.servlet.ServletException: L'exécution du filtre (Filter) a lancé une exception
net.sourceforge.subsonic.filter.RequestEncodingFilter.doFilter(RequestEncodingFilter.java:33)


cause mère

java.lang.NoClassDefFoundError: net.sourceforge.subsonic.dao.PlayerDao
java.lang.Class.initializeClass(libgcj.so.7)
net.sourceforge.subsonic.service.PlayerService.<init>(PlayerService.java:64)
net.sourceforge.subsonic.service.ServiceFactory.<clinit>(ServiceFactory.java:33)
java.lang.Class.initializeClass(libgcj.so.7)
net.sourceforge.subsonic.filter.SecurityRealmFilter.booleanAuthenticate(SecurityRealmFilter.java:30)
org.securityfilter.realm.SimpleSecurityRealmBase.authenticate(SimpleSecurityRealmBase.java:107)
org.securityfilter.authenticator.BasicAuthenticator.processLogin(BasicAuthenticator.java:123)
org.securityfilter.filter.SecurityFilter.doFilter(SecurityFilter.java:138)
net.sourceforge.subsonic.filter.RequestEncodingFilter.doFilter(RequestEncodingFilter.java:33)

Any idea ?
HG
 

Postby sindre_mehus » Wed Jun 07, 2006 6:33 am

Hi,

What version of Subsonic and Tomcat are you using? Did this happen after an upgrade of Subsonic, or at first-time install?

Please follow these instructions carefully:
http://subsonic.sourceforge.net/download.html

Regards,
Sindre
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby HG » Mon Jun 12, 2006 7:27 pm

At first time install.
I followed instructions ...
HG
 

Postby sindre_mehus » Mon Jun 12, 2006 7:54 pm

Hi,

From the stack trace I see that you're running GNU Java (GCJ). Please use Sun Java (http://www.java.com).

-Sindre
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby HG » Tue Jun 13, 2006 7:29 am

Thanks, It works.

What a hell to remove gcj from fedora5, there's mismatched dependencies.
HG
 

Easy fix on RC5

Postby zoo » Sat Aug 05, 2006 2:34 am

You don't need to remove GCJ from FC5 in order to run tomcat55 under Sun's JVM.

I have an FC5 installation, with tomcat55 installed from JPackage RPM's (installed via yum), plus Sun's JVM,

Just edit the JAVA_HOME field in /etc/tomcat55/tomcat55.conf, and then restart the daemon (service tomcat55 stop; service tomcat55 start).

Seems to work fine now, after the restart, and I still have GCJ installed on my system. No need to even change the /etc/alternatives settinfs.
zoo
 
Posts: 1
Joined: Sat Aug 05, 2006 2:30 am


Return to Help

Who is online

Users browsing this forum: No registered users and 16 guests