Forum Problems Installing LAMS: Re: Sakai - Lams integration Create problem


 
Search: 

22: Re: Sakai - Lams integration Create problem
In response to 1 01/10/06 06:43 AM
[ Reply | Forward ]
Ok I've now got some sensible debug,

12:32:50,369 ERROR [STDERR] LoginRequestValve invoked
12:32:50,370 ERROR [STDERR] Request URI is //lams/LoginRequest
12:32:50,610 ERROR [STDERR] After invoke Next
12:32:50,610 ERROR [STDERR] Status is 302:null
12:32:50,611 ERROR [STDERR] Cookie:JSESSIONID::ED8494080BF8F1165A3C1727E7EBEB73
12:32:50,614 ERROR [STDERR] Header:Set-Cookie
12:32:50,614 ERROR [STDERR] Value:0:JSESSIONID=ED8494080BF8F1165A3C1727E7EBEB73; Path=/lams
12:32:50,615 ERROR [STDERR] Header:Location
12:32:50,615 ERROR [STDERR] Value:0:http://bort.caret.local:8280/lams/j_security_check?j_username=sakai_admin&j_password=b705004d38a3c1d30dd7b8d2f797645b
12:32:50,615 ERROR [STDERR] LoginRequest requested
12:32:50,617 ERROR [STDERR] header=Location=http://bort.caret.local:8280/lams/j_security_check?j_username=sakai_admin&j_password=b705004d38a3c1d30dd7b8d2f797645b
12:32:50,623 ERROR [STDERR] LOGIN REQUEST DETECTED - LOGIN SUCCESSFUL
12:32:50,629 ERROR [STDERR] Set Note with reuquestURI as /lams/home.do?method=author
12:32:50,665 ERROR [STDERR] LoginRequestValve invoked
12:32:50,666 ERROR [STDERR] Request URI is /lams/j_security_check
12:32:50,748 ERROR [STDERR] After invoke Next
12:32:50,749 ERROR [STDERR] Status is 400:Invalid direct reference to form login page
12:32:50,749 ERROR [STDERR] Cookie:JSESSIONID::9AAC4FF0AAE67C4FD3171644C62368FF
12:32:50,749 ERROR [STDERR] Header:Set-Cookie
12:32:50,749 ERROR [STDERR] Value:0:JSESSIONID=9AAC4FF0AAE67C4FD3171644C62368FF; Path=/lams
12:32:50,750 ERROR [STDERR] Header:Content-Type
12:32:50,750 ERROR [STDERR] Value:0:text/html;charset=ISO-8859-1
12:32:50,750 ERROR [STDERR] Header:Content-Language
12:32:50,750 ERROR [STDERR] Value:0:en-US
12:32:50,750 ERROR [STDERR] Header:Transfer-Encoding
12:32:50,751 ERROR [STDERR] Value:0:chunked
12:32:50,751 ERROR [STDERR] Header:Date
12:32:50,751 ERROR [STDERR] Value:0:Tue, 10 Jan 2006 12:32:50 GMT
12:32:50,751 ERROR [STDERR] Header:Server
12:32:50,752 ERROR [STDERR] Value:0:Apache Coyote/1.0


It looks like my installation of tomcat is ignoring the note that you have set as after the redirect I am getting a new session.

The JSESSIONID is differnt on the first request and redirect so the Note is never picked up, hence Tomcat correctly thinks that the request is invalid.

This is using Safari on OSX. and before you ask, it works perfectly with every other Tomcat application that uses sessions,


I will check with Firefox to see what happens, just in case its an issue with the browser.

Posted by Ian Boston

Reply to first post on this page
Back to Problems Installing LAMS