From owner-freebsd-java@FreeBSD.ORG Sun Dec 12 10:59:20 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 08DA716A4CE for ; Sun, 12 Dec 2004 10:59:20 +0000 (GMT) Received: from mxfep02.bredband.com (mxfep02.bredband.com [195.54.107.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C8D843D41 for ; Sun, 12 Dec 2004 10:59:18 +0000 (GMT) (envelope-from ola.theander@otsystem.com) Received: from c0003 ([82.182.185.144] [82.182.185.144]) by mxfep02.bredband.com with ESMTP id <20041212105917.ZFEV6820.mxfep02.bredband.com@c0003> for ; Sun, 12 Dec 2004 11:59:17 +0100 From: "Ola Theander" To: Date: Sun, 12 Dec 2004 11:59:17 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcTgOZ/4W688mE6GTdKaCfRye3Y6QQ== Message-Id: <20041212105917.ZFEV6820.mxfep02.bredband.com@c0003> Subject: Prblm with Tomcat 4.1.x & 5.x (but 4.0.x works) 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: Sun, 12 Dec 2004 10:59:20 -0000 Dear subscribers I've tried to get Tomcat 4.1.x or 5.x to work on my FreeBSD 5.3 server, unfortunately without success so far. The problem seems to be with the Tomcat's bootstrap code. Whenever I start Tomcat, using the startup.sh script, I get the following error, pasted below, in the Catalina.out log. Note that it seems like the 4.0.x version works fine although I haven't done any extensive testing, i.e. just tried the default page at localhost:8080. This exception is thrown when starting Tomcat: java.util.zip.ZipException: No such file or directory at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(ZipFile.java:112) at java.util.jar.JarFile.(JarFile.java:127) at java.util.jar.JarFile.(JarFile.java:65) at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java:1082) at org.apache.catalina.loader.StandardClassLoader.(StandardClassLoader.ja va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) Bootstrap: Class loader creation threw exception java.lang.IllegalArgumentException: addRepositoryInternal: java.util.zip.ZipException: No such file or directory at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java:1110) at org.apache.catalina.loader.StandardClassLoader.(StandardClassLoader.ja va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) I've installed Java according to the specification on the http://www.freebsd.org/doc/en_US.ISO8859-1/articles/java-tomcat/x60.html site which is a document I've found for installing Tomcat and the SDK seems to be OK. The SDK I use is the linux-sun-1.4.2_05 Any help with this would be greatly appreciated. Kind regards, Ola Theander