From owner-freebsd-java@FreeBSD.ORG Wed Feb 4 02:22:13 2009 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFC35106564A for ; Wed, 4 Feb 2009 02:22:13 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.3]) by mx1.freebsd.org (Postfix) with ESMTP id BD27D8FC0A for ; Wed, 4 Feb 2009 02:22:13 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: (qmail 14737 invoked from network); 4 Feb 2009 02:22:13 -0000 Received: from april.chuckr.org (HELO april.telenix.org) (chuckr@[66.92.151.30]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 4 Feb 2009 02:22:13 -0000 Message-ID: <4988F9D8.5020807@telenix.org> Date: Tue, 03 Feb 2009 21:13:44 -0500 From: Chuck Robey User-Agent: Thunderbird 2.0.0.19 (X11/20090121) MIME-Version: 1.0 To: freebsd-java@FreeBSD.org X-Enigmail-Version: 0.95.5 OpenPGP: id=F3DCA0E9; url=http://pgp.mit.edu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: getting tomcat running X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2009 02:22:14 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I can't get my tomcat6 working. I found an interesting item in the /usr/local/apache-tomcat6.0/logs/stdout.log, so I'm checking out that it says that it wants a libtcnative. Here's the log entry: INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/jdk1.6.0/jre/lib/i386/server:/usr/local/jdk1.6.0/jre/lib/i386: /usr/local/jdk1.6.0/jre/../lib/i386:/usr/lib:/usr/X11R7.4/lib:/usr/local/lib: /usr/java/packages/lib/i386:/lib:/usr/lib:/usr/local/lib So, I found a www/tomcat-native port which installs the libtcnative.so library, and I installed that, but the error above, from the stdout.log file, doesn't change, it still can't find the library. What does tomcat6 refer to, to find it's libraries? The libtcnative it installs is going into /usr/local/lib, it's on that list, ldconfig -r finds it fine. I looked at that list above, I know it's nothing I ever put together, some port's done that. Any idea from where? Maybe I should put the /usr/local/lib higher in that list? I mean, I haven't got any /usr/java, maybe it's seeing a bad entry like that and stopping the entry reading at that point. I need to find that list. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmI+dgACgkQz62J6PPcoOmm/gCfcsRi7/+oe26hT4ql9bLnXS2o GZAAoJRs2h4ExH1pNvk6wE2L582B8OPt =kY/x -----END PGP SIGNATURE-----