Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Linus Sphinx
Endless Redirect Loop After Upgrade 301/302
April 3, 2012 7:14 AM
Answer

Linus Sphinx

Rank: Junior Member

Posts: 84

Join Date: August 12, 2010

Recent Posts

Took a running 6.0.5 portal that's upgraded to 6.0.6, exported, imported it's database onto my laptop mysql server.
Tarred up the liferay data directory and unpacked it into a fresh copy of liferay-portal-tomcat-6.1.0-ce-ga1-20120106155615760.zip
Remove all of portal-ext.properties except for the LDAP and mysql connection params.
Start it up, upgrade goes smoothly, no sign of error or any discomfort.
Connect with firefox, says:

"The page isn't redirecting properly. Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
"This problem can sometimes be caused by disabling or refusing to accept cookies."

Clearing cache, cookies, the room, my desk, my mind, makes no difference whatsoever.
When I sniff and check the packets it's a little more puzzling, using wget show the same:

 1
 2[root@localhost conf]# wget http://localhost
 3--2012-04-02 13:24:55--  http://localhost/
 4Resolving localhost... 127.0.0.1
 5Connecting to localhost|127.0.0.1|:80... connected.
 6HTTP request sent, awaiting response... 302 Moved Temporarily
 7Location: http://localhost/;jsessionid=33B529FFE5BEA8D0F18D3053BD64344E [following]
 8--2012-04-02 13:24:55--  http://localhost/;jsessionid=33B529FFE5BEA8D0F18D3053BD64344E
 9Connecting to localhost|127.0.0.1|:80... connected.
10HTTP request sent, awaiting response... 301 Moved Permanently
11Location: /web/18/35 [following]
12--2012-04-02 13:24:55--  http://localhost/web/18/35
13Connecting to localhost|127.0.0.1|:80... connected.
14HTTP request sent, awaiting response... 302 Moved Temporarily
15Location: http://localhost/c/portal/login?redirect=%2Fweb%2F18%2F35&p_l_id=91370 [following]
16--2012-04-02 13:24:55--  http://localhost/c/portal/login?redirect=%2Fweb%2F18%2F35&p_l_id=91370
17Connecting to localhost|127.0.0.1|:80... connected.
18HTTP request sent, awaiting response... 302 Moved Temporarily
19Location: http://localhost/web/18/35?p_p_id=58&p_p_lifecycle=0&_58_redirect=%2Fweb%2F18%2F35 [following]
20--2012-04-02 13:24:55--  http://localhost/web/18/35?p_p_id=58&p_p_lifecycle=0&_58_redirect=%2Fweb%2F18%2F35
21Connecting to localhost|127.0.0.1|:80... connected.
22HTTP request sent, awaiting response... 302 Moved Temporarily
23Location: http://localhost/c/portal/login?redirect=%2Fweb%2F18%2F35%3Fp_p_id%3D58%26p_p_lifecycle%3D0%26_58_redirect%3D%252Fweb%252F18%252F35&p_l_id=91370 [following]
24--2012-04-02 13:24:55--  http://localhost/c/portal/login?redirect=%2Fweb%2F18%2F35%3Fp_p_id%3D58%26p_p_lifecycle%3D0%26_58_redirect%3D%252Fweb%252F18%252F35&p_l_id=91370
25Connecting to localhost|127.0.0.1|:80... connected.
26HTTP request sent, awaiting response... 302 Moved Temporarily
27Location: http://localhost/web/18/35?p_p_id=58&p_p_lifecycle=0&_58_redirect=%2Fweb%2F18%2F35%3Fp_p_id%3D58%26p_p_lifecycle%3D0%26_58_redirect%3D%252Fweb%252F18%252F35 [following]
28--2012-04-02 13:24:55--  http://localhost/web/18/35?p_p_id=58&p_p_lifecycle=0&_58_redirect=%2Fweb%2F18%2F35%3Fp_p_id%3D58%26p_p_lifecycle%3D0%26_58_redirect%3D%252Fweb%252F18%252F35
29Connecting to localhost|127.0.0.1|:80... connected.
30HTTP request sent, awaiting response... 302 Moved Temporarily
31Location: http://localhost/c/portal/login?redirect=%2Fweb%2F18%2F35%3Fp_p_id%3D58%26p_p_lifecycle%3D0%26_58_redirect%3D%252Fweb%252F18%252F35%253Fp_p_id%253D58%2526p_p_lifecycle%253D0%2526_58_redirect%253D%25252Fweb%25252F18%25252F35&p_l_id=91370 [following]
32--2012-04-02 13:24:55--  http://localhost/c/portal/login?redirect=%2Fweb%2F18%2F35%3Fp_p_id%3D58%26p_p_lifecycle%3D0%26_58_redirect%3D%252Fweb%252F18%252F35%253Fp_p_id%253D58%2526p_p_lifecycle%253D0%2526_58_redirect%253D%25252Fweb%25252F18%25252F35&p_l_id=91370
33Connecting to localhost|127.0.0.1|:80... connected.
34HTTP request sent, awaiting response... 302 Moved Temporarily
35Location: http://localhost/web/18/35?p_p_id=58&p_p_lifecycle=0&_58_redirect=%2Fweb%2F18%2F35%3Fp_p_id%3D58%26p_p_lifecycle%3D0%26_58_redirect%3D%252Fweb%252F18%252F35%253Fp_p_id%253D58%2526p_p_lifecycle%253D0%2526_58_redirect%253D%25252Fweb%25252F18%25252F35 [following]
36--2012-04-02 13:24:55--  http://localhost/web/18/35?p_p_id=58&p_p_lifecycle=0&_58_redirect=%2Fweb%2F18%2F35%3Fp_p_id%3D58%26p_p_lifecycle%3D0%26_58_redirect%3D%252Fweb%252F18%252F35%253Fp_p_id%253D58%2526p_p_lifecycle%253D0%2526_58_redirect%253D%25252Fweb%25252F18%25252F35
37Connecting to localhost|127.0.0.1|:80... connected.
38HTTP request sent, awaiting response... 302 Moved Temporarily
39Location: http://localhost/c/portal/login?redirect=%2Fweb%2F18%2F35%3Fp_p_id%3D58%26p_p_lifecycle%3D0%26_58_redirect%3D%252Fweb%252F18%252F35%253Fp_p_id%253D58%2526p_p_lifecycle%253D0%2526_58_redirect%253D%25252Fweb%25252F18%25252F35%25253Fp_p_id%25253D58%252526p_p_lifecycle%25253D0%252526_58_redirect%25253D%2525252Fweb%2525252F18%2525252F35&p_l_id=91370 [following]
40--2012-04-02 13:24:55--  http://localhost/c/portal/login?redirect=%2Fweb%2F18%2F35%3Fp_p_id%3D58%26p_p_lifecycle%3D0%26_58_redirect%3D%252Fweb%252F18%252F35%253Fp_p_id%253D58%2526p_p_lifecycle%253D0%2526_58_redirect%253D%25252Fweb%25252F18%25252F35%25253Fp_p_id%25253D58%252526p_p_lifecycle%25253D0%252526_58_redirect%25253D%2525252Fweb%2525252F18%2525252F35&p_l_id=91370
41Connecting to localhost|127.0.0.1|:80... connected.
42HTTP request sent, awaiting response... 302 Moved Temporarily
43Location: http://localhost/web/18/35?p_p_id=58&p_p_lifecycle=0&_58_redirect=%2Fweb%2F18%2F35%3Fp_p_id%3D58%26p_p_lifecycle%3D0%26_58_redirect%3D%252Fweb%252F18%252F35%253Fp_p_id%253D58%2526p_p_lifecycle%253D0%2526_58_redirect%253D%25252Fweb%25252F18%25252F35%25253Fp_p_id%25253D58%252526p_p_lifecycle%25253D0%252526_58_redirect%25253D%2525252Fweb%2525252F18%2525252F35 [following]
44--2012-04-02 13:24:55--  http://localhost/web/18/35?p_p_id=58&p_p_lifecycle=0&_58_redirect=%2Fweb%2F18%2F35%3Fp_p_id%3D58%26p_p_lifecycle%3D0%26_58_redirect%3D%252Fweb%252F18%252F35%253Fp_p_id%253D58%2526p_p_lifecycle%253D0%2526_58_redirect%253D%25252Fweb%25252F18%25252F35%25253Fp_p_id%25253D58%252526p_p_lifecycle%25253D0%252526_58_redirect%25253D%2525252Fweb%2525252F18%2525252F35
45Connecting to localhost|127.0.0.1|:80... connected.
46HTTP request sent, awaiting response... 302 Moved Temporarily
47Location: http://localhost/c/portal/login?redirect=%2Fweb%2F18%2F35%3Fp_p_id%3D58%26p_p_lifecycle%3D0%26_58_redirect%3D%252Fweb%252F18%252F35%253Fp_p_id%253D58%2526p_p_lifecycle%253D0%2526_58_redirect%253D%25252Fweb%25252F18%25252F35%25253Fp_p_id%25253D58%252526p_p_lifecycle%25253D0%252526_58_redirect%25253D%2525252Fweb%2525252F18%2525252F35%2525253Fp_p_id%2525253D58%25252526p_p_lifecycle%2525253D0%25252526_58_redirect%2525253D%252525252Fweb%252525252F18%252525252F35&p_l_id=91370 [following]
48--2012-04-02 13:24:55--  http://localhost/c/portal/login?redirect=%2Fweb%2F18%2F35%3Fp_p_id%3D58%26p_p_lifecycle%3D0%26_58_redirect%3D%252Fweb%252F18%252F35%253Fp_p_id%253D58%2526p_p_lifecycle%253D0%2526_58_redirect%253D%25252Fweb%25252F18%25252F35%25253Fp_p_id%25253D58%252526p_p_lifecycle%25253D0%252526_58_redirect%25253D%2525252Fweb%2525252F18%2525252F35%2525253Fp_p_id%2525253D58%25252526p_p_lifecycle%2525253D0%25252526_58_redirect%2525253D%252525252Fweb%252525252F18%252525252F35&p_l_id=91370
49Connecting to localhost|127.0.0.1|:80... connected.
50HTTP request sent, awaiting response... 302 Moved Temporarily
51Location: http://localhost/web/18/35?p_p_id=58&p_p_lifecycle=0&_58_redirect=%2Fweb%2F18%2F35%3Fp_p_id%3D58%26p_p_lifecycle%3D0%26_58_redirect%3D%252Fweb%252F18%252F35%253Fp_p_id%253D58%2526p_p_lifecycle%253D0%2526_58_redirect%253D%25252Fweb%25252F18%25252F35%25253Fp_p_id%25253D58%252526p_p_lifecycle%25253D0%252526_58_redirect%25253D%2525252Fweb%2525252F18%2525252F35%2525253Fp_p_id%2525253D58%25252526p_p_lifecycle%2525253D0%25252526_58_redirect%2525253D%252525252Fweb%252525252F18%252525252F35 [following]
52--2012-04-02 13:24:55--  http://localhost/web/18/35?p_p_id=58&p_p_lifecycle=0&_58_redirect=%2Fweb%2F18%2F35%3Fp_p_id%3D58%26p_p_lifecycle%3D0%26_58_redirect%3D%252Fweb%252F18%252F35%253Fp_p_id%253D58%2526p_p_lifecycle%253D0%2526_58_redirect%253D%25252Fweb%25252F18%25252F35%25253Fp_p_id%25253D58%252526p_p_lifecycle%25253D0%252526_58_redirect%25253D%2525252Fweb%2525252F18%2525252F35%2525253Fp_p_id%2525253D58%25252526p_p_lifecycle%2525253D0%25252526_58_redirect%2525253D%252525252Fweb%252525252F18%252525252F35
53Connecting to localhost|127.0.0.1|:80... connected.
54HTTP request sent, awaiting response... 302 Moved Temporarily
55Location: http://localhost/c/portal/login?redirect=%2Fweb%2F18%2F35%3Fp_p_id%3D58%26p_p_lifecycle%3D0%26_58_redirect%3D%252Fweb%252F18%252F35%253Fp_p_id%253D58%2526p_p_lifecycle%253D0%2526_58_redirect%253D%25252Fweb%25252F18%25252F35%25253Fp_p_id%25253D58%252526p_p_lifecycle%25253D0%252526_58_redirect%25253D%2525252Fweb%2525252F18%2525252F35%2525253Fp_p_id%2525253D58%25252526p_p_lifecycle%2525253D0%25252526_58_redirect%2525253D%252525252Fweb%252525252F18%252525252F35%252525253Fp_p_id%252525253D58%2525252526p_p_lifecycle%252525253D0%2525252526_58_redirect%252525253D%25252525252Fweb%25252525252F18%25252525252F35&p_l_id=91370 [following]
56--2012-04-02 13:24:55--  http://localhost/c/portal/login?redirect=%2Fweb%2F18%2F35%3Fp_p_id%3D58%26p_p_lifecycle%3D0%26_58_redirect%3D%252Fweb%252F18%252F35%253Fp_p_id%253D58%2526p_p_lifecycle%253D0%2526_58_redirect%253D%25252Fweb%25252F18%25252F35%25253Fp_p_id%25253D58%252526p_p_lifecycle%25253D0%252526_58_redirect%25253D%2525252Fweb%2525252F18%2525252F35%2525253Fp_p_id%2525253D58%25252526p_p_lifecycle%2525253D0%25252526_58_redirect%2525253D%252525252Fweb%252525252F18%252525252F35%252525253Fp_p_id%252525253D58%2525252526p_p_lifecycle%252525253D0%2525252526_58_redirect%252525253D%25252525252Fweb%25252525252F18%25252525252F35&p_l_id=91370
57Connecting to localhost|127.0.0.1|:80... connected.
58HTTP request sent, awaiting response... 302 Moved Temporarily
59Location: http://localhost/web/18/35?p_p_id=58&p_p_lifecycle=0&_58_redirect=%2Fweb%2F18%2F35%3Fp_p_id%3D58%26p_p_lifecycle%3D0%26_58_redirect%3D%252Fweb%252F18%252F35%253Fp_p_id%253D58%2526p_p_lifecycle%253D0%2526_58_redirect%253D%25252Fweb%25252F18%25252F35%25253Fp_p_id%25253D58%252526p_p_lifecycle%25253D0%252526_58_redirect%25253D%2525252Fweb%2525252F18%2525252F35%2525253Fp_p_id%2525253D58%25252526p_p_lifecycle%2525253D0%25252526_58_redirect%2525253D%252525252Fweb%252525252F18%252525252F35%252525253Fp_p_id%252525253D58%2525252526p_p_lifecycle%252525253D0%2525252526_58_redirect%252525253D%25252525252Fweb%25252525252F18%25252525252F35 [following]
60--2012-04-02 13:24:55--  http://localhost/web/18/35?p_p_id=58&p_p_lifecycle=0&_58_redirect=%2Fweb%2F18%2F35%3Fp_p_id%3D58%26p_p_lifecycle%3D0%26_58_redirect%3D%252Fweb%252F18%252F35%253Fp_p_id%253D58%2526p_p_lifecycle%253D0%2526_58_redirect%253D%25252Fweb%25252F18%25252F35%25253Fp_p_id%25253D58%252526p_p_lifecycle%25253D0%252526_58_redirect%25253D%2525252Fweb%2525252F18%2525252F35%2525253Fp_p_id%2525253D58%25252526p_p_lifecycle%2525253D0%25252526_58_redirect%2525253D%252525252Fweb%252525252F18%252525252F35%252525253Fp_p_id%252525253D58%2525252526p_p_lifecycle%252525253D0%2525252526_58_redirect%252525253D%25252525252Fweb%25252525252F18%25252525252F35
61Connecting to localhost|127.0.0.1|:80... connected.
62HTTP request sent, awaiting response... 302 Moved Temporarily
63Location: http://localhost/c/portal/login?redirect=%2Fweb%2F18%2F35%3Fp_p_id%3D58%26p_p_lifecycle%3D0%26_58_redirect%3D%252Fweb%252F18%252F35%253Fp_p_id%253D58%2526p_p_lifecycle%253D0%2526_58_redirect%253D%25252Fweb%25252F18%25252F35%25253Fp_p_id%25253D58%252526p_p_lifecycle%25253D0%252526_58_redirect%25253D%2525252Fweb%2525252F18%2525252F35%2525253Fp_p_id%2525253D58%25252526p_p_lifecycle%2525253D0%25252526_58_redirect%2525253D%252525252Fweb%252525252F18%252525252F35%252525253Fp_p_id%252525253D58%2525252526p_p_lifecycle%252525253D0%2525252526_58_redirect%252525253D%25252525252Fweb%25252525252F18%25252525252F35%25252525253Fp_p_id%25252525253D58%252525252526p_p_lifecycle%25252525253D0%252525252526_58_redirect%25252525253D%2525252525252Fweb%2525252525252F18%2525252525252F35&p_l_id=91370 [following]
64--2012-04-02 13:24:56--  http://localhost/c/portal/login?redirect=%2Fweb%2F18%2F35%3Fp_p_id%3D58%26p_p_lifecycle%3D0%26_58_redirect%3D%252Fweb%252F18%252F35%253Fp_p_id%253D58%2526p_p_lifecycle%253D0%2526_58_redirect%253D%25252Fweb%25252F18%25252F35%25253Fp_p_id%25253D58%252526p_p_lifecycle%25253D0%252526_58_redirect%25253D%2525252Fweb%2525252F18%2525252F35%2525253Fp_p_id%2525253D58%25252526p_p_lifecycle%2525253D0%25252526_58_redirect%2525253D%252525252Fweb%252525252F18%252525252F35%252525253Fp_p_id%252525253D58%2525252526p_p_lifecycle%252525253D0%2525252526_58_redirect%252525253D%25252525252Fweb%25252525252F18%25252525252F35%25252525253Fp_p_id%25252525253D58%252525252526p_p_lifecycle%25252525253D0%252525252526_58_redirect%25252525253D%2525252525252Fweb%2525252525252F18%2525252525252F35&p_l_id=91370
65Connecting to localhost|127.0.0.1|:80... connected.
66HTTP request sent, awaiting response... 302 Moved Temporarily
67Location: http://localhost/web/18/35?p_p_id=58&p_p_lifecycle=0&_58_redirect=%2Fweb%2F18%2F35%3Fp_p_id%3D58%26p_p_lifecycle%3D0%26_58_redirect%3D%252Fweb%252F18%252F35%253Fp_p_id%253D58%2526p_p_lifecycle%253D0%2526_58_redirect%253D%25252Fweb%25252F18%25252F35%25253Fp_p_id%25253D58%252526p_p_lifecycle%25253D0%252526_58_redirect%25253D%2525252Fweb%2525252F18%2525252F35%2525253Fp_p_id%2525253D58%25252526p_p_lifecycle%2525253D0%25252526_58_redirect%2525253D%252525252Fweb%252525252F18%252525252F35%252525253Fp_p_id%252525253D58%2525252526p_p_lifecycle%252525253D0%2525252526_58_redirect%252525253D%25252525252Fweb%25252525252F18%25252525252F35%25252525253Fp_p_id%25252525253D58%252525252526p_p_lifecycle%25252525253D0%252525252526_58_redirect%25252525253D%2525252525252Fweb%2525252525252F18%2525252525252F35 [following]
68--2012-04-02 13:24:56--  http://localhost/web/18/35?p_p_id=58&p_p_lifecycle=0&_58_redirect=%2Fweb%2F18%2F35%3Fp_p_id%3D58%26p_p_lifecycle%3D0%26_58_redirect%3D%252Fweb%252F18%252F35%253Fp_p_id%253D58%2526p_p_lifecycle%253D0%2526_58_redirect%253D%25252Fweb%25252F18%25252F35%25253Fp_p_id%25253D58%252526p_p_lifecycle%25253D0%252526_58_redirect%25253D%2525252Fweb%2525252F18%2525252F35%2525253Fp_p_id%2525253D58%25252526p_p_lifecycle%2525253D0%25252526_58_redirect%2525253D%252525252Fweb%252525252F18%252525252F35%252525253Fp_p_id%252525253D58%2525252526p_p_lifecycle%252525253D0%2525252526_58_redirect%252525253D%25252525252Fweb%25252525252F18%25252525252F35%25252525253Fp_p_id%25252525253D58%252525252526p_p_lifecycle%25252525253D0%252525252526_58_redirect%25252525253D%2525252525252Fweb%2525252525252F18%2525252525252F35
69Connecting to localhost|127.0.0.1|:80... connected.
70HTTP request sent, awaiting response... 302 Moved Temporarily
71Location: http://localhost/c/portal/login?redirect=%2Fweb%2F18%2F35%3Fp_p_id%3D58%26p_p_lifecycle%3D0%26_58_redirect%3D%252Fweb%252F18%252F35%253Fp_p_id%253D58%2526p_p_lifecycle%253D0%2526_58_redirect%253D%25252Fweb%25252F18%25252F35%25253Fp_p_id%25253D58%252526p_p_lifecycle%25253D0%252526_58_redirect%25253D%2525252Fweb%2525252F18%2525252F35%2525253Fp_p_id%2525253D58%25252526p_p_lifecycle%2525253D0%25252526_58_redirect%2525253D%252525252Fweb%252525252F18%252525252F35%252525253Fp_p_id%252525253D58%2525252526p_p_lifecycle%252525253D0%2525252526_58_redirect%252525253D%25252525252Fweb%25252525252F18%25252525252F35%25252525253Fp_p_id%25252525253D58%252525252526p_p_lifecycle%25252525253D0%252525252526_58_redirect%25252525253D%2525252525252Fweb%2525252525252F18%2525252525252F35%2525252525253Fp_p_id%2525252525253D58%25252525252526p_p_lifecycle%2525252525253D0%25252525252526_58_redirect%2525252525253D%252525252525252Fweb%252525252525252F18%252525252525252F35&p_l_id=91370 [following]
72--2012-04-02 13:24:56--  http://localhost/c/portal/login?redirect=%2Fweb%2F18%2F35%3Fp_p_id%3D58%26p_p_lifecycle%3D0%26_58_redirect%3D%252Fweb%252F18%252F35%253Fp_p_id%253D58%2526p_p_lifecycle%253D0%2526_58_redirect%253D%25252Fweb%25252F18%25252F35%25253Fp_p_id%25253D58%252526p_p_lifecycle%25253D0%252526_58_redirect%25253D%2525252Fweb%2525252F18%2525252F35%2525253Fp_p_id%2525253D58%25252526p_p_lifecycle%2525253D0%25252526_58_redirect%2525253D%252525252Fweb%252525252F18%252525252F35%252525253Fp_p_id%252525253D58%2525252526p_p_lifecycle%252525253D0%2525252526_58_redirect%252525253D%25252525252Fweb%25252525252F18%25252525252F35%25252525253Fp_p_id%25252525253D58%252525252526p_p_lifecycle%25252525253D0%252525252526_58_redirect%25252525253D%2525252525252Fweb%2525252525252F18%2525252525252F35%2525252525253Fp_p_id%2525252525253D58%25252525252526p_p_lifecycle%2525252525253D0%25252525252526_58_redirect%2525252525253D%252525252525252Fweb%252525252525252F18%252525252525252F35&p_l_id=91370
73Connecting to localhost|127.0.0.1|:80... connected.
74HTTP request sent, awaiting response... 302 Moved Temporarily
75Location: http://localhost/web/18/35?p_p_id=58&p_p_lifecycle=0&_58_redirect=%2Fweb%2F18%2F35%3Fp_p_id%3D58%26p_p_lifecycle%3D0%26_58_redirect%3D%252Fweb%252F18%252F35%253Fp_p_id%253D58%2526p_p_lifecycle%253D0%2526_58_redirect%253D%25252Fweb%25252F18%25252F35%25253Fp_p_id%25253D58%252526p_p_lifecycle%25253D0%252526_58_redirect%25253D%2525252Fweb%2525252F18%2525252F35%2525253Fp_p_id%2525253D58%25252526p_p_lifecycle%2525253D0%25252526_58_redirect%2525253D%252525252Fweb%252525252F18%252525252F35%252525253Fp_p_id%252525253D58%2525252526p_p_lifecycle%252525253D0%2525252526_58_redirect%252525253D%25252525252Fweb%25252525252F18%25252525252F35%25252525253Fp_p_id%25252525253D58%252525252526p_p_lifecycle%25252525253D0%252525252526_58_redirect%25252525253D%2525252525252Fweb%2525252525252F18%2525252525252F35%2525252525253Fp_p_id%2525252525253D58%25252525252526p_p_lifecycle%2525252525253D0%25252525252526_58_redirect%2525252525253D%252525252525252Fweb%252525252525252F18%252525252525252F35 [following]
76--2012-04-02 13:24:56--  http://localhost/web/18/35?p_p_id=58&p_p_lifecycle=0&_58_redirect=%2Fweb%2F18%2F35%3Fp_p_id%3D58%26p_p_lifecycle%3D0%26_58_redirect%3D%252Fweb%252F18%252F35%253Fp_p_id%253D58%2526p_p_lifecycle%253D0%2526_58_redirect%253D%25252Fweb%25252F18%25252F35%25253Fp_p_id%25253D58%252526p_p_lifecycle%25253D0%252526_58_redirect%25253D%2525252Fweb%2525252F18%2525252F35%2525253Fp_p_id%2525253D58%25252526p_p_lifecycle%2525253D0%25252526_58_redirect%2525253D%252525252Fweb%252525252F18%252525252F35%252525253Fp_p_id%252525253D58%2525252526p_p_lifecycle%252525253D0%2525252526_58_redirect%252525253D%25252525252Fweb%25252525252F18%25252525252F35%25252525253Fp_p_id%25252525253D58%252525252526p_p_lifecycle%25252525253D0%252525252526_58_redirect%25252525253D%2525252525252Fweb%2525252525252F18%2525252525252F35%2525252525253Fp_p_id%2525252525253D58%25252525252526p_p_lifecycle%2525252525253D0%25252525252526_58_redirect%2525252525253D%252525252525252Fweb%252525252525252F18%252525252525252F35
77Connecting to localhost|127.0.0.1|:80... connected.
78HTTP request sent, awaiting response... 302 Moved Temporarily
79Location: http://localhost/c/portal/login?redirect=%2Fweb%2F18%2F35%3Fp_p_id%3D58%26p_p_lifecycle%3D0%26_58_redirect%3D%252Fweb%252F18%252F35%253Fp_p_id%253D58%2526p_p_lifecycle%253D0%2526_58_redirect%253D%25252Fweb%25252F18%25252F35%25253Fp_p_id%25253D58%252526p_p_lifecycle%25253D0%252526_58_redirect%25253D%2525252Fweb%2525252F18%2525252F35%2525253Fp_p_id%2525253D58%25252526p_p_lifecycle%2525253D0%25252526_58_redirect%2525253D%252525252Fweb%252525252F18%252525252F35%252525253Fp_p_id%252525253D58%2525252526p_p_lifecycle%252525253D0%2525252526_58_redirect%252525253D%25252525252Fweb%25252525252F18%25252525252F35%25252525253Fp_p_id%25252525253D58%252525252526p_p_lifecycle%25252525253D0%252525252526_58_redirect%25252525253D%2525252525252Fweb%2525252525252F18%2525252525252F35%2525252525253Fp_p_id%2525252525253D58%25252525252526p_p_lifecycle%2525252525253D0%25252525252526_58_redirect%2525252525253D%252525252525252Fweb%252525252525252F18%252525252525252F35%252525252525253Fp_p_id%252525252525253D58%2525252525252526p_p_lifecycle%252525252525253D0%2525252525252526_58_redirect%252525252525253D%25252525252525252Fweb%25252525252525252F18%25252525252525252F35&p_l_id=91370 [following]
80--2012-04-02 13:24:56--  http://localhost/c/portal/login?redirect=%2Fweb%2F18%2F35%3Fp_p_id%3D58%26p_p_lifecycle%3D0%26_58_redirect%3D%252Fweb%252F18%252F35%253Fp_p_id%253D58%2526p_p_lifecycle%253D0%2526_58_redirect%253D%25252Fweb%25252F18%25252F35%25253Fp_p_id%25253D58%252526p_p_lifecycle%25253D0%252526_58_redirect%25253D%2525252Fweb%2525252F18%2525252F35%2525253Fp_p_id%2525253D58%25252526p_p_lifecycle%2525253D0%25252526_58_redirect%2525253D%252525252Fweb%252525252F18%252525252F35%252525253Fp_p_id%252525253D58%2525252526p_p_lifecycle%252525253D0%2525252526_58_redirect%252525253D%25252525252Fweb%25252525252F18%25252525252F35%25252525253Fp_p_id%25252525253D58%252525252526p_p_lifecycle%25252525253D0%252525252526_58_redirect%25252525253D%2525252525252Fweb%2525252525252F18%2525252525252F35%2525252525253Fp_p_id%2525252525253D58%25252525252526p_p_lifecycle%2525252525253D0%25252525252526_58_redirect%2525252525253D%252525252525252Fweb%252525252525252F18%252525252525252F35%252525252525253Fp_p_id%252525252525253D58%2525252525252526p_p_lifecycle%252525252525253D0%2525252525252526_58_redirect%252525252525253D%25252525252525252Fweb%25252525252525252F18%25252525252525252F35&p_l_id=91370
81Connecting to localhost|127.0.0.1|:80... connected.
82HTTP request sent, awaiting response... 302 Moved Temporarily
83Location: http://localhost/web/18/35?p_p_id=58&p_p_lifecycle=0&_58_redirect=%2Fweb%2F18%2F35%3Fp_p_id%3D58%26p_p_lifecycle%3D0%26_58_redirect%3D%252Fweb%252F18%252F35%253Fp_p_id%253D58%2526p_p_lifecycle%253D0%2526_58_redirect%253D%25252Fweb%25252F18%25252F35%25253Fp_p_id%25253D58%252526p_p_lifecycle%25253D0%252526_58_redirect%25253D%2525252Fweb%2525252F18%2525252F35%2525253Fp_p_id%2525253D58%25252526p_p_lifecycle%2525253D0%25252526_58_redirect%2525253D%252525252Fweb%252525252F18%252525252F35%252525253Fp_p_id%252525253D58%2525252526p_p_lifecycle%252525253D0%2525252526_58_redirect%252525253D%25252525252Fweb%25252525252F18%25252525252F35%25252525253Fp_p_id%25252525253D58%252525252526p_p_lifecycle%25252525253D0%252525252526_58_redirect%25252525253D%2525252525252Fweb%2525252525252F18%2525252525252F35%2525252525253Fp_p_id%2525252525253D58%25252525252526p_p_lifecycle%2525252525253D0%25252525252526_58_redirect%2525252525253D%252525252525252Fweb%252525252525252F18%252525252525252F35%252525252525253Fp_p_id%252525252525253D58%2525252525252526p_p_lifecycle%252525252525253D0%2525252525252526_58_redirect%252525252525253D%25252525252525252Fweb%25252525252525252F18%25252525252525252F35 [following]
84--2012-04-02 13:24:56--  http://localhost/web/18/35?p_p_id=58&p_p_lifecycle=0&_58_redirect=%2Fweb%2F18%2F35%3Fp_p_id%3D58%26p_p_lifecycle%3D0%26_58_redirect%3D%252Fweb%252F18%252F35%253Fp_p_id%253D58%2526p_p_lifecycle%253D0%2526_58_redirect%253D%25252Fweb%25252F18%25252F35%25253Fp_p_id%25253D58%252526p_p_lifecycle%25253D0%252526_58_redirect%25253D%2525252Fweb%2525252F18%2525252F35%2525253Fp_p_id%2525253D58%25252526p_p_lifecycle%2525253D0%25252526_58_redirect%2525253D%252525252Fweb%252525252F18%252525252F35%252525253Fp_p_id%252525253D58%2525252526p_p_lifecycle%252525253D0%2525252526_58_redirect%252525253D%25252525252Fweb%25252525252F18%25252525252F35%25252525253Fp_p_id%25252525253D58%252525252526p_p_lifecycle%25252525253D0%252525252526_58_redirect%25252525253D%2525252525252Fweb%2525252525252F18%2525252525252F35%2525252525253Fp_p_id%2525252525253D58%25252525252526p_p_lifecycle%2525252525253D0%25252525252526_58_redirect%2525252525253D%252525252525252Fweb%252525252525252F18%252525252525252F35%252525252525253Fp_p_id%252525252525253D58%2525252525252526p_p_lifecycle%252525252525253D0%2525252525252526_58_redirect%252525252525253D%25252525252525252Fweb%25252525252525252F18%25252525252525252F35
85Connecting to localhost|127.0.0.1|:80... connected.
86HTTP request sent, awaiting response... 302 Moved Temporarily
87Location: http://localhost/c/portal/login?redirect=%2Fweb%2F18%2F35%3Fp_p_id%3D58%26p_p_lifecycle%3D0%26_58_redirect%3D%252Fweb%252F18%252F35%253Fp_p_id%253D58%2526p_p_lifecycle%253D0%2526_58_redirect%253D%25252Fweb%25252F18%25252F35%25253Fp_p_id%25253D58%252526p_p_lifecycle%25253D0%252526_58_redirect%25253D%2525252Fweb%2525252F18%2525252F35%2525253Fp_p_id%2525253D58%25252526p_p_lifecycle%2525253D0%25252526_58_redirect%2525253D%252525252Fweb%252525252F18%252525252F35%252525253Fp_p_id%252525253D58%2525252526p_p_lifecycle%252525253D0%2525252526_58_redirect%252525253D%25252525252Fweb%25252525252F18%25252525252F35%25252525253Fp_p_id%25252525253D58%252525252526p_p_lifecycle%25252525253D0%252525252526_58_redirect%25252525253D%2525252525252Fweb%2525252525252F18%2525252525252F35%2525252525253Fp_p_id%2525252525253D58%25252525252526p_p_lifecycle%2525252525253D0%25252525252526_58_redirect%2525252525253D%252525252525252Fweb%252525252525252F18%252525252525252F35%252525252525253Fp_p_id%252525252525253D58%2525252525252526p_p_lifecycle%252525252525253D0%2525252525252526_58_redirect%252525252525253D%25252525252525252Fweb%25252525252525252F18%25252525252525252F35%25252525252525253Fp_p_id%25252525252525253D58%252525252525252526p_p_lifecycle%25252525252525253D0%252525252525252526_58_redirect%25252525252525253D%2525252525252525252Fweb%2525252525252525252F18%2525252525252525252F35&p_l_id=91370 [following]
8820 redirections exceeded

