Forum Problems Installing LAMS: Re: Re: Re: Re: Re: Re: Re: Re: Re: Problems logging into LAMS with "sysadmin"


 
Search: 

13: Re: Re: Re: Re: Re: Re: Re: Re: Re: Problems logging into LAMS with "sysadmin"
In response to 12 04/10/08 11:59 PM
[ Reply | Forward ]
Do you get the same if you restart lams?

Posted by Jun-Dir Liew

14: Re: Problems logging into LAMS with "sysadmin"
In response to 13 04/11/08 12:22 AM
[ Reply | Forward ]
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

15: Re: Re: Problems logging into LAMS with "sysadmin"
In response to 14 04/11/08 12:31 AM
[ Reply | Forward ]
Yeah, not sure what's happening there - do you have the logs for the installer? They should be located under lams-unix-installer-2.0.4/log/.

Posted by Jun-Dir Liew

16: Re: Problems logging into LAMS with "sysadmin"
In response to 15 04/11/08 12:33 AM
[ Reply | Forward ]
Here they are ... = ]

Posted by Martyn Yap

17: Re: Re: Problems logging into LAMS with "sysadmin"
In response to 16 04/11/08 12:38 AM
[ Reply | Forward ]
Forgot attachments...?

Posted by Jun-Dir Liew

18: Re: Re: Re: Problems logging into LAMS with "sysadmin"
In response to 17 04/11/08 12:49 AM
[ Reply | Forward ]
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
[ Reply | Forward ]
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
[ Reply | Forward ]
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
[ Reply | Forward ]
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

22: Re: Re: Re: Problems logging into LAMS with "sysadmin"
In response to 21 04/13/08 07:14 PM
[ Reply | Forward ]
Should the top part look like this?

How many slashes should it have?

Posted by Martyn Yap

23: Re: Re: Re: Re: Problems logging into LAMS with "sysadmin"
In response to 22 04/13/08 08:13 PM
[ Reply | Forward ]
The first two lines should look like this:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Authentication PUBLIC "-//LAMS//DTD LAMS//EN" "http://lamsfoundation.org/dtd/lamsauthentication.dtd">

This version points to the lamsfoundation.org website, which should also work.

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
[ Reply | Forward ]
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
[ Reply | Forward ]
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
[ Reply | Forward ]
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

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