Discussion:
Netbeans 8.0 access denied to tomcat
desand01
2014-03-22 14:10:54 UTC
Permalink
Hi, I have just installed Netbeans 8.0, clean install with tomcat 8.0 on Windows 7 64bits.
Java version :
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)

When I start tomcat alone in the service tab, it starts without problems but I get an “access denied” message when I try to open the "Web Applications" sub node.

1 - The info in tomcat-users.xml in catalina folder is correct, user and password match Netbeans properties with “manager-script,admin” role.

2 - When I add a new user with “manager-gui,admin” role, I can open manager app in my browser, everything is fine (the manager app is correctly install).

3 – If I use the old Tomcat 7.0.5 (used by Netbeans 7.3.1), I get the same access denied. In Netbeans 7.3.1 with the same tomcat 7.0.5, everything works fine.

4 – If I create a webapp “WebApplication1” deployment fails with an access denied. “Deployment error: Access to Tomcat server has not been authorized. Set the correct username and password with the "manager-script" role in the Tomcat customizer in the Server Manager.”

I have tried on four different computers, all windows 7 64bits, with the same result.

What am I missing?

Thank.
desand01
2014-03-22 19:43:05 UTC
Permalink
Ok, just found why.
In Tools->Options->General: Change the proxy setting to “No proxy”
Or add “localhost” to the system proxy exception list.

:?

Loading...