[Building Sakai] 2.7.0 with TurnitIn

Bryan Bakotich bakotibj at plu.edu
Fri Jan 14 16:17:20 PST 2011


I am also having this issue running the content-review-impl-base-0.5 tag
with sakai 2.7.x.

Should I be using a different tag/branch of the code or is there a patch
that can be applied to the 0.5 tag to fix this?

-Bryan

On Wed, Jan 12, 2011 at 7:11 PM, Sam Chow <samchow at ln.edu.hk> wrote:

> Dear Steve,
>
> I use this one:
> https://confluence.sakaiproject.org/display/TII/TurnitIn+Content+Review+Service+0.5
>
> is this version too old?
>
> <https://confluence.sakaiproject.org/display/TII/TurnitIn+Content+Review+Service+0.5>
>
> On Thu, Jan 13, 2011 at 10:44 AM, Steve Swinsburg <
> steve.swinsburg at gmail.com> wrote:
>
>> What version Turnitin integration do you have? That method (
>> ContentResource.getContentLength()) changed in the 1.1 Kernel (ie Sakai
>> 2.7) to return a long instead of an int, which is the cause of the
>> incompatibility you see below.
>>
>> regards,
>> Steve
>>
>>
>>
>>
>> On 13/01/2011, at 12:47 PM, Sam Chow wrote:
>>
>> Dear all,
>>
>> I have try to upload assignment after deploy content-review, but it has
>> error occur:
>>
>> 2011-01-13 09:54:53,988  WARN http-8443-Processor8
>> org.sakaiproject.cheftool.VelocityPortletPaneledAction - Exception calling
>> method doRead_add_submission_form
>> java.lang.reflect.InvocationTargetException (Caused by
>> java.lang.NoSuchMethodError:
>> org.sakaiproject.content.api.ContentResource.getContentLength()I)
>> java.lang.reflect.InvocationTargetException
>>         at sun.reflect.GeneratedMethodAccessor672.invoke(Unknown Source)
>>         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:622)
>>         at
>> org.sakaiproject.cheftool.VelocityPortletPaneledAction.processAction(VelocityPortletPaneledAction.java:532)
>>         at
>> org.sakaiproject.cheftool.ToolServlet.doGet(ToolServlet.java:230)
>>         at
>> org.sakaiproject.cheftool.VelocityPortletPaneledAction.doGet(VelocityPortletPaneledAction.java:1029)
>>         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:580)
>>         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:679)
>>         at
>> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
>>         at
>> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:364)
>>         at
>> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
>>         at
>> org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.forward(ActiveToolComponent.java:500)
>>         at
>> org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1216)
>>         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:1059)
>>         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:641)
>>         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:873)
>>         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:619)
>> Caused by: java.lang.NoSuchMethodError:
>> org.sakaiproject.content.api.ContentResource.getContentLength()I
>>         at
>> org.sakaiproject.contentreview.impl.turnitin.TurnitinReviewServiceImpl.isAcceptableContent(TurnitinReviewServiceImpl.java:357)
>>         at
>> org.sakaiproject.assignment.impl.BaseAssignmentService$BaseAssignmentSubmissionEdit.getFirstAcceptableAttachement(BaseAssignmentService.java:10283)
>>         at
>> org.sakaiproject.assignment.impl.BaseAssignmentService$BaseAssignmentSubmissionEdit.postAttachment(BaseAssignmentService.java:10258)
>>         at
>> org.sakaiproject.assignment.tool.AssignmentAction.post_save_submission(AssignmentAction.java:4080)
>>         at
>> org.sakaiproject.assignment.tool.AssignmentAction.doPost_submission(AssignmentAction.java:3870)
>>         at
>> org.sakaiproject.assignment.tool.AssignmentAction.doRead_add_submission_form(AssignmentAction.java:10674)
>>         ... 45 more
>>
>> thanks!
>>
>> On Wed, Jan 12, 2011 at 10:56 PM, Anand Mehta <anand.mehta at yahoo.com>wrote:
>>
>>> Hi Sam,
>>>
>>> You can check the contentreview_item table for any errors. I assume that
>>> both Process Content Review Queue and Process Content Review Reports jobs
>>> are configured correctly.
>>>
>>> Thanks,
>>> Anand
>>>
>>>
>>> ------------------------------
>>> *From:* Adam Marshall <adam.marshall at oucs.ox.ac.uk>
>>> *To:* Sam Chow <samchow at ln.edu.hk>; "sakai-dev at collab.sakaiproject.org"
>>> <sakai-dev at collab.sakaiproject.org>
>>> *Sent:* Wed, January 12, 2011 3:59:25 AM
>>> *Subject:* Re: [Building Sakai] 2.7.0 with TurnitIn
>>>
>>> >From our FAQ:
>>>
>>> No Turnitin report was generated. What could be the reason?
>>>
>>> A: There are a number of restrictions when using Turnitin. The nature of
>>> these restrictions are such that you are unlikely to encounter any of these
>>> in practice; however it is worth being aware of them in case you have any
>>> problems. The scenario when you are most likely to run into them would be
>>> when you are testing Turnitin for yourself with artificial sample data.
>>>
>>>   1. Turnitin distinguishes users on the basis of e-mail address.
>>> Therefore, once an e-mail address has been associated with a particular user
>>> it can not be associated with another one.
>>>   2. The name of the WebLearn site containing the assignment must be
>>> greater than 5 characters.
>>>   3. Document submissions must be over 100 characters in length.
>>>   4. Assignment durations should not be "too" short. For example, you may
>>> well encounter problems with duration of just one day. (For testing
>>> purposes, you will still be able to examine many of the aspects of the
>>> Assignment + Turnitin workflow (such as creation, return and viewing of
>>> originality reports, etc) by setting a duration of 5 - 7 days).
>>>   5. You must choose At tachments only for the type of student
>>> submission.
>>>   6. Turnitin accepts the following file types for submissions - MS Word
>>> (*.doc), ?WordPerfect, RTF, PDF, Postscript, HTML and plain text.
>>>   7. Currently, although re-submission can be enabled in WebLearn, any
>>> re-submitted assignments will not be sent to Turnitin.
>>>
>>> Any help?
>>>
>>> adam
>>> -----Original Message-----
>>> From: sakai-dev-bounces at collab.sakaiproject.org [mailto:
>>> sakai-dev-bounces at collab.sakaiproject.org] On Behalf Of Sam Chow
>>> Sent: 12 January 2011 02:59
>>> To: sakai-dev at collab.sakaiproject.org
>>> Subject: [Building Sakai] 2.7.0 with TurnitIn
>>>
>>>
>>> Dear all,
>>>
>>> I get a turnitin account and wanna integrate with the assignment tools. I
>>> am
>>> success to deploy the content-review and the batch job can run.
>>> Unfortunately, there are always no report return. I check the stats on
>>> the
>>> turnitIn account, dont have any data to view. I think the connection
>>> having
>>> problem to the server, but there are no log to trace. Any idea for me to
>>> trace whats wrong with my integration?
>>>
>>> Many Thanks!
>>>
>>> Best Regards,
>>> Sam Chow
>>>
>>> -----
>>> Best Regards,
>>>
>>> Sam Chow
>>> Research Assistant
>>> Lingnan Unviersity
>>> Hong Kong
>>> --
>>> View this message in context:
>>> http://old.nabble.com/2.7.0-with-TurnitIn-tp30649999p30649999.html
>>> Sent from the Sakai - Development mailing list archive at Nabble.com.
>>>
>>> _______________________________________________
>>> 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"
>>> _______________________________________________
>>> 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"
>>>
>>>
>>
>>
>> --
>> Best Regards,
>> *Sam Chow*
>> Assistant Information Officer (I.T. Support Team)
>> Community College at Lingnan University
>> Tel: 2616 7271
>>
>>  _______________________________________________
>> 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"
>>
>>
>>
>
>
> --
>
> Best Regards,
>
> *Sam Chow*
>
> Assistant Information Officer (I.T. Support Team)
>
> Community College at Lingnan University
>
> Tel: 2616 7271
>
>
> _______________________________________________
> 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"
>



-- 
Bryan Bakotich
Open Source Implementation Specialist
Digital Media Center, Information & Technology Services
Pacific Lutheran University
Tacoma, WA 98447-0013
Phone: 253-536-5021
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110114/430c808e/attachment.html 


More information about the sakai-dev mailing list