Page 1 of 1

FC4 Tomcat 5.0

PostPosted: Sun Mar 26, 2006 1:55 am
by btallmannotatgmailcom
App deploys fine, but fails to start...

I can send you the log files...


[2006-03-25 17:47:13,688] ERROR digester.Digester - Begin event threw error
java.lang.NoClassDefFoundError: while resolving class: net.sourceforge.subsonic.filter.SecurityRealmFilter
at java.lang.VMClassLoader.transformException(java.lang.Class, java.lang.Throwable) (/usr/lib/libgcj.so.6.0.0)
at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.6.0.0)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
at java.lang.Class.newInstance() (/usr/lib/libgcj.so.6.0.0)
at org.apache.commons.digester.ObjectCreateRule.begin(org.xml.sax.Attributes) (Unknown Source)
at org.apache.commons.digester.Rule.begin(java.lang.String, java.lang.String, org.xml.sax.Attributes) (Unknown Source)
at org.apache.commons.digester.Digester.startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Att
ributes) (Unknown Source)
..................
..................
Caused by: java.lang.ClassNotFoundException: java.lang.StringBuilder
at org.apache.catalina.loader.WebappClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libcatalina-5.0.30.jar.so)
at org.apache.catalina.loader.WebappClassLoader.loadClass(java.lang.String) (/usr/lib/libcatalina-5.0.30.jar.so)
at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.6.0.0)
...57 more

PostPosted: Sun Mar 26, 2006 5:14 am
by sindre_mehus
It looks as if Tomcat uses Java 1.4. Please make sure it uses Java 1.5.

(java.lang.StringBuilder was added in 1.5).

Hope this helps,
Sindre