Forum LAMS for Tech-Heads - General Forum: Re: LAMS2 and Blackboard Integration out!


 
Search: 

3: Re: LAMS2 and Blackboard Integration out!
In response to 1 09/13/07 02:54 AM
[ Reply | Forward ]
Hi,
Thanks for releasing the building block. The installation of the building block went smoothly. All the parameters on both Blackboard and LAMSv2.0.4 were accordingly entered. However, when a LAMS2 activity is to be created for the Course Documents, I received the error message 2 last from below. Checking the lams.log showed the message 1 below. Can you help me to understand what I could have done incorrectly.

rgds,
Norman

Message 1

16:43:10,995 [http-0.0.0.0-80-6:] ERROR org.lamsfoundation.lams.web.session.SessionManager - Failed on finding current system session with null sessionId
16:43:10,995 [http-0.0.0.0-80-6:] ERROR org.lamsfoundation.lams.web.session.SessionManager - Failed on finding current system session with null sessionId


Message 2


Error
null

java.lang.IllegalStateException
at org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFacade.java:432)
at org.apache.jsp.modules.create_jsp._jspService(create_jsp.java:100)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at sun.reflect.GeneratedMethodAccessor189.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
at blackboard.platform.servlet.ContentTypeFilter.doFilter(ContentTypeFilter.java:56)
at sun.reflect.GeneratedMethodAccessor197.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:217)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:197)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
at blackboard.platform.servlet.RequestSessionFilter.handleRequest(RequestSessionFilter.java:314)
at blackboard.platform.servlet.RequestSessionFilter.doFilter(RequestSessionFilter.java:152)
at sun.reflect.GeneratedMethodAccessor196.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:217)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:197)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
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.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)




Thursday, September 13, 2007 4:52:08 PM SGT

Posted by Kiak Nam Norman Kee

4: Re: Re: LAMS2 and Blackboard Integration out!
In response to 3 09/13/07 07:05 PM
[ Reply | Forward ]
Hello Norman

This error could be caused by a number of things. The problem probably has something to do with the calls coming from Blackboard to LAMS. If you could send me the following logs, I might get a better idea what is going wrong

- server.log
- lams.log
- localhost_access_log.[date].log

If you could also sent the blackboard tomcat log that might help.

Are you sure you configured the blackboard server keys and lams server keys correctly? Did you copy the user data callback URL from the LAMS module properties page into the "maintain integrated servers" page in LAMS?

Thankyou,

Luke

Posted by Luke Foxton

6: Re: Re: Re: LAMS2 and Blackboard Integration out!
In response to 4 09/16/07 06:18 PM
[ Reply | Forward ]
Luke, Thanks for replying. The logs are zipped and can be obtained from the URL: http://espportal.sp.edu.sg/log/lams_log.zip

for your checking. I have double checked that the ID, secret key and the return url is the same on the Blackboard 7.3 building block as well as on the integrated server settings on the LAMSv2.04 server and tried again this morning but it failed. The recent log should contain the information.

Posted by Kiak Nam Norman Kee

Attachments:
7: Re: Re: Re: Re: LAMS2 and Blackboard Integration out!
In response to 6 09/16/07 09:21 PM
[ Reply | Forward ]
Hi Norman,

I've had a look at your logs to see if there is anything in particular that could have caused the error.

> Message 1
> ERROR org.lamsfoundation.lams.web.session.SessionManager - Failed on finding current system session with null sessionId

This error does not disable lams in any way, it is common in normal LAMS logs, so you dont have to worry about it.

It seems from the logs that the bb31277 user is not getting authenticated. Have you tried logging in as sysadmin on the LAMS side to see if the user is being created from Blackboard? If its not created on the LAMS side it might narrow the cause of the problem down.

There are a few things that could have caused this problem:
- The integration is disabled on the LAMS side, I assume this isnt the problem.
- Have you had other integrations on the LAMS server you are using?
- The prefix used for the blackboard integration is also used by another integration

Sorry I could not find a difinitive answer yet. Could you also zip up the blackboard/logs directory and send it to me, and hopefully that might shed some light on what is going wrong.

Posted by Luke Foxton

Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum