[Building Sakai] sakora-csv tool install?

Gregory Guthrie guthrie at mum.edu
Tue Feb 25 20:02:02 PST 2014


A bit more testing leaves me (still...) confused.

I ran the samples that come with sakora-csv (single), and the one I ran appeared to run, but in the database I find;

1) several of the tables indicated in the sakora-csv document are not even in the database (sakora_*).

2) of the entries sent to the test request, I only see one that was made - in the cm_academic_session_T table.

3) of all other cm_* tables that were to be updated, none were, and in fact all of them are empty.

I didn't see any error return from the curl test command, in fact no return.
???
-------------------------------------------
> -----Original Message-----
> From: Gregory Guthrie
> Sent: Tuesday, February 25, 2014 5:54 PM
> To: 'Steve Swinsburg'; 'Neal Caidin'
> Cc: sakai-dev at collab.sakaiproject.org
> Subject: RE: [Building Sakai] sakora-csv tool install?
> 
> Steve,
> Thanks - I has a (silly) error in the mvn deploy command, undefined target for tomcat
> directory - so it all ran fine but did not deploy.
> 
> I think I got it fixed now, but trying to do a simple(-est) test fails;
> 
> From http:  (not intended to work, just a test...)
>    http://localhost/sakai-sakora-csv-tool/csv
> Gives:
>    HTTP Status 405 - HTTP method GET is not supported by this URL
>    type Status report
>    message HTTP method GET is not supported by this URL
>    description The specified HTTP method is not allowed for the requested resource (HTTP
> method GET is not supported by this URL).
>    Apache Tomcat/7.0.21
> 
> And trying from curl:  (a do-nothing test of the service)
>    C:\Users\guthrie>curl -F "username=user" -F "password=mypass" http://sakai4test/sakai-
> sakora-tool/csv
> Gives:
>    HTTP Status 404 - /sakai-sakora-tool/csv
>    Status report:
>    Message
>    /sakai-sakora-tool/csv
>    The requested resource (/sakai-sakora-tool/csv) is not available
> 
> The logs show:
>    192.168.10.50 - - [25/Feb/2014:17:35:36 -0600] "POST /sakai-sakora-tool/csv HTTP/1.1"
> 404 1018
>    Feb 25, 2014 5:46:40 PM org.apache.tomcat.util.http.Cookies processCookieHeader
>    INFO: Cookies: Invalid cookie. Value not a token or quoted value
>    192.168.10.50 - - [25/Feb/2014:17:46:40 -0600] "GET /sakai-sakora-csv-tool/csv
> HTTP/1.1" 405 1112
> 
> Am I missing something here?
> 
> ( I get a ton of these "Invalid cookie" messages in the logs...)
> -------------------------------------------
> From: Steve Swinsburg [mailto:steve.swinsburg at gmail.com]
> Sent: Monday, February 24, 2014 11:21 PM
> To: Gregory Guthrie
> Cc: sakai-dev at collab.sakaiproject.org
> Subject: Re: [Building Sakai] sakora-csv tool install?
> 
> Hi Gregory,
> 
> Check tomcat/logs/catalina.out when Tomcat is starting up to ensure that the tool starts up
> cleanly. There is probably an error in there related to this.
> cheers,
> Steve



More information about the sakai-dev mailing list