From owner-freebsd-java@FreeBSD.ORG Wed Sep 1 09:34:07 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A45F216A4CE for ; Wed, 1 Sep 2004 09:34:07 +0000 (GMT) Received: from ctb-mesg6.saix.net (ctb-mesg6.saix.net [196.25.240.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7E5343D41 for ; Wed, 1 Sep 2004 09:34:06 +0000 (GMT) (envelope-from me@byron.me.uk) Received: from [192.168.1.6] (rrba-177-188.telkomadsl.co.za [165.165.177.188]) by ctb-mesg6.saix.net (Postfix) with ESMTP id 1EB115803F6 for ; Wed, 1 Sep 2004 11:34:03 +0200 (SAST) Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-java@freebsd.org From: Byron Schlemmer Date: Wed, 1 Sep 2004 11:33:33 +0200 X-Mailer: Apple Mail (2.619) Subject: Tomcat 3.3 / JDK 1.4.2 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2004 09:34:07 -0000 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.(Jdk11Compat.java:34) at org.apache.tomcat.startup.Main.(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