Solved

reenabling the admin console in tomcat

Posted on 2006-06-12
4
3,661 Views
Last Modified: 2012-06-21
I have a tomcat instance that was packaged together with another application. The admin console appears to have been disabled. It's started using an executable (workspace.exe) instead of the standard batch files (e.g. startup.bat, catalina.bat, setclasspath.bat). Does anyone know of a way I can reenable access to the admin console?
0
Comment
Question by:opike
4 Comments
 
LVL 10

Accepted Solution

by:
sleep_furiously earned 250 total points
ID: 16890266
If it is Tomcat 5, the admin console is a separately downloadable webapp not included in the main package.

http://tomcat.apache.org/download-55.cgi

Scroll down to "Administration Web Application"
0
 
LVL 23

Assisted Solution

by:rama_krishna580
rama_krishna580 earned 250 total points
ID: 16972471
Hi,

try this...

Setting up Tomcat seems to be quite easy: just unpack the core ZIP file, and off you go! But as soon as you want to manage the server, you realize that Tomcat 5.5.x is missing the admin console. Setting up the admin console is easy as well, but is not well documented. So here we go:

Get the latest binary builds (apache-tomcat-5.5.12.zip, apache-tomcat-5.5.12-admin.zip and (if you’re running on JDK 1.4) apache-tomcat-5.5.12-compat.zip)
Unzip the files into the same directory, making sure you obey this order:

apache-tomcat-5.5.12.zip
apache-tomcat-5.5.12-compat.zip
apache-tomcat-5.5.12-admin.zip
Edit the file $catalina_home/conf/tomcat-users.xml, making sure it looks like this:

< ?xml version='1.0' encoding='utf-8'?>
<tomcat -users>
<role rolename="tomcat"/>
<role rolename="role1"/>
<role rolename="admin"/>
<role rolename="manager" />
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user rusername="admin" password="admin" roles="tomcat,manager,admin" />
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="role1" password="tomcat" roles="role1"/>
</tomcat>

This should do the trick.

R.K
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video discusses moving either the default database or any database to a new volume.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now