Log in to Apache Tomcat Servlet/JSP Container Administration Console.
In the left-hand pane, select the Configurations node.
Select the instance-name-config node where your agent is installed.
where instance_name is the name of that particular server instance.
In the expanded tree under the server name node, click the Security node.
This displays the general security settings for this server instance on the right hand panel.
In the right-hand pane, change the value of Default Realm to file.
If Apache Tomcat Servlet/JSP Container was configured to use a different realm than file before the agent was installed, you must choose that value from the pull-down menu instead.
Restart Apache Tomcat Servlet/JSP Container to ensure the changes take effect.
The preceding steps disable the agent realm for Apache Tomcat Servlet/JSP Container. To re-enable the agent realm, follow steps 1-4 and in step 5 change the Default Realm value to agentRealm.