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.
When the Tomcat password is changed in Netbeans (6.7) it does not update the Tomcat configuration files properly. This causes starting Tomcat to fail. Steps to reproduce: 1) From the Netbeans menu choose Tools > Servers. 2) Select Apache Tomcat 6.0.18 from the Servers: list. 3) Choose the Connection tab. 4) Change the password in the Password field. 5) Click Close. 6) Start an application that uses Tomcat. It will prompt for the password. If you give the new password you will get the password prompt again (because the password was not changed in the file it needed to be). Diagnosis: Tomcat user configuration is stored in three places: 1) In 'Catalina Home' (which is not used, though it probably should be) $NETBEANS_APACHE_DIR/apache-tomcat-6.0.18/conf/tomcat-users.xml 2) In the Netbeans configuration directory and shown by the IDE (this is updated correctly) ~/.netbeans/6.7/tomcat60.properties 3) In 'Catalina Base' (which is not updated, the source of this fault) ~/.netbeans/6.7/apache-tomcat-6.0.18_base/conf/tomcat-users.xml Suggested fix: 1) Ensure the IDE updates the configuration file in Catalina Base when the tomcat password is changed Also, The tomcat-users.xml configuration in Catalina Home is not used at all, perhaps a comment should be made which indicates the password for the 'manager' role is stored in the configuration in the Catalina Base directory (otherwise it's hard to see where the role and password are actually defined).
Properties dialog is not a tool to change the tomcat's password. It is password that IDE will use to connect to server. It is also described in the dialog: "Credentials of an existing user in the "manager" role"