Custom realm/starting Tomcat 6.0 from Netbeans 6.8/first HTTP request

Posted by Drew on Stack Overflow See other posts from Stack Overflow or by Drew
Published on 2010-06-16T23:53:13Z Indexed on 2010/06/17 3:53 UTC
Read the original article Hit count: 386

Filed under:
|
|
|

I'm using NetBeans 6.8 and Tomcat 6.0.xx. I've created a custom realm and updated the NetBeans project build.xml to deploy the realm to Tomcat. When I debug the project, NetBeans starts the Tomcat server and makes an initial HTTP GET request for 'manager/list'. Tomcat graciously hands this request off to my custom realm for authentication. The request gets denied and NetBeans displays the following error in the output window: (note: error is displayed after NetBeans gets access denied)

Access to Tomcat server has not been authorized. Set the correct username and password with the "manager" role in the Tomcat customizer in the Server Manager.

Do I have something incorrectly configured? How do I prevent NetBeans from issuing this initial request?

Thanks, Drew

© Stack Overflow or respective owner

Related posts about tomcat

Related posts about netbeans