aspose file tools*
The moose likes Tomcat and the fly likes Cannot get Tomcat 5.5. Admin App tp work Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Cannot get Tomcat 5.5. Admin App tp work" Watch "Cannot get Tomcat 5.5. Admin App tp work" New topic
Author

Cannot get Tomcat 5.5. Admin App tp work

Jose Ortuno
Ranch Hand

Joined: Nov 10, 2002
Posts: 39
Hi all,


I Can't get Tomcat 5.5. Admin App to work, I got it from jakarta web site but seems like the zip file I am getting is incomplete. After unziping the file into the webapp folder and restarting, Tomcat can't find the login.jsp page.

I could not find it either.
Any I dea on this,


Thanks in advance
Rahul Singh Khokhar
Ranch Hand

Joined: Feb 23, 2005
Posts: 36
Hi Jose,
I am looking for this solution as well. I tried to deploy the 'admin' but Tomcat didn't picked it up properly.
I'll get back to this thread once I have a working solution with me. Maybe I'll try to build the Tomcat from source and see how it goes.
Rahul Singh Khokhar
Ranch Hand

Joined: Feb 23, 2005
Posts: 36
Hi Jose,
Finally I was able to setup the Admin web app successfully.

This is how I proceed:
1. Download the admin package from Thanks to Bala for reference)
http://mirrors.ibiblio.org/pub/mirrors/apache/jakarta/tomcat-5/v5.5.7-alpha/bin/?C=N;O=D
For Linux : jakarta-tomcat-5.5.7-admin.tar.gz
For Windows : jakarta-tomcat-5.5.7-admin.zip

2. In my case it is Linux, copy the file anywhere u like & do the following:
# guzip -d jakarta-tomcat-5.5.7-admin.tar.gz
# tar xvf jakarta-tomcat-5.5.7-admin.tar
this will leave you with a directory having name 'jakarta-tomcat-5.5.7'

3. cd into jakarta-tomcat-5.5.7 in there you will find 2 directories 'conf' & 'server'
cd /server/webapps
cp -R admin/ /<path-to-your-catalina>/server/webapps
This copies the folder 'admin' into your catalina

3. Now cd into the 'conf' folder
cd /conf/Catalina/localhost
cp admin.xml /<path-to-your-catalina>/conf/Catalina/localhost
This copies the admin.xml within 'conf' folder

4. Restart the Jakarta Tomcat service
and thats it...

For Windows:
1. Simply unzip the file jakarta-tomcat-5.5.7-admin.zip
2. copy the folder 'admin' from jakarta-tomcat-5.5.7\server\webapps\admin into your <tomcat-folder>\server\webapps
3. copy the file admin.xml from
jakarta-tomcat-5.5.7\conf\Catalina\localhost into your
<tomcat-folder>\conf\Catalina\localhost
4. Restart Tomcat


regards,
Rahul..
Jose Ortuno
Ranch Hand

Joined: Nov 10, 2002
Posts: 39
Thanks, a lot Rahul.....

Rashid Darvesh
Ranch Hand

Joined: Feb 13, 2004
Posts: 189
Hi Rahul
i did the same thing as mentioned by you, but still when i try this link
http://localhost:8080/admin/ it gives me the following error.
Servlet admin.login_jsp is currently unavailable
description The requested service (Servlet admin.login_jsp is currently unavailable) is not currently available
Any reason?
Thanks
Rashid
Rashid Darvesh
Ranch Hand

Joined: Feb 13, 2004
Posts: 189
CORRECTION
i got this to work Thanks Rahul.
i just had two version of Tomcat, just neede to set hte correct paths
Rashid
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cannot get Tomcat 5.5. Admin App tp work