[Building Sakai] Sakai 2.7.1, Assignments 2 and TII integration

Bryan Holladay holladay at longsight.com
Mon Aug 15 12:03:32 PDT 2011


the properties look good... did you run the A2
script: prepare_for_sakai_env.sh?

On Mon, Aug 15, 2011 at 2:53 PM, Boyd, Amy E <amyboyd at txstate.edu> wrote:

> Here are my sakai.properties settings:****
>
> ** **
>
> turnitin.enable.assignment2=true****
>
> turnitin.apiURL=https://www.turnitin.com/api.asp?****
>
> turnitin.aid=[our subaccount id]****
>
> turnitin.secretKey=[our secret key for the subaccount id set in the TII
> site dashboard]****
>
> turnitin.useSourceParameter=true****
>
> assignment.useContentReview=true****
>
> ** **
>
> ** **
>
> I have enabled “Sakai with Assignments 2” in the dashboard, I did not see
> anything version specific for 2.9.2, etc…****
>
> ** **
>
> ** **
>
> ** **
>
> *From:* Bryan Holladay [mailto:holladay at longsight.com]
> *Sent:* Monday, August 15, 2011 1:36 PM
>
> *To:* Boyd, Amy E
> *Cc:* sakai-dev at collab.sakaiproject.org
> *Subject:* Re: [Building Sakai] Sakai 2.7.1, Assignments 2 and TII
> integration****
>
> ** **
>
> What are your properties?  (obviously don't send any account id's or
> secrets)****
>
> ** **
>
> do you have:****
>
> ** **
>
> assignment.useContentReview=true****
>
> turnitin.enable.assignment2=true****
>
> turnitin.apiURL=https://www.turnitin.com/api.asp?****
>
> turnitin.useSourceParameter=true****
>
> ** **
>
> as well as set****
>
> turnitin.aid=#(*SUB*account Id)****
>
> ** **
>
> and make sure your account has the Sakai 2.9.2 Assignments API option
> checked.****
>
> ** **
>
> -Bryan****
>
> On Mon, Aug 15, 2011 at 2:31 PM, Boyd, Amy E <amyboyd at txstate.edu> wrote:*
> ***
>
> David /Bryan****
>
>  ****
>
> I upgraded to both of those versions and it got rid of the errors I was
> having.  Everything builds again, and when I create a new assignment in
> Assignments2, there are no errors in catalina.out, but the tool shows the
> following message:****
>
>  ****
>
> “The Assignment was saved, however, we were unable to save the Turnitin
> settings. please contact the help desk.”****
>
>  ****
>
> I’m not seeing any errors anywhere in the logs.  I checked the database to
> make sure the tables were there, and they are all there****
>
> CONTENTREVIEW_ITEM****
>
> CONTENTREVIEW_LOCK****
>
> CONTENTREVIEW_SYNC_ITEM****
>
>  ****
>
> With the tables there, and no errors in the log, I’m not sure why I’d be
> getting that message.   Everything seems like it’s in place and
> functioning.  Any ideas?****
>
>  ****
>
> Much thanks again…  I’ve been pulling my hair out over this!****
>
>  ****
>
>  ****
>
>  ****
>
> *From:* sakai-dev-bounces at collab.sakaiproject.org [mailto:
> sakai-dev-bounces at collab.sakaiproject.org] *On Behalf Of *David Horwitz
> *Sent:* Monday, August 15, 2011 12:36 PM
> *To:* sakai-dev at collab.sakaiproject.org****
>
>
> *Subject:* Re: [Building Sakai] Sakai 2.7.1, Assignments 2 and TII
> integration****
>
>  ****
>
> Hi Amy,
>
> I would update the version of the content-review api to the latest released
> version (2.9.1) - make sure this is deployed to shared/lib/
>
> I would also use the 0.7 tag (
> https://source.sakaiproject.org/contrib/turnitin/tags/content-review-0.7/)
> of turnitin - this is what UCT & IU are running. The 0.6 tag is now a bit
> old.
>
> Regards
>
> David Horwitz
>
>
> On 08/15/2011 07:01 PM, Boyd, Amy E wrote: ****
>
> Bryan –****
>
>  ****
>
> Thank you.  I did remove the jar files from tomcat, and I forgot to
> properly update the pom.xml file under the impl directory to properly list
> the new version.  After doing so – a clean tomcat, fresh checkout (I used
> branches/contentreview-2.9.x now instead of the 2.9.0 tag) and trying it all
> over again, I no longer have the previous error, but I do have a new one.
> Any idea what could cause this:****
>
>  ****
>
> [ERROR] BUILD FAILURE****
>
> [INFO]
> ------------------------------------------------------------------------**
> **
>
> [INFO] Compilation failure****
>
> /Users/aboyd/dev/hg_tracs/hg_tracs_clone/src/content-review/turnitin/impl/src/java/org/sakaiproject/contentreview/impl/turnitin/TurnitinReviewServiceImpl.java:[101,7]
> org.sakaiproject.contentreview.impl.turnitin.TurnitinReviewServiceImpl is
> not abstract and does not override abstract method
> getLocalizedStatusMessage(java.lang.String,java.util.Locale) in
> org.sakaiproject.contentreview.service.ContentReviewService****
>
>  ****
>
> Again, any help is appreciated.  This is the first build failure I’ve
> received.  Maybe a problem between the 2.9.x branch and TII 0.6?  ****
>
>  ****
>
>  ****
>
> *From:* Bryan Holladay [mailto:holladay at longsight.com<holladay at longsight.com>]
>
> *Sent:* Monday, August 15, 2011 11:08 AM
> *To:* Boyd, Amy E
> *Cc:* sakai-dev at collab.sakaiproject.org
> *Subject:* Re: [Building Sakai] Sakai 2.7.1, Assignments 2 and TII
> integration****
>
>  ****
>
> First, I'd check for duplicate jars... or just start from scratch:****
>
>  ****
>
> rm -rvf components/sakai-content-review-pack/
> rm -rvf shared/lib/contentreview-*
> rm -rvf shared/lib/sakai-contentreview*
> rm -rvf webapps/sakai-contentreview-tool*****
>
>  ****
>
> Then make sure you are using 2.9.x (like you said you were above) inside
> the content review****
>
>  ****
>
>
> https://source.sakaiproject.org/svn/content-review/branches/contentreview-2.9.x/
> ****
>
>  ****
>
> then checkout the correct TII and update the pom:****
>
>  ****
>
> contentreview-impl/pom.xml****
>
>  ****
>
> <dependency>
> <groupId>org.sakaiproject.contentreview</groupId>
> <artifactId>contentreview-model-api</artifactId>
> - <version>2.8.1-SNAPSHOT</version>
> + <version>2.9.2-SNAPSHOT</version>
> <scope>provided</scope>
> </dependency>
> <dependency>
> @@ -68,7 +68,7 @@
> <dependency>
> <groupId>org.sakaiproject.contentreview</groupId>
> <artifactId>contentreview-service-api</artifactId>
> - <version>2.8.1-SNAPSHOT</version><!--turnitin.version-->
> + <version>2.9.2-SNAPSHOT</version><!--turnitin.version-->
> </dependency>****
>
>  ****
>
>  ****
>
> Then maven build /contentreview
>
> then maven build /contentreview/contentreview-impl****
>
>  ****
>
> Also, verify that your sub account has the Assignment2 API configured on
> the TII account interface.****
>
>  ****
>
> In Sakai properties, you only need to set the Sub Account ID (ie.
> aid=#subaccountId)****
>
>  ****
>
>  ****
>
> It sounds like you've done all of that and more than likely it's just an
> duplicate jar file.****
>
>  ****
>
> -Bryan****
>
> On Mon, Aug 15, 2011 at 11:56 AM, Boyd, Amy E <amyboyd at txstate.edu> wrote:
> ****
>
> Hello -
>
> I know several institutions out there are currently using turnitin with
> Sakai.  I'm trying to integrate the contrib tool here at Texas State
> University and am running into some errors.
>
> We are running Sakai 2.7.1
> I just added Assignments 2 (tags/v1.0 - not in production yet) with no
> trouble.
> I added turnitin/tags/content-review-impl-base-0.6 (I have also tried with
> 0.5) under the content-review folder
> I needed to update the content-review API so updated to
> tags/contentreview-2.9.0
> I modified the pom.xml in content-review to include the new TII module
> I've added the appropriate setting in sakai.properties and set the cron
> jobs to run (they appear to be successful)
>
> I have all of the configurations set up on the turnitin website.
>
> Everything builds and runs, but when creating an assignment and using
> turnitin, I get the following error:
>
> java.lang.NoSuchMethodError:
> org.sakaiproject.contentreview.service.ContentReviewService.createAssignment(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)V
>
> However, the interface does exist in ContentReviewService.java (this is why
> I used TII 0.6 - because the interface does not exist it 0.5).  I can't find
> where it's actually defined though.
>
> I've tried several combinations of content-review-api with turnitin and
> can't seem to get anything working on Sakai 2.7.1.
>
> Has anyone been successful integrating 2.7.1 with TII?
>
> Any help is appreciated!
>
> - Amy
>
> _______________________________________________
> 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"****
>
>
> _______________________________________________
> 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"****
>
> ** **
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110815/fb18f05b/attachment.html 


More information about the sakai-dev mailing list