|
3:
Re: Re: Problems logging into LAMS with "sysadmin"
|
In response to 2
|
04/10/08 08:49 PM |
|
Yup, you're right. There is no 'lams' text located in the file.
However, I did try to reinstall previously and the same
problems occured. Extracted the lams package and changed the lams.properties before running ./install-lams.sh
After which I change the JBOSS to allow more memory.
Is there any specific things I should take note during the installation? (e.g. JBOSS or extracting the lams package)
Posted by Martyn Yap
|
|
|
4:
Re: Re: Re: Problems logging into LAMS with "sysadmin"
|
In response to 3
|
04/10/08 09:07 PM |
|
You can bring up the login page, so you're halfway there.
Are there any logs in the lams-unix-installer-2.0.4/log directory? Any errors in the installer output? Any other errors in the lams logs (server.log, lams.log)?
You could fix the particular problem you're having by doing something like,
cd lams-unix-installer-2.0.4/conf/unix/jboss
cp *.xml /path/to/jboss-4.0.2/server/default/conf
but we don't know what else might have failed during the install...
Posted by Jun-Dir Liew
|
|
|
5:
Re: Re: Re: Re: Problems logging into LAMS with "sysadmin"
|
In response to 4
|
04/10/08 09:45 PM |
|
I did managed to get to the login screen. There is no errors during from the log files.
Could it be the locale issue? I don't remember changing anything on that.
Many Thanks...= ]
--START
Tried your method and seems to resolved the above issue but now there's another one.
11:16:29,699 DEBUG [JspRedirectStrategy] ===>LOGIN PAGE: there is no auth obj in session or accessing login page before login succeed, auth obj created. session id: C4675EF35D22A4BA8C63332E5977141D
11:16:29,705 ERROR [SessionManager] Failed on finding current system session wit h null sessionId
11:16:29,706 DEBUG [LocaleFilter] Locale set from server is en,AU
11:16:29,719 DEBUG [JspRedirectStrategy] Set locale information for login page:e n_US
11:16:29,751 ERROR [SessionManager] Failed on finding current system session wit h null sessionId
11:16:29,811 DEBUG [SessionManager] ==>Couldn't find the sso cookie
11:16:29,825 DEBUG [SessionManager] ==>Created one - ff808081193b791201193b7bf60 10049
11:16:29,826 DEBUG [SessionManager] SessionManager: cookie is null, generating a new session
11:16:29,830 DEBUG [SessionManager] SessionManager: creating new session ff80808 1193b791201193b7bf602004a
11:16:36,099 INFO [UniversalLoginModule] initialize
11:16:36,101 INFO [UniversalLoginModule] login
11:16:36,102 DEBUG [UniversalLoginModule] ===> validatePassword() called: a159b7 ae81ba3552af61e9731b20870515944538 :
11:16:36,471 DEBUG [UniversalLoginModule] ===> authenticating user: sysadmin
11:16:36,473 DEBUG [UniversalLoginModule] ===>Exception : java.io.FileNotFoundEx ception: @confdir@/lamsauthentication.xml (No such file or directory)
11:16:36,473 DEBUG [UniversalLoginModule] Bad password for username=sysadmin
11:16:36,474 INFO [UniversalLoginModule] abort
11:16:36,475 DEBUG [JspRedirectStrategy] ===>LOGIN PAGE: there is no auth obj in session or accessing login page before login succeed, auth obj created. session id: C4675EF35D22A4BA8C63332E5977141D
11:16:36,475 ERROR [SessionManager] Failed on finding current system session wit h null sessionId
11:16:36,475 DEBUG [LocaleFilter] Locale set from server is en,AU
11:16:36,476 DEBUG [JspRedirectStrategy] Set locale information for login page:e n_US
11:16:36,476 ERROR [SessionManager] Failed on finding current system session wit h null sessionId
11:16:36,478 DEBUG [SessionManager] ==>Couldn't find the sso cookie
11:16:36,478 DEBUG [SessionManager] ==>Created one - ff808081193b791201193b7c0ff e004b
11:16:36,478 DEBUG [SessionManager] SessionManager: cookie is null, generating a new session
11:16:36,478 DEBUG [SessionManager] SessionManager: creating new session ff80808 1193b791201193b7c0ffe004c
11:19:21,467 INFO [UniversalLoginModule] initialize
11:19:21,467 INFO [UniversalLoginModule] login
11:19:21,467 DEBUG [UniversalLoginModule] ===> validatePassword() called: a159b7ae81ba3552af61e9731b20870515944538 :
11:19:21,481 DEBUG [UniversalLoginModule] ===> authenticating user: sysadmin
11:19:21,482 DEBUG [UniversalLoginModule] ===>Exception : java.io.FileNotFoundException: @confdir@/lamsauthentication.xml (No such file or directory)
11:19:21,482 DEBUG [UniversalLoginModule] Bad password for username=sysadmin
11:19:21,482 INFO [UniversalLoginModule] abort
11:19:21,483 DEBUG [JspRedirectStrategy] ===>LOGIN PAGE: there is no auth obj in session or accessing login page before login succeed, auth obj created. session id: C4675EF35D22A4BA8C63332E5977141D
11:19:21,483 ERROR [SessionManager] Failed on finding current system session with null sessionId
11:19:21,483 DEBUG [LocaleFilter] Locale set from server is en,AU
11:19:21,484 DEBUG [JspRedirectStrategy] Set locale information for login page:en_US
11:19:21,484 ERROR [SessionManager] Failed on finding current system session with null sessionId
11:19:21,490 DEBUG [SessionManager] ==>Couldn't find the sso cookie
11:19:21,490 DEBUG [SessionManager] ==>Created one - ff808081193b791201193b7e9492004d
11:19:21,490 DEBUG [SessionManager] SessionManager: cookie is null, generating a new session
11:19:21,490 DEBUG [SessionManager] SessionManager: creating new session ff808081193b791201193b7e9492004e
11:16:29,699 DEBUG [JspRedirectStrategy] ===>LOGIN PAGE: there is no auth obj in session or accessing login page before login succeed, auth obj created. session id: C4675EF35D22A4BA8C63332E5977141D
11:16:29,705 ERROR [SessionManager] Failed on finding current system session wit h null sessionId
11:16:29,706 DEBUG [LocaleFilter] Locale set from server is en,AU
11:16:29,719 DEBUG [JspRedirectStrategy] Set locale information for login page:e n_US
11:16:29,751 ERROR [SessionManager] Failed on finding current system session wit h null sessionId
11:16:29,811 DEBUG [SessionManager] ==>Couldn't find the sso cookie
11:16:29,825 DEBUG [SessionManager] ==>Created one - ff808081193b791201193b7bf60 10049
11:16:29,826 DEBUG [SessionManager] SessionManager: cookie is null, generating a new session
11:16:29,830 DEBUG [SessionManager] SessionManager: creating new session ff80808 1193b791201193b7bf602004a
11:16:36,099 INFO [UniversalLoginModule] initialize
11:16:36,101 INFO [UniversalLoginModule] login
11:16:36,102 DEBUG [UniversalLoginModule] ===> validatePassword() called: a159b7 ae81ba3552af61e9731b20870515944538 :
11:16:36,471 DEBUG [UniversalLoginModule] ===> authenticating user: sysadmin
11:16:36,473 DEBUG [UniversalLoginModule] ===>Exception : java.io.FileNotFoundEx ception: @confdir@/lamsauthentication.xml (No such file or directory)
--END--
Posted by Martyn Yap
|
|
|
6:
Re: Re: Re: Re: Problems logging into LAMS with "sysadmin"
|
In response to 4
|
04/10/08 09:53 PM |
|
Yup, managed to get to the login page. There are no errors found in the installation logs. Seems ok there.
Tried your method and restart JBOSS and LAMS. Seems to have resolved the issue but another file (lamsauthentication.xml) is missing.
Getting closer. = ]
--START--
11:16:29,699 [http-0.0.0.0-8080-2:] DEBUG org.lamsfoundation.lams.security.JspRedirectStrategy - ===>LOGIN PAGE: there is no auth obj in session or accessing login page before login succeed, auth obj created. session id: C4675EF35D22A4BA8C63332E5977141D
11:16:29,705 [http-0.0.0.0-8080-2:] ERROR org.lamsfoundation.lams.web.session.SessionManager - Failed on finding current system session with null sessionId
11:16:29,706 [http-0.0.0.0-8080-2:] DEBUG org.lamsfoundation.lams.web.filter.LocaleFilter - Locale set from server is en,AU
11:16:29,719 [http-0.0.0.0-8080-2:] DEBUG org.lamsfoundation.lams.security.JspRedirectStrategy - Set locale information for login page:en_US
11:16:29,751 [http-0.0.0.0-8080-2:] ERROR org.lamsfoundation.lams.web.session.SessionManager - Failed on finding current system session with null sessionId
11:16:29,811 [http-0.0.0.0-8080-4:] DEBUG org.lamsfoundation.lams.web.session.SessionManager - ==>Couldn't find the sso cookie
11:16:29,825 [http-0.0.0.0-8080-4:] DEBUG org.lamsfoundation.lams.web.session.SessionManager - ==>Created one - ff808081193b791201193b7bf6010049
11:16:29,826 [http-0.0.0.0-8080-4:] DEBUG org.lamsfoundation.lams.web.session.SessionManager - SessionManager: cookie is null, generating a new session
11:16:29,830 [http-0.0.0.0-8080-4:] DEBUG org.lamsfoundation.lams.web.session.SessionManager - SessionManager: creating new session ff808081193b791201193b7bf602004a
11:16:36,099 [http-0.0.0.0-8080-2:] INFO org.lamsfoundation.lams.security.UniversalLoginModule - initialize
11:16:36,101 [http-0.0.0.0-8080-2:] INFO org.lamsfoundation.lams.security.UniversalLoginModule - login
11:16:36,102 [http-0.0.0.0-8080-2:] DEBUG org.lamsfoundation.lams.security.UniversalLoginModule - ===> validatePassword() called: a159b7ae81ba3552af61e9731b20870515944538 :
11:16:36,471 [http-0.0.0.0-8080-2:] DEBUG org.lamsfoundation.lams.security.UniversalLoginModule - ===> authenticating user: sysadmin
11:16:36,473 [http-0.0.0.0-8080-2:] DEBUG org.lamsfoundation.lams.security.UniversalLoginModule - ===>Exception : java.io.FileNotFoundException: @confdir@/lamsauthentication.xml (No such file or directory)
11:16:36,473 [http-0.0.0.0-8080-2:] DEBUG org.lamsfoundation.lams.security.UniversalLoginModule - Bad password for username=sysadmin
11:16:36,474 [http-0.0.0.0-8080-2:] INFO org.lamsfoundation.lams.security.UniversalLoginModule - abort
--END--
Posted by Martyn Yap
|
|
|
|
8:
Re: Re: Re: Re: Re: Re: Problems logging into LAMS with "sysadmin"
|
In response to 7
|
04/10/08 10:16 PM |
|
Is the file be located at the jboss4.0.2/server/default/conf/ ???
11:49:21,674 INFO [UniversalLoginModule] initialize
11:49:21,675 INFO [UniversalLoginModule] login
11:49:21,676 DEBUG [UniversalLoginModule] ===> validatePassword() called: a159b7ae81ba3552af61e9 731b20870515944538 :
11:49:22,036 DEBUG [UniversalLoginModule] ===> authenticating user: sysadmin
11:49:22,038 DEBUG [UniversalLoginModule] ===>Exception : java.io.FileNotFoundException: @confdi r@/lamsauthentication.xml (No such file or directory)
11:49:22,038 DEBUG [UniversalLoginModule] Bad password for username=sysadmin
11:49:22,039 INFO [UniversalLoginModule] abort
11:49:22,041 DEBUG [JspRedirectStrategy] ===>LOGIN PAGE: there is no auth obj in session or acce ssing login page before login succeed, auth obj created. session id: C4675EF35D22A4BA8C63332E597 7141D
Posted by Martyn Yap
|
|
|
|
|
10:
Re: Re: Re: Re: Re: Re: Re: Problems logging into LAMS with "sysadmin"
|
In response to 8
|
04/10/08 10:45 PM |
|
Actually, you might also be missing the lamsauthentication.xml and lamsauthentication.dtd files - these are located in lams-unix-installer-2.0.4/conf/unix/authentication, and they go in jboss/server/default/conf/ as well.
Can you do the following - it'll run the section of the installer that copies the conf files for jboss (there are others I haven't mentioned):
cd lams-unix-installer-2.0.4
ant/bin/ant -buildfile ant-scripts/configure-deploy.xml copy-conf
Posted by Jun-Dir Liew
|
|
|
12:
Re: Re: Re: Re: Re: Re: Re: Re: Problems logging into LAMS with "sysadmin"
|
In response to 10
|
04/10/08 11:26 PM |
|
Yup, done that and I managed to login but it displays the HTTP500 error page instead.
Should I proceed to do a reinstall? Can't figure out what could be the problem here.
Cheers! = ]
--START SCREENDUMP AFTER LOGIN--
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:370)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.lamsfoundation.lams.web.filter.LocaleFilter.doFilterInternal(LocaleFilter.java:151)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
org.lamsfoundation.lams.web.session.SystemSessionFilter.doFilter(SystemSessionFilter.java:71)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
root cause
java.lang.NullPointerException
org.apache.jasper.compiler.Localizer.getMessage(Localizer.java:56)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:565)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.lamsfoundation.lams.web.filter.LocaleFilter.doFilterInternal(LocaleFilter.java:151)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
org.lamsfoundation.lams.web.session.SystemSessionFilter.doFilter(SystemSessionFilter.java:71)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs.
--END SCREENDUMP AFTER LOGIN--
--START LAMS.LOG--
12:22:16,337 [http-0.0.0.0-8080-1:] DEBUG org.lamsfoundation.lams.security.JspRedirectStrategy - ===>LOGIN PAGE: there is no auth obj in session or accessing login page before login succeed, auth obj created. session id: C4675EF35D22A4BA8C63332E5977141D
12:22:16,343 [http-0.0.0.0-8080-1:] ERROR org.lamsfoundation.lams.web.session.SessionManager - Failed on finding current system session with null sessionId
12:22:16,344 [http-0.0.0.0-8080-1:] DEBUG org.lamsfoundation.lams.web.filter.LocaleFilter - Locale set from server is en,AU
12:22:16,357 [http-0.0.0.0-8080-1:] DEBUG org.lamsfoundation.lams.security.JspRedirectStrategy - Set locale information for login page:en_US
12:22:16,392 [http-0.0.0.0-8080-1:] ERROR org.lamsfoundation.lams.web.session.SessionManager - Failed on finding current system session with null sessionId
12:22:16,484 [http-0.0.0.0-8080-2:] DEBUG org.lamsfoundation.lams.web.session.SessionManager - ==>Couldn't find the sso cookie
12:22:16,493 [http-0.0.0.0-8080-2:] DEBUG org.lamsfoundation.lams.web.session.SessionManager - ==>Created one - ff808081193bb64c01193bb82ea60049
12:22:16,493 [http-0.0.0.0-8080-2:] DEBUG org.lamsfoundation.lams.web.session.SessionManager - SessionManager: cookie is null, generating a new session
12:22:16,503 [http-0.0.0.0-8080-2:] DEBUG org.lamsfoundation.lams.web.session.SessionManager - SessionManager: creating new session ff808081193bb64c01193bb82ead004a
12:22:17,601 [http-0.0.0.0-8080-1:] DEBUG org.lamsfoundation.lams.security.JspRedirectStrategy - ===>LOGIN PAGE: there is no auth obj in session or accessing login page before login succeed, auth obj created. session id: C4675EF35D22A4BA8C63332E5977141D
12:22:19,024 [http-0.0.0.0-8080-1:] ERROR org.lamsfoundation.lams.web.session.SessionManager - Failed on finding current system session with null sessionId
12:22:19,024 [http-0.0.0.0-8080-1:] DEBUG org.lamsfoundation.lams.web.filter.LocaleFilter - Locale set from server is en,AU
12:22:19,024 [http-0.0.0.0-8080-1:] DEBUG org.lamsfoundation.lams.security.JspRedirectStrategy - Set locale information for login page:en_US
12:22:19,025 [http-0.0.0.0-8080-1:] ERROR org.lamsfoundation.lams.web.session.SessionManager - Failed on finding current system session with null sessionId
12:22:19,026 [http-0.0.0.0-8080-2:] DEBUG org.lamsfoundation.lams.web.session.SessionManager - ==>Couldn't find the sso cookie
12:22:19,026 [http-0.0.0.0-8080-2:] DEBUG org.lamsfoundation.lams.web.session.SessionManager - ==>Created one - ff808081193bb64c01193bb83892004b
12:22:19,026 [http-0.0.0.0-8080-2:] DEBUG org.lamsfoundation.lams.web.session.SessionManager - SessionManager: cookie is null, generating a new session
12:22:19,026 [http-0.0.0.0-8080-2:] DEBUG org.lamsfoundation.lams.web.session.SessionManager - SessionManager: creating new session ff808081193bb64c01193bb83892004c
12:22:24,232 [http-0.0.0.0-8080-3:] INFO org.lamsfoundation.lams.security.UniversalLoginModule - initialize
12:22:24,234 [http-0.0.0.0-8080-3:] INFO org.lamsfoundation.lams.security.UniversalLoginModule - login
12:22:24,235 [http-0.0.0.0-8080-3:] DEBUG org.lamsfoundation.lams.security.UniversalLoginModule - ===> validatePassword() called: a159b7ae81ba3552af61e9731b20870515944538 :
12:22:25,246 [http-0.0.0.0-8080-3:] DEBUG org.lamsfoundation.lams.security.UniversalLoginModule - ===> authenticating user: sysadmin
12:22:25,251 [http-0.0.0.0-8080-3:] DEBUG org.lamsfoundation.lams.security.UniversalLoginModule - ===>dsJndiName = java:/jdbc/lams-ds
12:22:25,251 [http-0.0.0.0-8080-3:] DEBUG org.lamsfoundation.lams.security.UniversalLoginModule - ===>principalsQuery = select password from lams_user where login=?
12:22:25,251 [http-0.0.0.0-8080-3:] DEBUG org.lamsfoundation.lams.security.UniversalLoginModule - ===>rolesQuery =
SELECT DISTINCT r.name,'Roles' FROM
lams_user u LEFT OUTER JOIN lams_user_organisation uo USING(user_id)
LEFT OUTER JOIN lams_user_organisation_role urr USING(user_organisation_id)
LEFT OUTER JOIN lams_role r USING (role_id)
WHERE u.login=?
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
java.lang.NullPointerException
at org.lamsfoundation.lams.security.UniversalLoginModule.validatePassword(UniversalLoginModule.java:185)
at org.lamsfoundation.lams.security.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:151)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:483)
at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:425)
at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:251)
at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.authenticate(JBossSecurityMgrRealm.java:230)
at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:256)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:391)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:619)
--END LAMS.LOG--
Posted by Martyn Yap
|
|
|
|
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
|
|