It had friendly names on the pages which I removed that produced no change to this behavior. Anyone know where it's trying to go and how I can help get it there and break this chain
Linus Sphinx
RE: Endless Redirect Loop After Upgrade 301/302
April 5, 2012 8:38 AM
Answer

Linus Sphinx

Rank: Junior Member

Posts: 84

Join Date: August 12, 2010

Recent Posts

So hacking away setting up eclipse to debug the whole site and I run into a spat of portals in production awaiting assignment, fresh installs no one has even clicked on, about a half dozen or so giving the same message, redirecting in a way that just aint gonna happen, when viewed from a windows vdi term. Stunned I switched browsers and damned if they don't work just fine from IE. Something really strange going on here and it may be firefox.
Peter Svehla
RE: Endless Redirect Loop After Upgrade 301/302
April 6, 2012 9:34 AM
Answer

Peter Svehla

Rank: New Member

Posts: 4

Join Date: March 18, 2012

Recent Posts

Hi Linus,

I was getting the same problem. I have a new install of 6.1 I'm trying to set up, but connected to a db that had been created by 6.0.6.

I was getting exactly the same redirect loop as you, as per wget. Firefox and Chrome were giving me 'too many redirects' errors. IE just complained that it couldn't connect.

Since I didn't care about what was in my db, I dropped all the tables and allowed Liferay recreate them. It seemed to do the trick.

