You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Gabe Wong <ga...@ngasi.com> on 2007/10/25 17:26:20 UTC
Re: help with apache-tomcat-6.0.14 install
Shekhar.Dhotre@CobbEnergy.com wrote:
> All,
>
> I downloaded apache-tomcat-6.0.14 .trying to install it on AIX5.3 . I am
> not able to locate any install doc . So I have untarted tar file which
> created directories below . I`m guessing that`s how u install it ?
> when i try to start it I get java error Neither the JAVA_HOME nor the
> JRE_HOME environment variable is defined. it`s in the path .
>
> I`m new to the apache-tomcat , please point to the documentation or give
> me some tips . thanks
>
>
>
[cemcp62]/usr/apache-tomcat-6.0.14/bin>which java
> /usr/java14/jre/bin/java
> [cemcp62]/usr/apache-tomcat-6.0.14/bin>
>
1)First it looks as though you have jdk 1.4 installed. You would
probably need jdk5 or preferably jdk6. The download/install info for
JDK for AIX can be found at the following URL:
https://www14.software.ibm.com/iwm/web/cc/earlyprograms/ibm/java6/download.shtml
2)after installing JDK, add the following in the startup.sh script file:
export JAVA_HOME=/usr/java/jdk1.6.0/
--
Regards
Gabe Wong
NGASI AppServer Manager
Application server installation and configuration automation
for Tomcat, JBoss, and Jetty.
http://www.ngasi.com
---------------------------------------------------------------------
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
Re: help with apache-tomcat-6.0.14 install
Posted by Pid <p...@pidster.com>.
Shekhar.Dhotre@CobbEnergy.com wrote:
> I get to tomcat manager screen now through https://cemcp62:8080/ . what is
> the user name and password you use to login ?I tried to login as root but
> it doesn`t take it. Thx
It depends on your server.xml configuration.
If you have a new install, and haven't configured a different Realm,
then MemoryRealm is active. The TOMCAT/conf/tomcat-users.xml file is
where you add usernames, passwords and roles for this Realm.
>From TC6 onwards, for security reasons there are no users configured as
default. Read the following configuration for details:
http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#MemoryRealm
You may also find that taking a few minutes to have a browse around the
configuration documents is enlightening.
p
> Pid <p...@pidster.com>
> 10/25/2007 12:38 PM
> Please respond to
> "Tomcat Users List" <us...@tomcat.apache.org>
>
>
> To
> Tomcat Users List <us...@tomcat.apache.org>
> cc
>
> Subject
> Re: help with apache-tomcat-6.0.14 install
>
>
>
>
>
>
> Shekhar.Dhotre@CobbEnergy.com wrote:
>> After installing JDK, and adding the following in the startup.sh script
>
>> file: export JAVA_HOME=/usr/java6_64/sdk/. It started . How to test it
>>
>> [cemcp62]/usr/apache-tomcat-6.0.14/bin>./startup.sh
>> Using CATALINA_BASE: /usr/apache-tomcat-6.0.14
>> Using CATALINA_HOME: /usr/apache-tomcat-6.0.14
>> Using CATALINA_TMPDIR: /usr/apache-tomcat-6.0.14/temp
>> Using JRE_HOME: /usr/java6_64/sdk/
>> [cemcp62]/usr/apache-tomcat-6.0.14/bin>
>>
>> When I type address below in URL ,it comes back with page not found
> error
>> . how do i test if apache-tomcat is working or not ?
>>
>>
>> https://cemcp62:8080/
>
> https://cemcp62:8080/
>
> or
>
> http://cemcp62:8080/
>
> ?
>
>
> There'll be no HTTPS, until you configure a valid SSL enabled connector.
>
> p
>
>
>
>>
>> thanks
>>
>>
>>
>> Gabe Wong <ga...@ngasi.com>
>> 10/25/2007 11:26 AM
>> Please respond to
>> "Tomcat Users List" <us...@tomcat.apache.org>
>>
>>
>> To
>> Tomcat Users List <us...@tomcat.apache.org>
>> cc
>>
>> Subject
>> Re: help with apache-tomcat-6.0.14 install
>>
>>
>>
>>
>>
>>
>> Shekhar.Dhotre@CobbEnergy.com wrote:
>>> All,
>>>
>>> I downloaded apache-tomcat-6.0.14 .trying to install it on AIX5.3 . I
> am
>>> not able to locate any install doc . So I have untarted tar file which
>
>>> created directories below . I`m guessing that`s how u install it ?
>>> when i try to start it I get java error Neither the JAVA_HOME nor the
>>> JRE_HOME environment variable is defined. it`s in the path .
>>>
>>> I`m new to the apache-tomcat , please point to the documentation or
> give
>>> me some tips . thanks
>>>
>>>
>>>
>> [cemcp62]/usr/apache-tomcat-6.0.14/bin>which java
>>> /usr/java14/jre/bin/java
>>> [cemcp62]/usr/apache-tomcat-6.0.14/bin>
>>>
>> 1)First it looks as though you have jdk 1.4 installed. You would
>> probably need jdk5 or preferably jdk6. The download/install info for
>> JDK for AIX can be found at the following URL:
>>
> https://www14.software.ibm.com/iwm/web/cc/earlyprograms/ibm/java6/download.shtml
>
>>
>> 2)after installing JDK, add the following in the startup.sh script file:
>> export JAVA_HOME=/usr/java/jdk1.6.0/
>>
>
>
> ---------------------------------------------------------------------
> 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
>
>
>
---------------------------------------------------------------------
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
Re: help with apache-tomcat-6.0.14 install
Posted by Sh...@CobbEnergy.com.
I get to tomcat manager screen now through https://cemcp62:8080/ . what is
the user name and password you use to login ?I tried to login as root but
it doesn`t take it. Thx
Pid <p...@pidster.com>
10/25/2007 12:38 PM
Please respond to
"Tomcat Users List" <us...@tomcat.apache.org>
To
Tomcat Users List <us...@tomcat.apache.org>
cc
Subject
Re: help with apache-tomcat-6.0.14 install
Shekhar.Dhotre@CobbEnergy.com wrote:
> After installing JDK, and adding the following in the startup.sh script
> file: export JAVA_HOME=/usr/java6_64/sdk/. It started . How to test it
>
> [cemcp62]/usr/apache-tomcat-6.0.14/bin>./startup.sh
> Using CATALINA_BASE: /usr/apache-tomcat-6.0.14
> Using CATALINA_HOME: /usr/apache-tomcat-6.0.14
> Using CATALINA_TMPDIR: /usr/apache-tomcat-6.0.14/temp
> Using JRE_HOME: /usr/java6_64/sdk/
> [cemcp62]/usr/apache-tomcat-6.0.14/bin>
>
> When I type address below in URL ,it comes back with page not found
error
> . how do i test if apache-tomcat is working or not ?
>
>
> https://cemcp62:8080/
https://cemcp62:8080/
or
http://cemcp62:8080/
?
There'll be no HTTPS, until you configure a valid SSL enabled connector.
p
>
>
> thanks
>
>
>
> Gabe Wong <ga...@ngasi.com>
> 10/25/2007 11:26 AM
> Please respond to
> "Tomcat Users List" <us...@tomcat.apache.org>
>
>
> To
> Tomcat Users List <us...@tomcat.apache.org>
> cc
>
> Subject
> Re: help with apache-tomcat-6.0.14 install
>
>
>
>
>
>
> Shekhar.Dhotre@CobbEnergy.com wrote:
>> All,
>>
>> I downloaded apache-tomcat-6.0.14 .trying to install it on AIX5.3 . I
am
>
>> not able to locate any install doc . So I have untarted tar file which
>> created directories below . I`m guessing that`s how u install it ?
>> when i try to start it I get java error Neither the JAVA_HOME nor the
>> JRE_HOME environment variable is defined. it`s in the path .
>>
>> I`m new to the apache-tomcat , please point to the documentation or
give
>
>> me some tips . thanks
>>
>>
>>
> [cemcp62]/usr/apache-tomcat-6.0.14/bin>which java
>> /usr/java14/jre/bin/java
>> [cemcp62]/usr/apache-tomcat-6.0.14/bin>
>>
> 1)First it looks as though you have jdk 1.4 installed. You would
> probably need jdk5 or preferably jdk6. The download/install info for
> JDK for AIX can be found at the following URL:
>
https://www14.software.ibm.com/iwm/web/cc/earlyprograms/ibm/java6/download.shtml
>
>
> 2)after installing JDK, add the following in the startup.sh script file:
> export JAVA_HOME=/usr/java/jdk1.6.0/
>
---------------------------------------------------------------------
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
Re: help with apache-tomcat-6.0.14 install
Posted by Pid <p...@pidster.com>.
Shekhar.Dhotre@CobbEnergy.com wrote:
> After installing JDK, and adding the following in the startup.sh script
> file: export JAVA_HOME=/usr/java6_64/sdk/. It started . How to test it
>
> [cemcp62]/usr/apache-tomcat-6.0.14/bin>./startup.sh
> Using CATALINA_BASE: /usr/apache-tomcat-6.0.14
> Using CATALINA_HOME: /usr/apache-tomcat-6.0.14
> Using CATALINA_TMPDIR: /usr/apache-tomcat-6.0.14/temp
> Using JRE_HOME: /usr/java6_64/sdk/
> [cemcp62]/usr/apache-tomcat-6.0.14/bin>
>
> When I type address below in URL ,it comes back with page not found error
> . how do i test if apache-tomcat is working or not ?
>
>
> https://cemcp62:8080/
https://cemcp62:8080/
or
http://cemcp62:8080/
?
There'll be no HTTPS, until you configure a valid SSL enabled connector.
p
>
>
> thanks
>
>
>
> Gabe Wong <ga...@ngasi.com>
> 10/25/2007 11:26 AM
> Please respond to
> "Tomcat Users List" <us...@tomcat.apache.org>
>
>
> To
> Tomcat Users List <us...@tomcat.apache.org>
> cc
>
> Subject
> Re: help with apache-tomcat-6.0.14 install
>
>
>
>
>
>
> Shekhar.Dhotre@CobbEnergy.com wrote:
>> All,
>>
>> I downloaded apache-tomcat-6.0.14 .trying to install it on AIX5.3 . I am
>
>> not able to locate any install doc . So I have untarted tar file which
>> created directories below . I`m guessing that`s how u install it ?
>> when i try to start it I get java error Neither the JAVA_HOME nor the
>> JRE_HOME environment variable is defined. it`s in the path .
>>
>> I`m new to the apache-tomcat , please point to the documentation or give
>
>> me some tips . thanks
>>
>>
>>
> [cemcp62]/usr/apache-tomcat-6.0.14/bin>which java
>> /usr/java14/jre/bin/java
>> [cemcp62]/usr/apache-tomcat-6.0.14/bin>
>>
> 1)First it looks as though you have jdk 1.4 installed. You would
> probably need jdk5 or preferably jdk6. The download/install info for
> JDK for AIX can be found at the following URL:
> https://www14.software.ibm.com/iwm/web/cc/earlyprograms/ibm/java6/download.shtml
>
>
> 2)after installing JDK, add the following in the startup.sh script file:
> export JAVA_HOME=/usr/java/jdk1.6.0/
>
---------------------------------------------------------------------
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
Re: help with apache-tomcat-6.0.14 install
Posted by Sh...@CobbEnergy.com.
After installing JDK, and adding the following in the startup.sh script
file: export JAVA_HOME=/usr/java6_64/sdk/. It started . How to test it
[cemcp62]/usr/apache-tomcat-6.0.14/bin>./startup.sh
Using CATALINA_BASE: /usr/apache-tomcat-6.0.14
Using CATALINA_HOME: /usr/apache-tomcat-6.0.14
Using CATALINA_TMPDIR: /usr/apache-tomcat-6.0.14/temp
Using JRE_HOME: /usr/java6_64/sdk/
[cemcp62]/usr/apache-tomcat-6.0.14/bin>
When I type address below in URL ,it comes back with page not found error
. how do i test if apache-tomcat is working or not ?
https://cemcp62:8080/
thanks
Gabe Wong <ga...@ngasi.com>
10/25/2007 11:26 AM
Please respond to
"Tomcat Users List" <us...@tomcat.apache.org>
To
Tomcat Users List <us...@tomcat.apache.org>
cc
Subject
Re: help with apache-tomcat-6.0.14 install
Shekhar.Dhotre@CobbEnergy.com wrote:
> All,
>
> I downloaded apache-tomcat-6.0.14 .trying to install it on AIX5.3 . I am
> not able to locate any install doc . So I have untarted tar file which
> created directories below . I`m guessing that`s how u install it ?
> when i try to start it I get java error Neither the JAVA_HOME nor the
> JRE_HOME environment variable is defined. it`s in the path .
>
> I`m new to the apache-tomcat , please point to the documentation or give
> me some tips . thanks
>
>
>
[cemcp62]/usr/apache-tomcat-6.0.14/bin>which java
> /usr/java14/jre/bin/java
> [cemcp62]/usr/apache-tomcat-6.0.14/bin>
>
1)First it looks as though you have jdk 1.4 installed. You would
probably need jdk5 or preferably jdk6. The download/install info for
JDK for AIX can be found at the following URL:
https://www14.software.ibm.com/iwm/web/cc/earlyprograms/ibm/java6/download.shtml
2)after installing JDK, add the following in the startup.sh script file:
export JAVA_HOME=/usr/java/jdk1.6.0/
--
Regards
Gabe Wong
NGASI AppServer Manager
Application server installation and configuration automation
for Tomcat, JBoss, and Jetty.
http://www.ngasi.com
---------------------------------------------------------------------
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
Re: help with apache-tomcat-6.0.14 install
Posted by Gabe Wong <ga...@ngasi.com>.
Shekhar.Dhotre@CobbEnergy.com wrote:
> [cemcp62]/usr/apache-tomcat-6.0.14/bin>./startup.sh
> Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
> At least one of these environment variable is needed to run this program
>
>
> [cemcp62]/usr/apache-tomcat-6.0.14/bin>echo $PATH
> /usr/java6_64/sdk/bin:/usr/java6_64/sdk/jre:/usr/sbin/acct:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/usr/java14/bin:/usr/local/bin
> [cemcp62]/usr/apache-tomcat-6.0.14/bin>
>
>
>
Shekhar,
Have you added the following towards to the top of the startup.sh script
file:
export JAVA_HOME=/usr/java6_64/sdk/
--
Regards
Gabe Wong
NGASI AppServer Manager
Application server installation and configuration AUTOMATION
for Tomcat, JBoss, and Jetty.
http://www.ngasi.com
---------------------------------------------------------------------
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
Re: help with apache-tomcat-6.0.14 install
Posted by Sh...@CobbEnergy.com.
Gabe ,
Downloaded java and installed it , path is set as per IBm doc and is
showing . Still catalina.sh and startup.sh is complaining about the path .
[cemcp62]/usr/apache-tomcat-6.0.14/bin>which java
/usr/java6_64/sdk/bin/java
[cemcp62]/usr/apache-tomcat-6.0.14/bin>java -version
java version "1.6.0-internal"
Java(TM) SE Runtime Environment (build pap6460-20070819_01)
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 AIX ppc64-64
jvmap6460-20070817_13537 (JIT enabled)
J9VM - 20070817_013537_BHdSMr
JIT - dev_20070817_1300
GC - 20070815_AA)
[cemcp62]/usr/apache-tomcat-6.0.14/bin>
[cemcp62]/usr/apache-tomcat-6.0.14/bin>./catalina.sh -run
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program
[cemcp62]/usr/apache-tomcat-6.0.14/bin>./startup.sh
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program
[cemcp62]/usr/apache-tomcat-6.0.14/bin>echo $PATH
/usr/java6_64/sdk/bin:/usr/java6_64/sdk/jre:/usr/sbin/acct:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/usr/java14/bin:/usr/local/bin
[cemcp62]/usr/apache-tomcat-6.0.14/bin>
Gabe Wong <ga...@ngasi.com>
10/25/2007 11:26 AM
Please respond to
"Tomcat Users List" <us...@tomcat.apache.org>
To
Tomcat Users List <us...@tomcat.apache.org>
cc
Subject
Re: help with apache-tomcat-6.0.14 install
Shekhar.Dhotre@CobbEnergy.com wrote:
> All,
>
> I downloaded apache-tomcat-6.0.14 .trying to install it on AIX5.3 . I am
> not able to locate any install doc . So I have untarted tar file which
> created directories below . I`m guessing that`s how u install it ?
> when i try to start it I get java error Neither the JAVA_HOME nor the
> JRE_HOME environment variable is defined. it`s in the path .
>
> I`m new to the apache-tomcat , please point to the documentation or give
> me some tips . thanks
>
>
>
[cemcp62]/usr/apache-tomcat-6.0.14/bin>which java
> /usr/java14/jre/bin/java
> [cemcp62]/usr/apache-tomcat-6.0.14/bin>
>
1)First it looks as though you have jdk 1.4 installed. You would
probably need jdk5 or preferably jdk6. The download/install info for
JDK for AIX can be found at the following URL:
https://www14.software.ibm.com/iwm/web/cc/earlyprograms/ibm/java6/download.shtml
2)after installing JDK, add the following in the startup.sh script file:
export JAVA_HOME=/usr/java/jdk1.6.0/
--
Regards
Gabe Wong
NGASI AppServer Manager
Application server installation and configuration automation
for Tomcat, JBoss, and Jetty.
http://www.ngasi.com
---------------------------------------------------------------------
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