On Tue, Feb 4, 2014 at 9:31 PM, Christopher Schultz < ch...@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 <169...@gmail.com> wrote: > > > >> On Tue, Feb 4, 2014 at 6:13 PM, Franz <169...@gmail.com> wrote: > >> > >>> > >>> > >>> > >>> On Tue, Feb 4, 2014 at 6:08 PM, Mark Thomas <ma...@apache.org> > >>> 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-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >