[Building Sakai] sakora-csv tool install?

Gregory Guthrie guthrie at mum.edu
Tue Feb 25 15:53:37 PST 2014


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