[Building Sakai] Blackboard

Nonkululeko Phakela Nonkululeko.Phakela at wits.ac.za
Thu Nov 10 01:58:02 PST 2011


Hi Sam,

 

I did make those changes. I am attaching my components.xml file to this email. I still am getting the same exception that I was before. NullPointerException, when I try to upload the zip file that is in ${TOMCAT_HOME}/archive. 

 

Anything else I might be missing??

 

Regards,

Nguni

 

 

 

 

From: Nonkululeko Phakela [mailto:Nonkululeko.Phakela at wits.ac.za] 
Sent: Wednesday, November 09, 2011 5:07 PM
To: Sam Ottenhoff
Cc: sakai-dev at collab.sakaiproject.org
Subject: Re: [Building Sakai] Blackboard

 

Hi Sam, 

 

I will try that and let you know how it goes.

 

Thanks again,

Nguni

 

From: Sam Ottenhoff [mailto:ottenhoff at longsight.com] 
Sent: Wednesday, November 09, 2011 3:59 PM
To: Nonkululeko Phakela
Cc: sakai-dev at collab.sakaiproject.org
Subject: Re: [Building Sakai] Blackboard

 

Comment out any references to CommonCartridge and uncomment any Bb6 references

 

Look for this line:

 

  <!-- <ref bean="org.sakaiproject.importer.api.ImportFileParser-Bb6"/> -->

 

That needs to be uncommented.

 

If you want announcements to import you need to uncomment this:

 

  <!-- <ref bean="org.sakaiproject.importer.impl.handlers.AnnouncementHandler"/> -->

 

If you want assessments to import, you need to uncomment this:

 

  <!-- <ref bean="org.sakaiproject.importer.impl.handlers.SamigoAssessmentHandler"/> -->

 

--Sam

On Wed, Nov 9, 2011 at 1:44 AM, Nonkululeko Phakela <Nonkululeko.Phakela at wits.ac.za> wrote:

Hi Sam,

I just did those two suggestions, and attached is my components.xml file.

I am still getting the same stacktrace:



java.lang.reflect.InvocationTargetException
        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 org.sakaiproject.cheftool.VelocityPortletPaneledAction.actionDispatch(VelocityPortletPaneledAction.java:625)
        at org.sakaiproject.cheftool.VelocityPortletPaneledAction.processAction(VelocityPortletPaneledAction.java:535)
        at org.sakaiproject.cheftool.ToolServlet.doGet(ToolServlet.java:230)
        at org.sakaiproject.cheftool.VelocityPortletPaneledAction.doGet(VelocityPortletPaneledAction.java:1032)
        at org.sakaiproject.cheftool.ToolServlet.doPost(ToolServlet.java:154)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
        at org.sakaiproject.vm.ComponentServlet.service(ComponentServlet.java:56)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:598)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:659)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:457)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:359)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:311)
        at org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.forward(ActiveToolComponent.java:511)
        at org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1429)
        at org.sakaiproject.portal.charon.handlers.ToolHandler.doTool(ToolHandler.java:204)
        at org.sakaiproject.portal.charon.handlers.ToolHandler.doGet(ToolHandler.java:96)
        at org.sakaiproject.portal.charon.handlers.ToolHandler.doPost(ToolHandler.java:73)
        at org.sakaiproject.portal.charon.SkinnableCharonPortal.doPost(SkinnableCharonPortal.java:1224)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:659)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
        at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NullPointerException
        at org.sakaiproject.site.tool.SiteAction.doUpload_Mtrl_Frm_File(SiteAction.java:3281)
        ... 49 more

Regards,
Nguni



-----Original Message-----
From: Sam Ottenhoff [mailto:ottenhoff at longsight.com]

Sent: Tue 11/8/2011 5:22 PM
To: Nonkululeko Phakela
Subject: Re: [Building Sakai] Blackboard

1) Did you delete the sakai-import-anouncement directory?

2) Did you delete the bb6 JARs from shared/lib?

3) Can you send your components.xml?



On Tue, Nov 8, 2011 at 10:15 AM, Nonkululeko Phakela <
Nonkululeko.Phakela at wits.ac.za> wrote:

> **


