Tomcat "Authentication Required"

I'm using:
  • Tomcat 6.0
  • NetBeans 6.7.1
  • Windows Vista
Having error like this:
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
Damn I took 12 hours to settle this. You guys may experience the same problem if you are using bundle package installation (it should be fine but if you did self configuration then you may experience this).

If you start your Tomcat, I think there should be no problem. See configuration done for your CATALINA after installation:


  • See your CATALINA_BASE.
  • It may look something like this: C:\Users\Compaq\.netbeans\6.7\apache-tomcat-6.0.18_base.Inside it will be a conf folder.
  • Look for tomcat_users.xml. The IDE uses that as catalina home.
  • Open it, you may see something like this:


Put the same username & password in your server configuration tab:


Close & reopen your IDE. Resatrt Tomcat. Good luck.

My reference(s) :

Help! Cannot Start Tomcat

No worries. This is normal for Vista users. You will experience this when you install Tomcat only or if you install it with NetBeans bundle package or when you try to run it with Sysdeo plugin in Eclipse. Whatever you try, nothing gonna get it right.

If so, then you might have the issue with Vista security. See here: Tomcat & Vista Security or Eclipse & Vista Security.

Learn MVC Web Apps

Here is one good tutorial. All Java, No Froth: 6 Easy Steps to MVC Web Apps. Enjoy it!

Credit(s):
My colleagues
All Java, No Froth: 6 Easy Steps to MVC Web Apps

About this blog

This blog is created just for my 'nota kaki' of Java. I'm quite a forgetful person that I always lost my notes & have to reopen pages to look at it back. Going through that takes times. To avoid that, I've decided to write them in here & share with others. Some info I found from other pages will be credited to whom it should be. If I did not do so, please remind me since.. you know how such forgetful I am.

First of all, the credits goes to Software Department of KRIM Network Sdn. Bhd. Though many 'things' we have gone through.. I really love you all especially him :D

Caution! I do not accept any 'praises' or something like that. Hate it! Questions regarding JAVA is acceptable. Sharing info is most welcomed.

Enjoy the notes