掲示板

Endless Redirect Loop After Upgrade 301/302

12年前 に Linus Sphinx によって更新されました。

Endless Redirect Loop After Upgrade 301/302

Junior Member 投稿: 99 参加年月日: 10/08/12 最新の投稿
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:


[root@localhost conf]# wget http://localhost
--2012-04-02 13:24:55--  http://localhost/
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://localhost/;jsessionid=33B529FFE5BEA8D0F18D3053BD64344E [following]
--2012-04-02 13:24:55--  http://localhost/;jsessionid=33B529FFE5BEA8D0F18D3053BD64344E
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: /web/18/35 [following]
--2012-04-02 13:24:55--  http://localhost/web/18/35
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://localhost/c/portal/login?redirect=%2Fweb%2F18%2F35&p_l_id=91370 [following]
--2012-04-02 13:24:55--  http://localhost/c/portal/login?redirect=%2Fweb%2F18%2F35&p_l_id=91370
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://localhost/web/18/35?p_p_id=58&p_p_lifecycle=0&_58_redirect=%2Fweb%2F18%2F35 [following]
--2012-04-02 13:24:55--  http://localhost/web/18/35?p_p_id=58&p_p_lifecycle=0&_58_redirect=%2Fweb%2F18%2F35
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: 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]
--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
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: 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]
--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
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: 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]
--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
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: 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]
--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
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: 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]
--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
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: 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]
--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
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: 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]
--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
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: 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]
--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
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: 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]
--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
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: 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]
--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
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: 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]
--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
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: 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]
--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
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: 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]
--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
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: 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]
--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
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: 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]
--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
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: 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]
--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
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: 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]
20 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
12年前 に Linus Sphinx によって更新されました。

RE: Endless Redirect Loop After Upgrade 301/302

Junior Member 投稿: 99 参加年月日: 10/08/12 最新の投稿
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.
thumbnail
12年前 に Peter Svehla によって更新されました。

RE: Endless Redirect Loop After Upgrade 301/302

New Member 投稿: 4 参加年月日: 12/03/19 最新の投稿
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.
12年前 に Linus Sphinx によって更新されました。

RE: Endless Redirect Loop After Upgrade 301/302

Junior Member 投稿: 99 参加年月日: 10/08/12 最新の投稿
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.
thumbnail
12年前 に Hitoshi Ozawa によって更新されました。

RE: Endless Redirect Loop After Upgrade 301/302

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
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.
12年前 に Linus Sphinx によって更新されました。

RE: Endless Redirect Loop After Upgrade 301/302

Junior Member 投稿: 99 参加年月日: 10/08/12 最新の投稿
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.
12年前 に Linus Sphinx によって更新されました。

RE: Endless Redirect Loop After Upgrade 301/302

Junior Member 投稿: 99 参加年月日: 10/08/12 最新の投稿
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.
12年前 に Linus Sphinx によって更新されました。

RE: Endless Redirect Loop After Upgrade 301/302

Junior Member 投稿: 99 参加年月日: 10/08/12 最新の投稿
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....