Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 94343 invoked from network); 13 Apr 2011 07:18:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Apr 2011 07:18:07 -0000 Received: (qmail 16851 invoked by uid 500); 13 Apr 2011 07:18:04 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 16729 invoked by uid 500); 13 Apr 2011 07:18:03 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 16720 invoked by uid 99); 13 Apr 2011 07:18:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 07:18:03 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [213.191.128.81] (HELO mxout2.iskon.hr) (213.191.128.81) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 07:17:54 +0000 Received: from mxscanout.iskon.hr (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 774A52E3A21 for ; Wed, 13 Apr 2011 09:17:32 +0200 (CEST) Received: from mx3.iskon.hr (mx3.iskon.hr [213.191.142.124]) by mxscanout.iskon.hr (Postfix) with ESMTP id 4A08F2E3A08 for ; Wed, 13 Apr 2011 09:17:32 +0200 (CEST) Received: from mx3.iskon.hr (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 0B0B65C0CB for ; Wed, 13 Apr 2011 09:17:32 +0200 (CEST) Received: from fc14x86v0.jboss.hr (8-75.dsl.iskon.hr [89.164.8.75]) by mx3.iskon.hr (Postfix) with ESMTP id ADE535C0C5 for ; Wed, 13 Apr 2011 09:17:26 +0200 (CEST) Message-ID: <3412_1302679052_4DA54E0C_3412_2025_1_4DA54E0B.1050500@apache.org> Date: Wed, 13 Apr 2011 09:17:31 +0200 From: Mladen Turk User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Problem with Apache Portable Runtime (APR) based Native library for Tomcat References: <20110413071445.FC9EB557@atlas.cz> In-Reply-To: <20110413071445.FC9EB557@atlas.cz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: IskonProtect X-Remote-IP: 89.164.8.75 X-PerlMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' SUPERLONG_LINE 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1000_LESS 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, BODY_SIZE_900_999 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __MOZILLA_MSGID 0, __SANE_MSGID 0, __TO_MALFORMED_2 0, __URI_NO_MAILTO 0, __URI_NO_PATH 0, __URI_NO_WWW 0, __USER_AGENT 0' X-Virus-Checked: Checked by ClamAV on apache.org On 04/13/2011 07:14 AM, Jaroslav Fikker wrote: > > Hi, > > I also create /opt/tomcat_6_0/bin/setenv.sh file with this content: > LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CATALINA_HOME/lib > export LD_LIBRARY_PATH > > But when I start server with startup.sh script I can find next warning incatalina.out file (but Tomcat application server runs and works): > Apr 11, 2011 8:44:15 AM org.apache.catalina.core.AprLifecycleListener init > INFO: The APR based Apache Tomcat Native library which allows optimalperformance in production environments was not found on the java.library.path:/usr/lib/jvm/java-1.6.0-ibm-1.6.0.9.1/jre/lib/i38 > 6::/opt/tomcat_6_0/lib:/usr/lib > > Where could be a problem? Thank you very much for your help. > > What is the output of "ls /opt/tomcat_6_0/lib" ? > $ LD_LIBRARY_PATH=$CATALINA_HOME/lib:$LD_LIBRARY_PATH $ export LD_LIBRARY_PATH $ ldd /opt/tomcat_6_0/lib/libtcnative-1.so Make sure there are no unresolved references. Regards -- ^TM --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org