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 3529110E81 for ; Wed, 5 Feb 2014 02:41:51 +0000 (UTC) Received: (qmail 51689 invoked by uid 500); 5 Feb 2014 02:41:45 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 51645 invoked by uid 500); 5 Feb 2014 02:41:43 -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 51632 invoked by uid 99); 5 Feb 2014 02:41:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Feb 2014 02:41:43 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of 169101@gmail.com designates 209.85.212.170 as permitted sender) Received: from [209.85.212.170] (HELO mail-wi0-f170.google.com) (209.85.212.170) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Feb 2014 02:41:37 +0000 Received: by mail-wi0-f170.google.com with SMTP id hi5so144431wib.1 for ; Tue, 04 Feb 2014 18:41:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=jH2BK1GA4E+bJBczuv9ZW7Qg5cbUzj8aCr2UNomIO84=; b=AmNZNlMTfCF+2i886TvsN9AKg1uiG5AvYsEAuDJ1/hp/thbBY0oR3FHop/EmmTH3Ej 0q6qc/S1hN0v2FU4wkHj4O2Y31ThfJ87PbEHp8L9nHOAzXZMR6OWtOIDA/z32RAk6F5N fYFLCrbeM9KJDKGNJeh8F0mfVwOcA56Qd2IUGXeZ3VREKveWQTD4xkXuRTpEDEGYuMVQ JuxbChAMksHe3LBqSQ2i7kQnxcJ8O6ZV9m4WLnzQlNnMooBI0ekm9KT4M7iA+jHbBiA9 UkL5QgZ8vm8neS9jhxfBnt44glcDKXN8zEdsZVvE7G69n88F6kMduzpOW2odw4Bi1/gS Jziw== MIME-Version: 1.0 X-Received: by 10.180.38.41 with SMTP id d9mr536480wik.9.1391568077308; Tue, 04 Feb 2014 18:41:17 -0800 (PST) Received: by 10.194.83.69 with HTTP; Tue, 4 Feb 2014 18:41:17 -0800 (PST) In-Reply-To: <52F17862.5040408@christopherschultz.net> References: <52F148BF.9030701@apache.org> <8CD43549-AF00-4CBC-A7A3-8A1DA660C98F@gopivotal.com> <52F17862.5040408@christopherschultz.net> Date: Wed, 5 Feb 2014 00:41:17 -0200 Message-ID: Subject: Re: Installing tomcat 6 From: Franz <169101@gmail.com> To: Tomcat Users List Content-Type: multipart/alternative; boundary=e89a8f6476f1edcc6304f19fb0f5 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f6476f1edcc6304f19fb0f5 Content-Type: text/plain; charset=ISO-8859-1 On Tue, Feb 4, 2014 at 9:31 PM, Christopher Schultz < chris@christopherschultz.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Dan, > > On 2/4/14, 3:43 PM, Daniel Mikusa wrote: > > On Feb 4, 2014, at 3:23 PM, Franz <169101@gmail.com> wrote: > > > >> On Tue, Feb 4, 2014 at 6:13 PM, Franz <169101@gmail.com> wrote: > >> > >>> > >>> > >>> > >>> On Tue, Feb 4, 2014 at 6:08 PM, Mark Thomas > >>> wrote: > >>> > >>>> On 04/02/2014 20:04, Franz wrote: > >>>> > >>>>> export JAVA_HOME="/opt/openemm/java" cd tomcat > >>>>> bin/startup.sh > >>>> > >>>> At this point use: bin/catalina.sh run > >>>> > >>>> rather than bin/startup.sh > >>>> > >>>> and report here what output you get. > >>>> > >>>> > >>> [root@ns3098622 tomcat]# bin/catalina.sh run > >>> > >>> Using CATALINA_BASE: /opt/openemm/tomcat Using CATALINA_HOME: > >>> /opt/openemm/tomcat Using CATALINA_TMPDIR: > >>> /opt/openemm/tomcat/temp Using JRE_HOME: > >>> "/opt/openemm/java" Using CLASSPATH: > >>> /opt/openemm/tomcat/bin/bootstrap.jar bin/catalina.sh: line > >>> 305: /opt/openemm/tomcat/"/opt/openemm/java"/bin/java: No such > >>> file or directory bin/catalina.sh: line 305: exec: > >>> /opt/openemm/tomcat/"/opt/openemm/java"/bin/java: cannot > >>> execute: No such file or directory > >>> > >>> thanks > >>> > >> > >> But I do not understand what this error means and what I should > >> do now > > > > You're setting JAVA_HOME as "/opt/openemm/java", quotes included. > > Try setting it without quotes. > > Quotes should be fine, as long as you are using plain-old > double-quotes and not "smart" (aka dumb) quotes. > > > Ex: export JAVA_HOME=/opt/openemm/java > > > > Also make sure that you can run the command > > "/opt/openemm/java/bin/java -version". You should get the version > > info for your JVM. > > +1 > > I suspect Java is not actually installed in /opt/openemm/java > > Installed? The tutorial steps that I reported in the first email only copy the files in directory /opt/openemm/java. Nothing was really installed. But it works just with this export JAVA_HOME=/opt/openemm/java step. Also the test of java -version works. Are there any problems with the lack of an actual java installation? Best Franz - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1 > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQIcBAEBCAAGBQJS8XhiAAoJEBzwKT+lPKRYPjMP/iWOIj45dxg8Jq6ek479x0LH > g6Fq69Bpyid6JvXFgJAYB2s7/1nvbBkpAq0lHhbl0/OglLygqNRNcNQnlDFSsbqd > joq3h24lq6X+RGxV6lFhptGHYlVefcwvl5iCtq4StXgYWqUCtLsIGvmcG3jg7h7U > GhBOenwWZhOGZSjfcPgDQWItFdgKfvLFr4wgpCOXORailxfgLpIAsjAKd7iGxuGc > AiXRNAGrVEUqhAYoOVdvrcaN9QYHjtf3vHRU8Q7DU6NHBqvD5/++A7kjEeY6kaoB > BxF/M2VLyLLSrsTYCqhDt1RbMTVLb7n5dZLefYAnbbKLjHYpSIItAmaFCRojotaK > giTekxYNsfrJlygSmBBNc4iKMzwSqxjKAJ+5OdkiLMDkJlT4cKL47HYIfOHZ8Q2g > aEO4l/EibrmB1Uc1h8EGmoBSEBPPDY1aeBHaaWudTOWcLC4xJAwNyWx9azikU1oK > JeYSkHt6Clo31aJ5rmgSSsd5/iD8b+EkU0yJFTQz8NIV7/Momycfo3Dqb/X9VBZf > mItbfbj2UqitSTvAFTkql3T2RK1dnpBBfwKgaDWZ5WH9aCqGjrN9hTjLnbVFwXSZ > EuZEVe/VTsh5lIGAcnlacfXczaUj4bLaNIsJOzu8IQ1Mj1LMNPbZTs09MCc24yjD > wLomd3DuPNA45enzwBbc > =Pu8H > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --e89a8f6476f1edcc6304f19fb0f5--