tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Mikusa <dmik...@gopivotal.com>
Subject Re: Installing tomcat 6
Date Tue, 04 Feb 2014 20:43:08 GMT
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 <markt@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.

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.

Dan

> best
> Franz


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message