>
> 1) I moved the sakai-import-announcement JAR
> 2) I moved the sakai-import-bb6-resource-2.8.0.jar into
> import-pack/WEB-INF/lib
> in this folder i notice that i have the import-impl-1.1.2 and 1.1.3, but i
> dont have the import-api, do I need this also??
>
> 3) I have uncommented the bb6 parts in components.xml
>
> 4) I have the zip file in the ${sakai.home}/archive/ folder.
>
>
> This time I did get a stack trace:
>
> 2011-11-08 17:19:13,434  WARN http-8080-Processor19
> org.sakaiproject.cheftool.VelocityPortletPaneledAction - Exception calling
> method doUpload_Mtrl_Frm_File java.lang.reflect.InvocationTargetException
> (Caused by java.lang.NullPointerException)
> java.lang.reflect.InvocationTargetException
>         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
> org.sakaiproject.cheftool.VelocityPortletPaneledAction.actionDispatch(VelocityPortletPaneledAction.java:625)
>         at
> org.sakaiproject.cheftool.VelocityPortletPaneledAction.processAction(VelocityPortletPaneledAction.java:535)
>         at
> org.sakaiproject.cheftool.ToolServlet.doGet(ToolServlet.java:230)
>         at
> org.sakaiproject.cheftool.VelocityPortletPaneledAction.doGet(VelocityPortletPaneledAction.java:1032)
>         at
> org.sakaiproject.cheftool.ToolServlet.doPost(ToolServlet.java:154)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
>         at
> org.sakaiproject.vm.ComponentServlet.service(ComponentServlet.java:56)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>         at
> org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:598)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>         at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:659)
>         at
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:457)
>         at
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:359)
>         at
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:311)
>         at
> org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.forward(ActiveToolComponent.java:511)
>         at
> org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1429)
>         at
> org.sakaiproject.portal.charon.handlers.ToolHandler.doTool(ToolHandler.java:204)
>         at
> org.sakaiproject.portal.charon.handlers.ToolHandler.doGet(ToolHandler.java:96)
>         at
> org.sakaiproject.portal.charon.handlers.ToolHandler.doPost(ToolHandler.java:73)
>         at
> org.sakaiproject.portal.charon.SkinnableCharonPortal.doPost(SkinnableCharonPortal.java:1224)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>         at
> org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:659)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>         at
> org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>         at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>         at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
>         at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>         at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>         at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
>         at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
>         at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
>         at
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
>         at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
>         at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
>         at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
>         at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.NullPointerException
>         at
> org.sakaiproject.site.tool.SiteAction.doUpload_Mtrl_Frm_File(SiteAction.java:3281)
>         ... 49 more
>
>
>
> -----Original Message-----

> From: Sam Ottenhoff [mailto:ottenhoff at longsight.com<ottenhoff at longsight.com>
> ]
> Sent: Tue 11/8/2011 4:40 PM
> To: Nonkululeko Phakela
> Cc: sakai-dev at collab.sakaiproject.org; podai at muohio.edu
> Subject: Re: [Building Sakai] Blackboard
>
> Other items to check:
>
> 1) If you have a sakai-import-announcement JAR in
> components/sakai-anouncement-import (yes, anouncement spelled incorrectly),
> move that JAR into components/import-pack/WEB-INF/lib and then completely
> delete components/sakai-anouncement-import
>
> 2) Make sure that all of your import JARs are in components/import-pack and
> *not* in shared/lib
>
> 3) Edit components/import-pack/WEB-INF/components.xml and uncomment the BB
> parts.  Please post your components.xml if you continue to have issues.
>
> --Sam
>
> On Tue, Nov 8, 2011 at 2:40 AM, Nonkululeko Phakela <
> Nonkululeko.Phakela at wits.ac.za> wrote:
>
> > Hi,****
> >
> > ** **
>
> >
> > I was able to get blackboard_6 to build Successfully. Now, when I go to
> > Site Info and import from archive, I get "Alert: Please choose a valid
> > archive file to import." I choose the .zip file that I exported from
> > Blackboard 8 that we are using. I'm trying to migrate Assessments from
> > Blackboard 8 to Tests & Quizzes in Sakai. ****
> >
> > ** **
> >
> > Do I need to do anything else after building blackboard_6.****
> >
> > ** **
> >
> > Kind Regards,****
> >
> > Nguni****
> >
> > This communication is intended for the addressee only. It is
> confidential. If you have received this communication in error, please
> notify us immediately and destroy the original message. You may not copy or
> disseminate this communication without the permission of the University.
> Only authorized signatories are competent to enter into agreements on
> behalf of the University and recipients are thus advised that the content
> of this message may not be legally binding on the University and may
> contain the personal views and opinions of the author, which are not
> necessarily the views and opinions of The University of the Witwatersrand,
> Johannesburg. All agreements between the University and outsiders are
> subject to South African Law unless the University agrees in writing to the
> contrary.
> >
> >
> > _______________________________________________
> > sakai-dev mailing list
> > sakai-dev at collab.sakaiproject.org
> > http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> >
> > TO UNSUBSCRIBE: send email to
> > sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> > "unsubscribe"
> >
>
>   This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary.
>
>



This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary.

 

This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary.

 


<html><p><font face = "verdana" size = "0.8" color = "navy">This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary.</font></p></html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20111110/1109bdf9/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: components.xml
Type: text/xml
Size: 2249 bytes
Desc: components.xml
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20111110/1109bdf9/attachment.xml 


More information about the sakai-dev mailing list