Meaningless Drivel is fun!*
The moose likes Tomcat and the fly likes admin webapp - where to download this from? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "admin webapp - where to download this from?" Watch "admin webapp - where to download this from?" New topic
Author

admin webapp - where to download this from?

bala
Greenhorn

Joined: Feb 02, 2004
Posts: 2
Hi,

Im a newbie to tomcat - would be thankful if someone answers the query below:
Ive installed Tomcat5.5 and when I click on 'Tomcat Administration' link in 'http://localhost:8080/' page I get the message :
"Tomcat's administration web application is no longer installed by default. Download and install the "admin" package to use it."
But unfortunately I couldnt find this admin package on apache website.
Can someone provide me with a link to this

thanks
Bala
bala
Greenhorn

Joined: Feb 02, 2004
Posts: 2
ok folks
Ive found it here:
http://mirrors.ibiblio.org/pub/mirrors/apache/jakarta/tomcat-5/v5.5.7-alpha/bin/?C=N;O=D
thought it might help a few lost souls like myself
Rahul Singh Khokhar
Ranch Hand

Joined: Feb 23, 2005
Posts: 36
Hi Bala,
Did u manage to get it up & running. I already tried deploying this 'admin' apps with no success. Tomcat fails to pick the admin web app.
Rahul Singh Khokhar
Ranch Hand

Joined: Feb 23, 2005
Posts: 36
Thanks Bala!

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..
Daniel Basilio
Greenhorn

Joined: Mar 29, 2005
Posts: 2
Hi,

I followed all your instructions however I can't get it working..

http://205.177.73.51:8080/admin

Can you please help me?


Daniel Basilio<br />Gabbix Solutions Owner<br />http://www.gabbix.com
Jeffrey Spaulding
Ranch Hand

Joined: Jan 15, 2004
Posts: 149
Login looks beautiful to me.

Obviously i couldn't get past that

What is it that doesn't work ?

J.
Rahul Singh Khokhar
Ranch Hand

Joined: Feb 23, 2005
Posts: 36
Hi Jeff,
Have u modified your tomcat-user.xml?

Make sure u have these two entries there:
<tomcat-users>
<role rolename="admin"/>
<role rolename="manager"/>
<user username="yourusername" password="yourpasswd" roles="admin,manager"/>
</tomcat-users>


regards,
Rahul..
Daniel Basilio
Greenhorn

Joined: Mar 29, 2005
Posts: 2
Hi,

Is there a way to create usernames so they have the availability to restart the tomcat service?

If so, how?

Thanks again!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: admin webapp - where to download this from?
 
Similar Threads
Tomcat Administration link does not work.
HTTP Status 404 - Tomcat Manager
where can I find the admin package of Tomcat6 ?
admin module in tomcat 5.5
Admin app anyone ?