You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by kj...@notes.cc.sunysb.edu on 2007/03/08 23:27:01 UTC
noob in Tomcat installation hell
I am attempting to set up Tomcat 5.5.2 in a Linux Red Hat environment. I
am also looking to
include Tomcat Administration & Manager.
However, I can not get Tomcat Administration to work.
First I set up Java version 6, and when things were not working, I scaled
back to 5. (JDK 5 )
jdk-1_5_0_11-linux-i586-rpm.bin
I re-set up user accounts in ../conf/tomcat-users.xml
which includes:
<role rolename="manager"/>
<role rolename="admin"/>
<user username="tomcat" password="passwrd1" roles="admin,manager"/>
I currently have set: JAVA_HOME=/usr/java/jdk1.5.0_11
CATALINA_HOME=/usr/local/tomcat
I run 'set' to confirm that these settings were exported.
When I attempt to run Tomcat Manager through E-links, it confirms my
password, and seems to be running.
(Not sure hwat to look for beyond the page saying it is unning.)
When I attempt to run Tomcat Administration through E-links, I am asked
if I want to
"post data form to
http://localhost:8080/admin/j_security_check;jsessionid=3BCF622079C7F8B1BD4A252CE3754563
'
Then, I click on yes and get this error message:
Apache Tomcat/5.5.20 - Error
report
HTTP Status 404 - /admin/
---------------------------------------------------------------------------
type Status report
message /admin/
description The requested resource (/admin/) is not available.
---------------------------------------------------------------------------
Apache Tomcat/5.5.20
RE: noob in Tomcat installation hell
Posted by kj...@notes.cc.sunysb.edu.
I can still not get it working - though I am not sure what part of the
install I am missing.
I believe you mean this:
[root@anansi2 localhost]# pwd
/usr/local/tomcat/conf/Catalina/localhost
[root@anansi2 localhost]# ls -lt
total 24
-rwxr-xr-x 1 root root 566 Mar 8 11:44 admin.xml
-rw------- 1 root root 297 Sep 12 11:12 host-manager.xml
-rw------- 1 root root 452 Sep 12 11:12 manager.xml
AND
/usr/local/tomcat/server/webapps/admin
[root@anansi2 admin]# ls -lt
total 156
drwxr-xr-x 3 root root 4096 Mar 9 10:11 conf
-rw-r--r-- 1 root root 11357 Mar 9 10:11 LICENSE
-rw-r--r-- 1 root root 688 Mar 9 10:11 NOTICE
-rw-r--r-- 1 root root 6744 Mar 9 10:11 RELEASE-NOTES
drwxr-xr-x 3 root root 4096 Mar 9 10:11 server
drwxr-xr-x 2 root root 4096 Mar 8 11:44 images
drwxr-xr-x 2 root root 4096 Mar 8 11:44 service
drwxr-xr-x 2 root root 4096 Mar 8 11:44 users
drwxr-xr-x 3 root root 4096 Mar 8 11:44 WEB-INF
-rw-r--r-- 1 root root 2151 Mar 8 11:44 admin.css
-rw-r--r-- 1 root root 586 Mar 8 11:44 admin.xml
drwxr-xr-x 2 root root 4096 Mar 8 11:44 connector
drwxr-xr-x 2 root root 4096 Mar 8 11:44 context
drwxr-xr-x 2 root root 4096 Mar 8 11:44 host
drwxr-xr-x 2 root root 4096 Mar 8 11:44 realm
drwxr-xr-x 2 root root 4096 Mar 8 11:44 resources
-rw-r--r-- 1 root root 344 Mar 8 11:44 tree-control-test.css
drwxr-xr-x 2 root root 4096 Mar 8 11:44 valve
"Caldarale, Charles R" <Ch...@unisys.com>
03/09/2007 12:05 AM
Please respond to
"Tomcat Users List" <us...@tomcat.apache.org>
To
"Tomcat Users List" <us...@tomcat.apache.org>
cc
Subject
RE: noob in Tomcat installation hell
> From: kjcollins@notes.cc.sunysb.edu
> [mailto:kjcollins@notes.cc.sunysb.edu]
> Subject: noob in Tomcat installation hell
>
> However, I can not get Tomcat Administration to work.
Did you download and install the admin package? If so, is it located in
server/webapps/admin and does conf/Catalina/[host] the admin.xml file?
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
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: noob in Tomcat installation hell
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: kjcollins@notes.cc.sunysb.edu
> [mailto:kjcollins@notes.cc.sunysb.edu]
> Subject: noob in Tomcat installation hell
>
> However, I can not get Tomcat Administration to work.
Did you download and install the admin package? If so, is it located in
server/webapps/admin and does conf/Catalina/[host] the admin.xml file?
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
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: noob in Tomcat installation hell
Posted by kj...@notes.cc.sunysb.edu.
I should mention that I did install the Admin tar
apache-tomcat-5.5.20-admin.tar.gz
apache-tomcat-5.5.20.tar.gz
kjcollins@notes.cc.sunysb.edu
03/08/2007 05:27 PM
Please respond to
"Tomcat Users List" <us...@tomcat.apache.org>
To
users@tomcat.apache.org
cc
Subject
noob in Tomcat installation hell
I am attempting to set up Tomcat 5.5.2 in a Linux Red Hat environment. I
am also looking to
include Tomcat Administration & Manager.
However, I can not get Tomcat Administration to work.
First I set up Java version 6, and when things were not working, I scaled
back to 5. (JDK 5 )
jdk-1_5_0_11-linux-i586-rpm.bin
I re-set up user accounts in ../conf/tomcat-users.xml
which includes:
<role rolename="manager"/>
<role rolename="admin"/>
<user username="tomcat" password="passwrd1" roles="admin,manager"/>
I currently have set: JAVA_HOME=/usr/java/jdk1.5.0_11
CATALINA_HOME=/usr/local/tomcat
I run 'set' to confirm that these settings were exported.
When I attempt to run Tomcat Manager through E-links, it confirms my
password, and seems to be running.
(Not sure hwat to look for beyond the page saying it is unning.)
When I attempt to run Tomcat Administration through E-links, I am asked
if I want to
"post data form to
http://localhost:8080/admin/j_security_check;jsessionid=3BCF622079C7F8B1BD4A252CE3754563
'
Then, I click on yes and get this error message:
Apache Tomcat/5.5.20 - Error
report
HTTP Status 404 - /admin/
---------------------------------------------------------------------------
type Status report
message /admin/
description The requested resource (/admin/) is not available.
---------------------------------------------------------------------------
Apache Tomcat/5.5.20