I have used glassfish server in netbeans, now I changed to tomcat and when I run my web application that I have created in glassfish gives me the error :
D
If you are going to run you web but it shows the above error , then it is due to no user information in tomcat_user.xml file(C:\apache-tomcat-7.0.33\conf ), so go there open this file and just write this sentence in the end of the " ...."
like
.
.
.
///write this at this place in the file
now copy the above sentence and paste it in your file just change your name and password, no changes with roles