Thanks!

Mark


David Simmons wrote:
> 
> Hi,
> 
> I just experienced the same problem, found this thread via Google, and 
> figured I'd post my experience and solution.
> 
> Just like Mark's experience, I installed Tomcat and could not use the 
> manager app because the browser never presented me a dialog box for the 
> username and password.  Sure enough, an analysis of the HTTP response 
> headers reveals no "WWW-Authenticate" header, so the browser is not at 
> fault:
> 
> HTTP/1.1 401
> Server: Apache-Coyote/1.1
> Content-Type: text/html;charset=utf-8
> Content-Length: 954
> Date: Sun, 27 Jan 2008 02:56:12 GMT
> 
> ("Apache Tomcat/6.0.14 - Error report" body here...)
> 
> However, I noticed in my catalina.out numerous exceptions where Tomcat 
> was getting "permission denied" while attempting to write to files. 
> Sure enough, when I corrected the permissions so that the tomcat user 
> had write permissions to all relevant directories and files, everything 
> started working normally.
> 
> I can see how the strange behavior of the manager app could be really 
> frustrating and not very helpful, but it turned out to be a pretty 
> mundane problem.
> 
> David
> 
> Mark Riggins wrote:
>> Unfortunately, I'm not sure, and I don't know how to recreate the
>> problem.
>> 
>> Sorry.
>> 
>> Mark
>> 
>> 
>> David Smith-2 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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/No-Authentication-Dialog-appears-for-Tomcat-Manager-tp14780731p15115906.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
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