Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3496710E84 for ; Mon, 3 Feb 2014 21:47:43 +0000 (UTC) Received: (qmail 48119 invoked by uid 500); 3 Feb 2014 21:47:39 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 47966 invoked by uid 500); 3 Feb 2014 21:47:39 -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 47957 invoked by uid 99); 3 Feb 2014 21:47:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Feb 2014 21:47:38 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aw@ice-sa.com designates 212.85.38.229 as permitted sender) Received: from [212.85.38.229] (HELO tor.combios.es) (212.85.38.229) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Feb 2014 21:47:32 +0000 Received: from [192.168.245.129] (p549E228B.dip0.t-ipconnect.de [84.158.34.139]) (Authenticated sender: andre.warnier@ice-sa.com) by tor.combios.es (Postfix) with ESMTPA id C7B603C03F1 for ; Mon, 3 Feb 2014 22:47:36 +0100 (CET) Message-ID: <52F00E56.6040407@ice-sa.com> Date: Mon, 03 Feb 2014 22:47:02 +0100 From: =?UTF-8?B?QW5kcsOpIFdhcm5pZXI=?= Reply-To: Tomcat Users List User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Tomcat 7 / Java 7 References: <356899BC83C5F94EB96CD81E7CF31135F917E6C778@EXSERVER1.cougarnet.uh.edu> <52F00D1F.2000705@christopherschultz.net> In-Reply-To: <52F00D1F.2000705@christopherschultz.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Christopher, Christopher Schultz wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Ragini, > > On 2/3/14, 4:19 PM, Singh, Ragini wrote: >> I upgraded Java 1.6.45 to Java 1.7.51 using >> java-1.7.0-oracle.x86_64 : Oracle Java Runtime Environment on RHEL >> 5. Used the "alternatives" command to make the Java 7 as Java >> version. Now in my custom startup script if I define JAVA_HOME as >> JAVA_HOME="/usr/lib/jvm/java" tomcat 7 recognizes the java as 1.6 ( >> the previous version) and gives this message "INFO: The APR based >> Apache Tomcat Native library which allows optimal performance in >> production environments was not found on the java.library.path: >> /usr/lib/jvm/java-1.6.0-sun-1.6.0.45 >> .x86_64/jre/lib/amd64/server:/usr/lib/jvm/java-1.6.0-sun-1.6.0.45.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.6.0-sun-1.6.0.45.x86_64/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib >> >> > 64:/lib64:/lib:/usr/lib" >> I modified the JAVA_HOME to >> JAVA_HOME="/usr/lib/jvm/jre-1.7.0-oracle.x86_64". Now tomcat >> starts and gives the message as "INFO: The APR based Apache Tomcat >> Native library which allows optimal performance in production >> environments was not found on the java.library.path: >> /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib" >> >> I believe it is not recognizing the correct Java version which is >> 1.7. Am I missing anything ? > > Have you installed tcnative? Installing tcnative is a prerequisite for > using tcnative. > > Note that the above is an INFO message and not an error in any way. > I believe that the OP was wondering about the apparent discrepancy between his setting of the JAVA_HOME environment variable, and then what Tomcat prints as a "java.library.path" in the log messages. (And I do not know if there is actually here a real discrepancy; just that the OP mentions there might be one). --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org