hi friends,
Today i installed netbeans 6.7 with glashfish v2.1 and Apache
Tomcat 6.0.18. I created an web application using Apache Tomcat as a webserver.
I am not able to access Apache Tomcat admin console. here is the steps i used to access admin console of tomcat:
1. click on service tab of netbeans
IDE 6.7.
2. expand servers and right click on Apache Tomcat 6.0.18 and click start.
3. after the server starts. right click again on apache tomcat 6.0.18 and click on view admin console.
4. it opens a web browser with "http://localhost:8084/admin" url. and giving error "HTTP Status 404 - /admin".
5. when i open it using "http://localhost:8084/" it shows home page of Apache Tomcat Server.
6. when i try to access administration links like status and tomcat Manager, it asks for password (what is the default user name and password to access it).
7. when i click cancel on it . it says:
You are not authorized to view this page. If you have not changed any configuration files, please examine the file conf/tomcat-users.xml in your installation. That file will contain the credentials to let you use this webapp.
You will need to add manager role to the config file listed above. For example:
<role rolename="manager"/>
<user username="tomcat" password="s3cret" roles="manager"/>
8. so i opened that file and tried to use the predefined users like username=tomcat password=tomcat, but it still says you are not authorized. so by following the above message I created a role manager and create a user in that account. but i am still not able to open its admin page.
Please suggest me what to do. because when i installed netbeans it asks for default user name and password for glashfish webserver, but not for Apache tomcat.
Please guide me so i can access the admin page of tomcat.
Thank you