Sunday, October 12, 2008

Editing tomcat-users.xml in NetBeans 6.0


Hi all,


A few weeks back, I wrote a blog entry about how to access username and password information for the Apache Tomcat server. This information, however, was for NetBeans 5.5. In NetBeans 6.0, it's a very similar process. Here's how to do it in NetBeans 6.0:



  1. Locate your userdir (Select Help > About from the main menu).

  2. Write down the location of the userdir (or have it tattooed on your forearm next to the "I luv Netbeans" tattoo).

  3. Go the userdir and find the apache-tomcat-6.0.x_base\conf folder.

  4. Open the tomcat-users.xml file and write down the password that is listed for the "ide" user. (The "ide" user is generated by the IDE during installation.)


Important note: It is not recommended that you have the "ide" user password tattooed anywhere on your body. In a few years, and after several thousand development build installations (each with a unique password), you might run out of places. On the other hand, you might land a decent job in a circus.


See you soon!


--James