Home TOC |
![]() ![]() ![]() |
Using admintool
New to this release of the Java Web Services Developer Pack is the Tomcat Server Administration tool,
admintool
.admintool
is a Web application that can be used to manipulate Tomcat while it is running. For example, you can add a context or set up users and roles for container-managed security.To start
admintool
, follow these steps.
- Start the Tomcat server as described in Starting Tomcat.
- Start a Web browser.
- In the Web browser, point to the following URL:
http://localhost:8080/admin
- This command invokes the
admin
Web application. Before you can use this application you must add your user name/password combination and associate the role nameadmin
with it. The initial user name and password necessary to access this tool are set up during Java WSDP installation. If you've forgotten the user name and password, you can view <JWSDP_HOME>/conf/tomcat-users.xml
with any text editor. This file contains an element<user>
for each individual user, which might look something like this:<user name="adeveloper" password="secret" roles="admin, manager" />- Log in to admintool using a user name and password combination that has been assigned the role of
admin
.- When you have finished, log out of admintool by selecting the appropriate link in the upper pane.
Adding Roles Using admintool
To set up new roles for container-managed security, follow these instructions. Additions, deletions, and changes made in admintool are written to the
tomcat-users.xml file
.
- Scroll down the left pane of admintool to the Administration node.
- Select Role Administration.
- From the Available Actions List, select Create New Role.
- Enter a Role Name and Description, for example
Customer
.- Select Save.
Adding Users Using admintool
To set up new users for container-managed security, follow these instructions. Additions, deletions, and changes made in admintool are written to the
tomcat-users.xml file
.
Home TOC |
![]() ![]() ![]() |