On 27/04/2010 09:08, Aryeh M. Friedman wrote: > I am migrating from 6.0.20 on FreeBSD 8-RELEASE (i386) where everything > works fine to 6.0.26 on Gentoo (unknown ditro version) Linux (kernel > version 2.6.32.9) where everything works but some of my servlets can't > load some of the classes they call. For example: > > java.lang.NoClassDefFoundError: backend/rci2/namespaces/def/InfiniteGlue$1 > java.lang.Class.getDeclaredMethods0(Native Method) > java.lang.Class.privateGetDeclaredMethods(Class.java:2427) > java.lang.Class.getMethod0(Class.java:2670) > java.lang.Class.getMethod(Class.java:1603) > java.lang.Class.getEnumConstantsShared(Class.java:2934) > java.lang.Class.enumConstantDirectory(Class.java:2963) > java.lang.Enum.valueOf(Enum.java:191) > backend.rci2.NamespaceWalker.parseChildNamespace(NamespaceWalker.java:187) > > > There has been no change in the servlet code base and/or the instance > install dir (I am using virtual hosting)... to be clear again all static > content works and servlets partially work (tomcat can find them but > somehow the classpath or soemthing is screwy)
Compare the directory listings for: /path/to/tomcat/lib for each installation and check that they match, ie have the same jar files. Then compare the lib dir in the deployed app in each server: /path/to/tomcat/webapps/myapp/WEB-INF/lib If that doesn't produce any joy, you might need to compare the WEB-INF/classes directories too. p > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org >
signature.asc
Description: OpenPGP digital signature