Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 21683 invoked from network); 3 Jun 2006 11:15:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Jun 2006 11:15:30 -0000 Received: (qmail 75979 invoked by uid 500); 3 Jun 2006 11:15:17 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 75954 invoked by uid 500); 3 Jun 2006 11:15:17 -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 75943 invoked by uid 99); 3 Jun 2006 11:15:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jun 2006 04:15:16 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of rosenberg.leon@googlemail.com designates 64.233.162.205 as permitted sender) Received: from [64.233.162.205] (HELO nz-out-0102.google.com) (64.233.162.205) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jun 2006 04:15:15 -0700 Received: by nz-out-0102.google.com with SMTP id l8so690286nzf for ; Sat, 03 Jun 2006 04:14:54 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BWwqKXUptd1AgKQx4KyKiHKiIx02tefqDXEhuMVDPkjwjPk2AySbQZo6OSVZeLGHzpfB0QgQ+OGdGYvXHq2t1CavEn1qy6rvLuDiLNc715UHAvnrjb/QEu0QXa5sxN8XmntrJdvX/kKJXlHybEmZBoH1/JWHK+HWqljM2NI15uk= Received: by 10.64.151.8 with SMTP id y8mr2419958qbd; Sat, 03 Jun 2006 04:14:54 -0700 (PDT) Received: by 10.65.103.18 with HTTP; Sat, 3 Jun 2006 04:14:54 -0700 (PDT) Message-ID: <327858f40606030414h456e3b1ds5d99652487e1a339@mail.gmail.com> Date: Sat, 3 Jun 2006 13:14:54 +0200 From: "Leon Rosenberg" To: "Tomcat Users List" Subject: Re: Problem with the JRockit In-Reply-To: <4480C387.8050506@tamu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4480C387.8050506@tamu.edu> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N why do you set the classpath? I also use jrockit and suns jdk I installed both under /opt -> /opt/jdk1.5.0_06/ and /opt/jrockit-R26.3.0-jdk1.5.0_06 and have a link in /usr/local-> rwxrwxrwx 1 root staff 38 2006-05-16 15:16 java -> /opt/java/jrockit-R26.3.0-jdk1.5.0_06/ then you only need to set the JAVA_HOME: (from my .bashrc) export JAVA_HOME=/usr/local/java export ANT_HOME=/opt/java/ant export PATH=$PATH:$JAVA_HOME/bin:$ANT_HOME/bin then just go in tomcat directory: cd /opt/tomcat bin/catalina.sh run You don't need to set the classpath since catalina.sh does it for you. Another question: do you have the tomcat from linux package or downloaded and installed one from the tomcat.apache.org site? If you use a linux package -> throw it away, download a fresh copy from the tomcats download site and enjoy. hth leon On 6/3/06, Benjamin Chu wrote: > I hope to run the tomcat 5.0 with JRockit 5.0 R26.3.on a linux machine > and installed JRockit in the root directory > (/root/jrockit-R26-3.0-jdk1.5.0_06) > The following is the environment variables which I set:** > > > export JAVA_HOME=/root/jrockit-R26-3.0-jdk1.5.0_06 > export JAVA_HOME > PATH=$JAVA_HOME/bin:$CATALINA_HOME/bin:$PATH > export PATH > export > CLASSPATH=/root/jrockit-R26-3.0-jdk1.5.0_06/lib/tools.jar:/root/jrockit-R26-3.0-jdk1.5.0_06/jre/lib/rt.jar:./ > export CLASSPATH=$CLASSPATH:/var/tomcat/common/lib/servlet-api.jar > export > CLASSPATH=$CLASSPATH:/var/tomcat/common/lib/mysql-connector-java-3.1.12-bin.jar > export CLASSPATH=$CLASSPATH:/root > export CATALINA_HOME=/var/tomcat > export CATALINA_HOME > > > However, when I start the tomcat (./startup.sh), I received the > following message: > > The JAVA_HOME environment variable is not defined correctly > This environment variable is needed to run this program > NB: JAVA_HOME should point to a JDK not a JRE > > I double checked the environment variables which I set and there is no > typo. The tomcat runs very well if I use Sun J2EESDK . > Is there something wrong with the configuration? Thank you very much! > > > > > > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org