I had this problem happen when I added custom error-page definitions in the overall web.xml for the installation -- the error pages worked fine for my own applications, but the fact that they were defined seemed to cause a problem for the manager. Soon as I commented-out all of them except the 404 and 500 pages, things were fine again. Not sure which one caused the problem, but it definitely didn't seem like a client-browser issue.

rj



David Smith wrote:
I'm just wondering if you got a 401 page, but a 200 status or something like that. Maybe one of your customizations did some filtering and/or proxying and changed the response code. Seems like the most reasonable cause of your problem.

--David

Mark Riggins wrote:

It turns out that Netbeans likes to use the Tomcat Manager, so I had to get this working. Since others claimed that it worked "out of the box" I just uninstalled everything [losing quite a bit of customization] and did a clean vanilla install.

Now it works, but I have no idea what caused the problem. This is NOT A BROWSER PROBLEM -- I tried two different browsers before, firefox and IE,
neither worked before, and both work now.   I too had added
another user, so perhaps it has something to do with that.

At this point, I'm just glad its working. Fortunately, at this point, I'm just dorking around, refreshing my tech skills, which have gotten a little
dusty, so I can easily chuck the whole install and start fresh.

Mark


wlievens wrote:

Mark Riggins wrote:
Instead of a basic-authentication dialog box, I get the following error
message instead.

       HTTP Status 401 -

       type Status report

       message

      description This request requires HTTP authentication ().
      Apache Tomcat/6.0.13

My tomcat-users.xml file looks like this:
<?xml version='1.0' encoding='utf-8'?>

<tomcat-users>

 <role rolename="tomcat"/>

 <role rolename="manager"/>

 <role rolename="admin"/>

 <user username="tomcat" password="tomcat" roles="tomcat"/>

 <user username="manager" password="manager" roles="manager"/>

 <user username="admin" password="admin" roles="admin"/>

</tomcat-users>


From web.xml I have:
 <!-- Define the Login Configuration for this Application -->
 <login-config>
   <auth-method>BASIC</auth-method>
   <realm-name>Tomcat Manager Application</realm-name>
 </login-config>

 <!-- Security roles referenced by this web application -->
 <security-role>
   <description>
     The role that is required to log in to the Manager Application
   </description>
   <role-name>manager</role-name>
 </security-role>

But the dialog NEVER APPEARS.

Any help would be greatly appreciated. I can't get ANT to work without
this.

I have the exact same problem. The only thing I changed in my
configuration was adding a user. I never get the dialog prompt.

I'd really like a solution for this problem.




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to