Solved

reenabling the admin console in tomcat

Posted on 2006-06-12
4
3,681 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
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…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

726 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