Creating / verifying Tomcat user account

Configure the Tomcat web server with the <Web Server username> and <Web Server password>.

See the configuration values in the table in Determine the value of configuration items, and complete these steps:

  1. Use a text editor to open the <Tomcat Home>/conf/tomcat-users.xml file.
    1. Between <tomcat-users> and </tomcat-users>, add this code:
         <user username="<Web Server username>"
               password="<Web Server password>"
               roles="manager-script"/>
      Using the specified sample values, the file must be similar to:
      <tomcat-users>
         <user username="tomcat" password="admin123" role="standard" />
         <user username="wbdeployer"
               password="deploy123"
               roles="manager-script"/>
      </tomcat-users>
    2. Click Save to save the file and exit the editor.
  2. Verify the configuration:
    1. Restart the Tomcat web server.
    2. Use a browser to navigate to this URL:
      <Workbench Web Server Base URL>/manager/text/list
    3. When prompted to provide username and password for the Tomcat Manager application, specify <Web Server username> and <Web Server password>.
      OK - Listed applications for virtual host localhost
      /:running:0:ROOT
      /manager:running:1:manager
      /webui:running:1:G:/gwtui/war
      /docs:running:0:docs
      /wsit-enabled-fromwsdl:running:0:wsit-enabled-fromwsdl
      /examples:running:0:examples
      /host-manager:running:0:host-manager