This isn't going to fly for you if you have any love for what's in your db, but it could be a clue.

Peter.
Hitoshi Ozawa
RE: Endless Redirect Loop After Upgrade 301/302
April 7, 2012 5:01 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7952

Join Date: March 23, 2010

Recent Posts

I usually encounter a similar situation when I switch between different versions of Liferay. It seems to be cookies and cache compatibilities between versions.
Changing through several browser such as IE and Chrome and doing a forced refresh usually solves the problem for me. After I'm able to view the page on
one of the browser, I'm able to see the page on other browsers as well.
Linus Sphinx
RE: Endless Redirect Loop After Upgrade 301/302
April 11, 2012 7:46 AM
Answer

Linus Sphinx

Rank: Junior Member

Posts: 84

Join Date: August 12, 2010

Recent Posts

Aye, there's the rub. I have 52 fully populated and very well used portals online since August of 2010, would be a full on mutiny and walking the plank for me to even suggest starting over. I don't think that cookies are my only problem, the wizard never completes, looks for a test/test@liferay.com and speaking of the wizard, de-normalizing configuration data that's already broken in three pieces, (portal-impl.jar, portal-ext.properties and the database), is rarely if ever a good idea. If someone wanted to do that right they would be checking to see if portal-ext.properties exists and help them create one if not.
Linus Sphinx
RE: Endless Redirect Loop After Upgrade 301/302
April 10, 2012 7:08 AM
Answer

