-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Konstantin,
Konstantin Kolinko wrote: > 2008/10/10 Christopher Schultz <[EMAIL PROTECTED]>: >> (..) >> The result is that I get this and only this in >> /home/chris/app/connector-test/8785/logs/catalina.out: >> Exception in thread "main" java.lang.NoClassDefFoundError: >> > > It is a known issue with 6.0.18, see > https://issues.apache.org/bugzilla/show_bug.cgi?id=45585 Hmm... this claims to be "fixed" in 5.5.27 and later, and it's working for me on 5.5.26 with no conf/logging.properties. I did copy $CATALINA_HOME/conf/logging.properties to $CATALINA_BASE/conf/logging.properties and it appears to work. New command line is: /etc/java-config-2/current-system-vm/bin/java - -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager - -Djava.util.logging.config.file=/home/chris/app/connector-test/8785/conf/logging.properties - -Djava.endorsed.dirs=/usr/local/apache-tomcat-6.0.18/endorsed -classpath :/usr/local/apache-tomcat-6.0.18/bin/bootstrap.jar - -Dcatalina.base=/home/chris/app/connector-test/8785 - -Dcatalina.home=/usr/local/apache-tomcat-6.0.18 - -Djava.io.tmpdir=/home/chris/app/connector-test/8785/temp org.apache.catalina.startup.Bootstrap start >> /home/chris/app/connector-test/8785/logs/catalina.out 2>&1 & I also confirmed that removing $CATALINA_BASE/conf/logging.properties and setting LOGGING_CONFIG=-Dnop results in success with the following command line: /etc/java-config-2/current-system-vm/bin/java -Dnop - -Djava.endorsed.dirs=/usr/local/apache-tomcat-6.0.18/endorsed -classpath :/usr/local/apache-tomcat-6.0.18/bin/bootstrap.jar - -Dcatalina.base=/home/chris/app/connector-test/8785 - -Dcatalina.home=/usr/local/apache-tomcat-6.0.18 - -Djava.io.tmpdir=/home/chris/app/connector-test/8785/temp org.apache.catalina.startup.Bootstrap start >> /home/chris/app/connector-test/8785/logs/catalina.out 2>&1 & So, this appears to be my problem, but two things confuse me: 1. The command-line looks just fine to me in the first place. and 2. TC 5.5.26 is working without a problem. <shrug> I'm happy enough to have it working. Thanks! > The message with no class name is caused by passing an > empty argument to /usr/bin/java. The command-line I posted appears to be valid, including "org.apache.catalina.startup.Bootstrap" as the startup class. > Also, you are missing /work subdirectory in your ${catalina.base}. Maybe > it is auto-created, but just in case. Yes, TC auto-creates the work subdirectory. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkjzaZIACgkQ9CaO5/Lv0PD+YgCfRzeSMkMHZ9UP65YH5rZELAnc EuYAnihL8kJ49P/mjO4TSlUClUVSeZ2+ =MK1l -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]