Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 94751 invoked from network); 2 Jun 2010 11:02:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Jun 2010 11:02:49 -0000 Received: (qmail 9300 invoked by uid 500); 2 Jun 2010 11:02:46 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 8957 invoked by uid 500); 2 Jun 2010 11:02:46 -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 8947 invoked by uid 99); 2 Jun 2010 11:02:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jun 2010 11:02:45 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aw@ice-sa.com designates 212.85.38.228 as permitted sender) Received: from [212.85.38.228] (HELO tor.combios.es) (212.85.38.228) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jun 2010 11:02:38 +0000 Received: from localhost (localhost [127.0.0.1]) by tor.combios.es (Postfix) with ESMTP id AEFBC2261C5 for ; Wed, 2 Jun 2010 13:01:08 +0200 (CEST) Received: from tor.combios.es ([127.0.0.1]) by localhost (tor.combios.es [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2KPg-LxxzImr for ; Wed, 2 Jun 2010 13:01:08 +0200 (CEST) Received: from [192.168.246.103] (montserrat.wissensbank.com [212.85.37.175]) by tor.combios.es (Postfix) with ESMTPA id 4AA22226148 for ; Wed, 2 Jun 2010 13:01:08 +0200 (CEST) Message-ID: <4C063A34.6020402@ice-sa.com> Date: Wed, 02 Jun 2010 13:02:12 +0200 From: =?ISO-8859-1?Q?Andr=E9_Warnier?= Reply-To: Tomcat Users List User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Problems after upgrading to Tomcat6 References: <99C8B2929B39C24493377AC7A121E21F98E4ED3613@USEA-EXCH8.na.uis.unisys.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Peter Crowther wrote: > On 2 June 2010 09:13, David Karlsen wrote: > >> Caldarale, Charles R Wrote: >> >>>> parent=gnu.gcj.runtime.SystemClassLoader >>> You need to use a real JVM (HotSpot, JRockit, IBM), not a toy one. >> Remove gcj from your system as quickly as possible. >> >> It seems like jpackage.org packages is having dependency towards gcj. Do >> you know perhaps about another repertory that contains prebuilt packages >> for Centos 5? >> >> It seems strange dough, that jpackage.org should build packages that is >> designed not to work on the system the packages is build for. Are you >> certain that it isn't any more convenience way to do this than changing >> the JVM? >> >> If you read jpackage.org's mission, it is to use FOSS packages wherever > possible. Unfortunately, this means that they prefer GCJ (a toy, as Chuck > says) over software that is available for $0 but not free-as-in-speech. > This is an ideological choice, not a technical one. > > And, no, there's no more convenient way to fix this than to change the JVM > to a real one. You don't have to use the Sun JVM; it looks like jpackage > has details for both the BEA and IBM ones. > Let me add something to the above : I do not have specific experience with CentOS, but I do with Debian Linux. When you install Debian Linux, by default it will install and configure as default some specific java package (for example gcj or OpenJdk). When you then install Tomcat from a package, this Tomcat package will detect the installed java, and adapt all its links and references in function of that java package. If you then install the Sun or IBM java package, and make it be the default, that leaves these pre-configured Tomcat links partly wrong, and you get in lots of trouble. The right approach is thus : - de-install Tomcat (and use some "purge" option to purge all the links it built) - install a "real" JDK or JRE - configure this JDK/JRE in your OS as the "default java". This is important. (For example under Debian this would be done with the command : update-alternatives --config java ) - then re-install Tomcat, so that it finds the correct libraries and creates the correct links, to the "real" JDK/JRE. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org