|
14:
Re: Problems logging into LAMS with "sysadmin"
|
In response to 13
|
04/11/08 12:22 AM |
|
Yup, do get the same error when i restart LAMS and JBOSS.
After restarting, I managed to get to the login page and enter the uname and pwd but it than directs me to this HTTP500 page.
12:22:25,251 [http-0.0.0.0-8080-3:] DEBUG org.lamsfoundation.lams.security.UniversalLoginModule - ===> authentication type :LAMS
12:22:25,255 [http-0.0.0.0-8080-3:] DEBUG org.lamsfoundation.lams.security.UniversalLoginModule - ===> LAMS:: user:sysadmin:a159b7ae81ba3552af61e9731b20870515944538 authenticated!
12:22:25,256 [http-0.0.0.0-8080-3:] ERROR org.lamsfoundation.lams.web.session.SessionManager - Failed on finding current system session with null sessionId
12:22:25,276 [http-0.0.0.0-8080-3:] DEBUG org.lamsfoundation.lams.security.UniversalLoginModule - ===> exception: java.lang.NullPointerException
Seems to be having a null session id and not matching to the current session id, but I'm unsure where to make changes.
Posted by Martyn Yap
|
|
|
|
|
|
18:
Re: Re: Re: Problems logging into LAMS with "sysadmin"
|
In response to 17
|
04/11/08 12:49 AM |
|
Aplogises .. it seems like its working now ... managed to login successfully, but seem like there another problem accessing the sysadmin function. Thanks for assisting all this while.
Here's the error from the log. = ]
14:34:32,902 INFO [UniversalLoginModule] User 'sysadmin' authenticated, loginOk=true
14:34:32,902 INFO [UniversalLoginModule] commit, loginOk=true
14:34:32,905 INFO [UniversalLoginModule] Assign user to role SYSADMIN
14:34:32,905 INFO [UniversalLoginModule] Found SYSADMIN
14:34:32,905 INFO [UniversalLoginModule] Assign user to role AUTHOR
14:34:33,449 INFO [TilesRequestProcessor] Tiles definition factory found for request processor ''.
14:39:19,482 WARN [RequestUtils] No FormBeanConfig found under 'AuthoringAction'
14:40:06,987 ERROR [SessionManager] Failed on finding current system session with null sessionI
14:40:06,987 ERROR [SessionManager] Failed on finding current system session with null sessionI
14:40:14,004 WARN [UserTag] UserTag unable to access user details as userDTO is missing. SessionImpl@41e72a
Posted by Martyn Yap
|
|
|
19:
Re: Re: Re: Re: Problems logging into LAMS with "sysadmin"
|
In response to 18
|
04/11/08 12:56 AM |
|
The user object containing some info about the logged-in user is missing... are you logged into a Wildfire admin interface by any chance? That can interfere with LAMS' cookies. Try closing the browser and all it's windows and logging in again, starting a fresh new session. If you still get the 'userDTO is missing' message, something deeper must still be wrong.
Posted by Jun-Dir Liew
|
|
|
20:
Re: Problems logging into LAMS with "sysadmin"
|
In response to 19
|
04/11/08 01:12 AM |
|
I did not install Wildfire as I have decided not to have a chat function. Did close all the browser windows and clear its cache.
Now it shows me the HTTP404 error, previous it just open a new window with the same information.
Any chance where I should look at?
15:06:01,114 INFO [UniversalLoginModule] User 'sysadmin' authenticated, loginOk =true
15:06:01,114 INFO [UniversalLoginModule] commit, loginOk=true
15:06:01,116 INFO [UniversalLoginModule] Assign user to role SYSADMIN
15:06:01,116 INFO [UniversalLoginModule] Found SYSADMIN
15:06:01,116 INFO [UniversalLoginModule] Assign user to role AUTHOR
15:06:01,314 INFO [TilesRequestProcessor] Tiles definition factory found for re quest processor ''.
15:06:01,594 WARN [UserTag] UserTag unable to access user details as userDTO is missing. Session is org.lamsfoundation.lams.web.session.SessionManager$SessionI mpl@3d4f04
Posted by Martyn Yap
|
|
|
21:
Re: Re: Problems logging into LAMS with "sysadmin"
|
In response to 20
|
04/11/08 04:50 AM |
|
Just had a closer look at the conf files in 2.0.4, and there's one more thing I think you might not have done - in /path/to/jboss-4.0.2/server/default/conf/lamsauthentication.xml, at the top is another @confdir@ which needs to contain the proper path to lamsauthentication.dtd (should be in the same directory).
Posted by Jun-Dir Liew
|
|
|
|
|
24:
Re: Re: Re: Re: Re: Problems logging into LAMS with "sysadmin"
|
In response to 23
|
04/13/08 08:32 PM |
|
Tried both the ways and the same problem still occurs?
Now it seems that I do not get a HTTP 404 error but the page keeps on refreshing itself.
Thanks! =]
10:31:22,840 WARN [UserTag] UserTag unable to access user details as userDTO is missing. Session is org.lamsfoundation.lams.web.session.SessionManager$SessionImpl@176578
Posted by Martyn Yap
|
|
|
25:
Re: Re: Re: Re: Re: Re: Problems logging into LAMS with "sysadmin"
|
In response to 24
|
04/13/08 09:08 PM |
|
Can you reinstall the installer from scratch? Originally your install had an error where it didn't copy the files across, and we never got to see the logs as to why that happened. Before installing though, remove the current jboss-4.0.2 directory, unzip a new jboss-4.0.2 instance, drop the current lams database, and then run the installer again - if you run into problems, post the installer logs (located under lams-unix-installer-2.0.4/logs).
Posted by Jun-Dir Liew
|
|
|
26:
Re: Problems logging into LAMS with "sysadmin"
|
In response to 25
|
04/14/08 03:00 AM |
|
Hihi,
It works after removing the JBOSS directory and dropping the database. Not sure where it went wrong but sincere thanks for the assistance given.
Now ... I'm going to try to integrate LAMS with Blackboard.
Cheers!
Posted by Martyn Yap
|
|