Hi I just installed Tomcat and and am trying to get it up and running however whenever I try to navigate to manager/html it gives me this error "The requested resource (/manager/html) is not available".
The homepage, /docs, /examples all work fine and my logs show nothing. How do I fix this? I'm using Tomcat 6.0.20 and JDK 1.6.0_21 on Windows 7 64bit.
I couldn't log in to the manager app, even though my tomcat-users.xml file was set up correctly. The problem was that tomcat was configured to get users from a database. An employee who knew how this all worked left the company so I had to track this all down.
If you have a web application with something like this in the projects web.xml:
You should be aware that this is using the same system for log ins as tomcat! So where ever your manager role user(s) are defined, that is where you should define your manager-gui role and user. In server.xml I found this:
That tells me there is a database storing all the users and roles. This overrides the tomcat-users.xml file. Nothing in that file works unless this Realm is commented out. The solution is to add your tomcat user to the users table and your manager-gui role to the user_roles table:
You should also have a "manager-gui" rolename in the roles table. Add that if it doesn't exist. Hope this helps someone.
Your website is blank because ROOT directory is missing from your
../webapps
folder. Refer to tomcat documentation for the specific location on where it should be.My problem/solution is very embarrassing but who knows... perhaps it happened to someone else:
My solution: Turn off proxy
For the past two hours I've been wondering why my manager would not load. (the root was cached so it loaded). I had set the browser's proxy to proxy traffic to my house. :/
You have to enable access first: Configuring Manager Application Access
Once try by replacing localhost to your 'computer name' i.e,
http://localhost:8080
tohttp://system09:8080
In my case, the folder was _Manager. After I renamed it to Manager it worked.
Now, I see login popup and I enter credentials from conf/tomcat-users.xml, It all works fine.