File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

admin webapp - where to download this from?

 
bala
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Jeffrey Spaulding
Ranch Hand
Posts: 149
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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

If so, how?

Thanks again!
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic