Forum Problems Installing LAMS: Validation with Moodle 2.3.2


 
You may request notification for Validation with Moodle 2.3.2.
Search: 

1: Validation with Moodle 2.3.2
09/13/12 09:04 AM
[ Reply | Forward ]
I have installed LAMS2 on a 64bit Windows 2008 server and it appears to function OK. I have Moodle in a Virtual Machine using 64bit Ubuntu 12.04 running on the same Windows 2008 box (via VMWare) and Moodle seems OK. When I try to validate in Moodle it fails (see below). I have Java 7 installed on both Windows 2008 and the VM. LAMS is using JBoss on port 8080 on the windows machine and Moodle is using Apache2 on port 80 on the VM. Mysql 5.5.24 is running on the VM. I am nearly there, please help.

java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:409) at org.lamsfoundation.lams.webservice.xml.LessonManagerServlet.doGet(LessonManagerServlet.java:263) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407) 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.lamsfoundation.lams.integration.security.SingleSignOn.invoke(SingleSignOn.java:89) at org.lamsfoundation.lams.integration.security.LoginRequestValve.invoke(LoginRequestValve.java:67) at org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:481) 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:595)

Posted by Steve Squires

2: Re: Validation with Moodle 2.3.2
In response to 1 09/13/12 03:32 PM
[ Reply | Forward ]
Hi Steve,

I assumed you set up the integration configuration on both sides correctly?

At any rate, I tested LAMS 2.4 and Moodle 2.3.2 and I was able to validate and use the integration no probs. See pics:

LAMS settings

Moodle settings




So I think it could be the settings that are not matching?

Thanks,

Ernie

Posted by Ernie Ghiglione

3: Re: Re: Validation with Moodle 2.3.2
In response to 2 09/14/12 03:29 AM
[ Reply | Forward ]
Thank you for such a quick response.

I have used LAMS 2.3.5 not 2.4 but my settings (see below) are the same (unless I've missed something) except that I have installed Moodle into '/www' not '/www/moodle'.

Sorry for typing it all out but I couldn't paste screenshots into this message Body Box.

Any other ideas/observations?

LAMS
User Information URL:
http://192.9.210.197/mod/lamslesson/userinfo.php?ts=%timestamp%&un=%username%&hs=%hash%

External Server URL:
http://192.9.210.197/

Timeout URL:
http://192.9.210.197/


Moodle
LAMS Server URL:
http://192.9.210.196:8080/lams/

Server ID:
moodle

Server Key:
moodle

Moodle Instance Name:
My moodle

Posted by Steve Squires

4: Re: Re: Re: Validation with Moodle 2.3.2
In response to 3 09/23/12 08:14 AM
[ Reply | Forward ]
Hi Steve, sorry for the late reply, I've just saw your message.

See this posting as it might shed some light.

Also, is port 8080 on the LAMS server open for the firewall?

Thanks,

Ernie

Posted by Ernie Ghiglione

5: Re: Re: Re: Re: Validation with Moodle 2.3.2
In response to 4 09/24/12 08:39 AM
[ Reply | Forward ]
Thanks Ernie but I figured it out - it was the tick in the "Disabled" box!

I just didn't see it or maybe my brain ignored it because a tick is a good thing right?

It seems an odd default to have when you are trying to enable something.

Posted by Steve Squires

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