Linus Sphinx

Rank: Junior Member

Posts: 84

Join Date: August 12, 2010

Recent Posts

In firefox 3 and 10 both I'll delete the file ~/.mozilla/firefox/<some hash>.default/cookies.sqlite, restart the browser, hit tools->clear recent history->everything->cookies but that only seems to work sometimes, other times it just won't stop redirecting. Never seen anything like it. Using linux only environment does not give too many browser options. Time to try Chrome, thanks for the suggestion.
Linus Sphinx
RE: Endless Redirect Loop After Upgrade 301/302
April 11, 2012 8:38 AM
Answer

Linus Sphinx

Rank: Junior Member

Posts: 84

Join Date: August 12, 2010

Recent Posts

Hah, discovered it's reading and using a portal-setup-wizard.properties in my home directory, I had made a copy there the first time to look at later. Probably where it's getting the test from. Still begs, really begs the question it sees the database connection, knows the configuration from portal-ext.properties, why doesn't it know all the email and user names? It has converted and loaded an entire database of configuration information. What more could it possibly need? Why don't the variables set there match anything else already set? Why shouldn't it just write it out and continue without popping up?

Progress: Now the wizard pops up, completes but going to my portal still breaks into the 302 endless redirects.
Linus Sphinx
RE: Endless Redirect Loop After Upgrade 301/302
April 11, 2012 2:14 PM
Answer

Linus Sphinx

Rank: Junior Member

Posts: 84

Join Date: August 12, 2010

Recent Posts

Following this;
http://www.liferay.com/web/raymond.auge/blog/-/blogs/5952431
I've got loaded and running 6.1.x checked out of SVN, can't see any source to step through outside of a Test.java in classes and a Main.java in test but I'm getting closer.
In the browser I go to http://localhost:8080/Test and voila, no redirection woes whatsoever, just a nicely formatted error page

So the site is working fine, just can't find it's home page with both hands.

zooming in on it....