Solved

reenabling the admin console in tomcat

Posted on 2006-06-12
4
3,668 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

825 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