From owner-freebsd-java Fri Jul 26 7:21:45 2002 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 D139B37B400 for ; Fri, 26 Jul 2002 07:21:42 -0700 (PDT) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7694243E6E for ; Fri, 26 Jul 2002 07:21:38 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from mail by mgr2.xmission.com with spam-scanned (Exim 3.35 #1) id 17Y5yG-0006zK-00; Fri, 26 Jul 2002 08:21:32 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 17Y5yE-0006y9-00; Fri, 26 Jul 2002 08:21:31 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g6QELNt70449; Fri, 26 Jul 2002 23:51:23 +0930 (CST) (envelope-from glewis) Date: Fri, 26 Jul 2002 23:51:23 +0930 From: Greg Lewis To: Dev Zero G Ltd Cc: freebsd-java@FreeBSD.ORG Subject: Re: ELF file OS ABI invalid Message-ID: <20020726235122.A70429@misty.eyesbeyond.com> References: <20020726035044.A10113@misty.eyesbeyond.com> <20020725214255.GA2411@gnuppy.monkey.org> <20020726100636.A11776@misty.eyesbeyond.com> <20020726120425.74de8e76.daichi@ongs.co.jp> <3D414FB9.9030003@devzerog.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3D414FB9.9030003@devzerog.com>; from mailing_lists@devzerog.com on Fri, Jul 26, 2002 at 02:33:45PM +0100 X-Spam-Status: No, hits=-3.4 required=8.0 tests=IN_REP_TO version=2.31 X-Spam-Level: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Jul 26, 2002 at 02:33:45PM +0100, Dev Zero G Ltd wrote: > Building and then launching the Tomcat 4.0.4 connector for Apache 2 on > FreeBSD 4.4, jdk 1.4 , we get: > > Jul 26, 2002 8:21:15 AM org.apache.jk.server.JkMain init > INFO: Starting Jk2, base dir= /usr/local/tomcat4.0.4_1.4.0 > conf=/usr/local/tomca > t4.0.4_1.4.0/conf/jk2.properties > Jul 26, 2002 8:21:15 AM org.apache.jk.server.JkMain start > INFO: APR not loaded, disabling jni components: java.io.IOException: > /usr/local/ > tomcat4.0.4_1.4.0/lib/jk_jnicb.so: > /usr/local/tomcat4.0.4_1.4.0/lib/jk_jnicb.so: > ELF file OS ABI invalid. > > ANY ideas, suggestions, guesses - would be greatly appreciated. > > Seems like a JNI problem.. But what exactly? I'm assuming you're running 1.4 under Linux emulation, since the native 1.4 isn't near finished yet :). The obvious guess would then be that the shared library jk_jnicb.so is in fact a native FreeBSD shared library when it needs to be a Linux shared library. Any shared library loaded by a Linux JDK running under emulation must be a Linux shared library. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message