Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 28505 invoked from network); 9 Feb 2006 13:16:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Feb 2006 13:16:50 -0000 Received: (qmail 48648 invoked by uid 500); 9 Feb 2006 13:16:35 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 48626 invoked by uid 500); 9 Feb 2006 13:16:35 -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 48615 invoked by uid 99); 9 Feb 2006 13:16:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2006 05:16:35 -0800 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=HTML_10_20,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of leticia.barbalho@gmail.com designates 64.233.184.200 as permitted sender) Received: from [64.233.184.200] (HELO wproxy.gmail.com) (64.233.184.200) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2006 05:16:34 -0800 Received: by wproxy.gmail.com with SMTP id i30so97344wra for ; Thu, 09 Feb 2006 05:16:14 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=C8qPQP+N1+svhsQhCyLLEukmkwtgUPwxYZa2lLycXTXXVjaKcPFmzjs9/SGZsK75Wn003M8I+hq+Dzi82KdW+mwLypIi4LvZG099Ejb4PR9AYbWs7QagD/1xATlCbnf4NA1Ww8GKRct+qPjRwZ+DOPsrhF5QorZhjXIJ8SFQU0Q= Received: by 10.65.193.3 with SMTP id v3mr37845qbp; Thu, 09 Feb 2006 05:16:12 -0800 (PST) Received: by 10.65.220.19 with HTTP; Thu, 9 Feb 2006 05:16:12 -0800 (PST) Message-ID: Date: Thu, 9 Feb 2006 11:16:12 -0200 From: =?ISO-8859-1?Q?Let=EDcia_=C1lvares_Barbalho?= To: Tomcat Users List Subject: Problem with Tomcat and Java versions MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_20332_31677629.1139490972296" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_20332_31677629.1139490972296 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello everyone, I was using java 1.4.2 here, and recently migrated to java 1.5. Unfortunately, something probably is missing, 'cause I'm having problems with Tomcat. When I turn on the computer (that has tomcat on it), if I open the browser and try to access a web application built on java 1.5, it will give me the famous struts error: "Cannot find ActionMappings or ActionFormBeans collection". However, if I open a web app built on java 1.4.2, everything works fine. Then, if I just restart the tomcat server (with the command /etc/init.d/tom= cat 5 restart) and try to access the first application (the one built on java 1.5), everything will work fine. I'm guessing it's because there's maybe an environment variable that I may have forgotten to update or something. Here go my variables: JAVA_HOME =3D /usr/local/jdk1.5.0_06 PATH =3D /usr/sbin:/bin:/usr/bin:/sbin:/usr/X11R6/bin CLASSPATH is empty, my jar's are on the application's lib folder. Is there something else I should have setted? Is there something I gotta se= t in tomcat to show it what java version to use? I use Tomcat 5 and my server runs on a Suse Linux 9.3 box. Thanks everyone -- Let=EDcia =C1lvares Barbalho leticia.barbalho@gmail.com ------=_Part_20332_31677629.1139490972296--