tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Installing tomcat 6
Date Wed, 05 Feb 2014 20:17:21 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Franz,

On 2/4/14, 9:41 PM, Franz wrote:
> On Tue, Feb 4, 2014 at 9:31 PM, Christopher Schultz < 
> chris@christopherschultz.net> wrote:
> 
> 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
>>>>>> <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.
> 
> 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?

Yes, without Java you cannot run Tomcat. Since you have set
JAVA_HOME=/opt/openmm/java, you'd better have a Java available under
/opt/openemm/java.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJS8pxRAAoJEBzwKT+lPKRYAcwQAJTPGJAMlouHJYNEqfhaJ1OH
djaaCMD0ylLtxztx1B1O1uKKiUgim1E5zkSj8lIoLNWODb40pBPJOhVzm1ZMwEsY
kSEJaD/HOzbciwMzsT8j9Q/APwzI/PvN809fG7+F3gpf1tR05k/ZcZq53KRPDwKr
n0/dxTi0JmUGqMEFtCaVWCC+mredvofnbwLeC9jGqHwLLA1yiv7hzUtD9+s8F0Pj
sDJ1wojmc/Pil4i4PZitNPWC/E0vWog0cqC9C56//+kMOuv3sdkgsnBzN2OK6Rod
bkgCDYfg5whpqd8UR1bTPJlXHEacTq24yfAVWKcXIO4WQJxGD+QktrgGMi7+AOQf
xz2ZOwgzy3EwhhqVQMdhShRaWtMWUHe17NX83URM5Uy+ESxvKKFQIstxi/skLwuH
8CnKIMW31TLoEPuVnGOiAEoYAdRP+YdkJq5GjUJrqgmT5b6gw1ZCX/96M/UEjh4G
XVpTSHdOACWPRYwO6kFGrOnf4PjLME2T8M62Dw7z8ibvTs0RDoekDPfl3hoqMIuj
iU2qwqEZu9KAC1IaqEpiHgZkyHvCshBwMsJ94xdVbxEEoFGkrv3ExvXNX0Zx2xj9
ueMweRK5zAr0Jb2t2/2OGJWIb4RCkT+Z8WKR+mE7P/XOIafhKtY2QBHvb1Itq8Vn
b1Jq1bdTgfRXAPpOtrm8
=L0BE
-----END PGP SIGNATURE-----

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


Mime
View raw message