Thanx a lot for your quick answer and fix.
The new plugin installs fine but there is a bug.
I cannot "Open Lesson" from Moodle (However, "Update this LAMS Lesson" and "Monitor this lesson" works fine).
This is really weird. I'd say that the http request URL that is defined on the LAMS side is not working but then I cannot understand why monitoring or authoring should work.
http://tecfalms.unige.ch/moodle/mod/lamslesson/userinfo.php?ts=%timestamp%&un=%username%&hs=%hash%*rname%&hs=%hash%
In addition, the Moodle debugging shows the following in the LAMS screen:
Notice: Undefined property: stdClass::$displaydesign in /data/portails/moodle/moodle/mod/lamslesson/view.php on line 86
- greetings ! Daniel
Some info from the log file below:
---------------------------
2016-05-20 18:46:56,553 [http-0.0.0.0-8080-4:] ERROR org.lamsfoundation.lams.web.LoginRequestServlet - Authentication error:
org.lamsfoundation.lams.integration.security.AuthenticationException: Authentication failed!
at org.lamsfoundation.lams.integration.security.Authenticator.checkHash(Authenticator.java:64)Etat HTTP 401 - Login Failed - authentication error
type Rapport d'�tat
message Login Failed - authentication error
description La requ�te n�cessite une authentification HTTP (Login Failed - authentication error).
JBoss Web/2.1.3.GA
at org.lamsfoundation.lams.integration.security.Authenticator.authenticate(Authenticator.java:45)
at org.lamsfoundation.lams.web.LoginRequestServlet.doGet(LoginRequestServlet.java:148)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.lamsfoundation.lams.integration.security.SingleSignOn.invoke(SingleSignOn.java:91)
at org.lamsfoundation.lams.integration.security.LoginRequestValve.invoke(LoginRequestValve.java:71)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:662)
2016-05-20 18:46:56,554 [http-0.0.0.0-8080-4:] INFO org.lamsfoundation.lams.integration.security.LoginRequestValve - There are 0 headers in the response
2016-05-20 18:46:56,554 [http-0.0.0.0-8080-4:] INFO org.lamsfoundation.lams.integration.security.LoginRequestValve - LOGIN REQUEST DETECTED - BUT NO LOGIN IS CARRIED OUT
2016-05-20 18:49:46,135 [http-0.0.0.0-8080-4:] INFO org.lamsfoundation.lams.integration.security.LoginRequestValve - There are 1 headers in the response
2016-05-20 18:49:46,135 [http-0.0.0.0-8080-4:] INFO org.lamsfoundation.lams.integration.security.LoginRequestValve - Location = http://tecfalms.unige.ch:8080/lams/j_security_check?j_username=mdl_admin&j_password=c5235b8ba4c1fbf75e3e16d07c06f6d2dd9ee406
2016-05-20 18:49:46,151 [http-0.0.0.0-8080-4:] INFO org.lamsfoundation.lams.integration.security.LoginRequestValve - LOGIN REQUEST DETECTED - LOGIN SUCCESSFUL
2016-05-20 18:49:46,151 [http-0.0.0.0-8080-4:] INFO org.lamsfoundation.lams.integration.security.LoginRequestValve - character encoding of the request - null
2016-05-20 18:49:46,151 [http-0.0.0.0-8080-4:] INFO org.lamsfoundation.lams.integration.security.LoginRequestValve - Redirect URL - /lams/home.do?method=monitorLesson&lessonID=2211
The Jboss screen looks like this:
Etat HTTP 401 - Login Failed - authentication error
type Rapport d'�tat
message Login Failed - authentication error
description La requ�te n�cessite une authentification HTTP (Login Failed - authentication error).
JBoss Web/2.1.3.GA
Posted by Daniel Schneider