On Wed, 2005-03-09 at 11:12 +0100, Nicolas Mailhot wrote: > A look at how JPackage packages other JVMs (closed stuff I know:() would > be pretty enlightening I think. I know the documentation can be hard to > grasp without concrete examples. Ok, I think the answer is that java-gcj-compat needs to create the following symlinks... # ls -l /usr/lib/jvm-exports/java-1.4.2-gcj-1.4.2.0/ total 12 lrwxrwxrwx 1 root root 32 Mar 9 07:13 jaas.jar -> /usr/share/java/libgcj-4.0.0.jar lrwxrwxrwx 1 root root 32 Mar 9 07:11 jdbc-stdext.jar -> /usr/share/java/libgcj-4.0.0.jar lrwxrwxrwx 1 root root 32 Mar 9 07:11 jndi.jar -> /usr/share/java/libgcj-4.0.0.jar fitzsim: do you agree? Now tomcat5 gets a lot further, and we hit something new.... # cat /var/log/tomcat5/catalina.out Bootstrap: Class loader creation threw exception java.lang.NoClassDefFoundError: while resolving class: javax.management.MBeanServerFactory 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 org.apache.catalina.startup.Bootstrap.createClassLoader(java.lang.String, java.lang.ClassLoader) (Unknown Source) at org.apache.catalina.startup.Bootstrap.initClassLoaders() (Unknown Source) at org.apache.catalina.startup.Bootstrap.init() (Unknown Source) at org.apache.catalina.startup.Bootstrap.main(java.lang.String[]) (Unknown Source) at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0) at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0) Caused by: java.lang.ClassNotFoundException: mx4j.log.Logger not found in gnu.gcj.runtime.SystemClassLoader{urls=[], parent=gnu.gcj.runtime.VMClassLoader{urls=[file:/usr/share/java/ext/com-sun-tools-doclets-Taglet-0.7.1.jar], parent=null}} at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.6.0.0) at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.6.0.0) at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.6.0.0) ...8 more We have this class installed, so presumably the class loader's class path is wrong somehow. AG