Tomcat 3.3 / JDK 1.4.2
Byron Schlemmer
me at byron.me.uk
Wed Sep 1 02:34:07 PDT 2004
Hi all,
I was wondering if someone might spot an obvious mistake with how I've
installed jakarta-tomcat-3.3.2 on my 5.2.1-RELEASE server with
jdk-1.4.2p6_4 installed. Basically I run
/usr/local/etc/rc.d/020.jakarta-tomcat3.sh start and I see this in the
stderr.log file :
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/commons/logging/LogFactory
at
org.apache.tomcat.util.compat.Jdk11Compat.<clinit>(Jdk11Compat.java:34)
at org.apache.tomcat.startup.Main.<clinit>(Main.java:111)
Now I've included the following in the
/usr/local/etc/rc.d/020.jakarta-tomcat3.sh script :
JAVA_HOME=/usr/local/jdk1.4.2; export JAVA_HOME
TOMCAT_HOME=/usr/local/jakarta-tomcat3.3; export TOMCAT_HOME
CLASSPATH=$TOMCAT_HOME/lib:$TOMCAT_HOME/lib/common/commons-logging-
api.jar; export CLASSPATH
In an attempt to make this work but for the life of me I can't get this
to work. Any suggestions?
: Byron
More information about the freebsd-java
mailing list