Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Sep 2004 11:33:33 +0200
From:      Byron Schlemmer <me@byron.me.uk>
To:        freebsd-java@freebsd.org
Subject:   Tomcat 3.3 / JDK 1.4.2
Message-ID:  <FDD15FCA-FBF9-11D8-AA9E-000A95BCC722@byron.me.uk>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FDD15FCA-FBF9-11D8-AA9E-000A95BCC722>