This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I use Tomcat 6.0.14. I just installed NetBeans 6.1 and while deploying the JSP Pages i saw:- ======================================================= Deployment error: 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. See the server log for details. at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:163) at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329) at org.apache.tools.ant.Project.executeTarget(Project.java:1298) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1181) at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277) at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:460) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151) Caused by: java.lang.IllegalStateException: 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. at org.netbeans.modules.tomcat5.TomcatManagerImpl.list(TomcatManagerImpl.java:390) at org.netbeans.modules.tomcat5.TomcatManager.modules(TomcatManager.java:623) at org.netbeans.modules.tomcat5.TomcatManager.getAvailableModules(TomcatManager.java:434) at org.netbeans.modules.j2ee.deployment.impl.TargetServer.getAvailableTMIDsMap(TargetServer.java:319) at org.netbeans.modules.j2ee.deployment.impl.TargetServer.checkUndeployForSharedReferences (TargetServer.java:275) at org.netbeans.modules.j2ee.deployment.impl.TargetServer.checkUndeployForSharedReferences (TargetServer.java:224) at org.netbeans.modules.j2ee.deployment.impl.TargetServer.checkUndeployForSharedReferences (TargetServer.java:221) at org.netbeans.modules.j2ee.deployment.impl.TargetServer.processLastTargetModules(TargetServer.java:343) at org.netbeans.modules.j2ee.deployment.impl.TargetServer.init(TargetServer.java:131) at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:468) at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:148) ... 16 more Caused by: org.netbeans.modules.tomcat5.AuthorizationException at org.netbeans.modules.tomcat5.TomcatManagerImpl.list(TomcatManagerImpl.java:391) ... 26 more ======================= I saw the above error !! How do I get rid of this error !! ================= When I goto "http://localhost:8084/admin/" it says:- =-------------------------------------- Tomcat's administration web application is no longer installed by default. Download and install the "admin" package to use it. ============== Where can I download this package ??
Admin application is no longer provided (by Apache) for 6.x servers. You can enable user account creation when registering the tomcat in the ide. Or you can go to conf/tomcat-users.xml and edit it manualy. *** This issue has been marked as a duplicate of 126469 ***