https://issues.apache.org/bugzilla/show_bug.cgi?id=45498

           Summary: j_security_check redirects to favicon.ico
           Product: Tomcat 5
           Version: 5.5.9
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connector:HTTP
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Since I started to deploy a web application at the root of a Tomcat instance
(running inside JBoss), the first login attempt after starting the browser
always results in a redirection to the site's favicon! The login itself is
successful (re-entering the site address loads the home page, logged in). I can
then log in and out (and access the site) without any trouble -- until I next
restart the browser. This happens regardless of what browser is used (I tried
Firefox 3 and Internet Explorer 7). Following are the headers of the
conversation: 

POST /j_security_check HTTP/1.1
Host: localhost:8080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1)
Gecko/2008070208 Firefox/3.0.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://localhost:8080/
Cookie: JSESSIONID=E96C8FCD27CB758364E9FB40B3A85476
Content-Type: application/x-www-form-urlencoded
Content-Length: 34
j_username=admin&j_password=xxxxxx

HTTP/1.x 302 Moved Temporarily
Server: Apache-Coyote/1.1
Location: http://localhost:8080/favicon.ico
Transfer-Encoding: chunked
Content-Encoding: gzip
Vary: Accept-Encoding
Date: Wed, 30 Jul 2008 00:59:26 GMT


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to