Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cannot get Tomcat 5.5. Admin App tp work

 
Jose Ortuno
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, a lot Rahul.....

 
Rashid Darvesh
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
CORRECTION
i got this to work Thanks Rahul.
i just had two version of Tomcat, just neede to set hte correct paths
Rashid
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic