Sorry for the fire drill -- it looks like this was a caching issue. I'm 
grabbing the license types and then caching them. A restart of the tomcat 
instance(s) resolved the issue.

Thanks!

..\Wendy


Wendy Bossons
Senior Software Engineer
MIT Libraries
Software Analysis & Development
Building E25-131
77 Massachusetts Ave.
Cambridge, MA 02141-4307
Phone 617-253-0770
Fax     617-253-4462
[email protected]<mailto:[email protected]>
http://libraries.mit.edu


On Dec 3, 2010, at 4:35 PM, John Doig 
[email protected]<mailto:[email protected]> wrote:

Hi Wendy,

Sorry to hear you're having issues with the API. To get this resolved
as quickly as possible, I'd like to gather a little more
information...

Are you using the Java api_client found at
http://code.creativecommons.org/viewsvn/api_client/trunk/java/ ?

Looking through our logs it appears that a client is making POST
requests to the path:
/rest/1.5/license/xmlui.Submission.submit.CCLicenseStep.select_change/issue.
Doing a quick grep over the DSpace source code, it appears that this
is a class implemented in
dspace/app/xmlui/aspect/submission/submit/CCLicenseStep.java. Does it
look familiar?

The 1.5 REST API version hasn't been modified since 2009-04-14
according to our timestamps nor has the api_client been updated
recently.

Can you provide me with an exact time that you first started to
experience this error?

Thanks,
-John


On Fri, Dec 3, 2010 at 12:18 PM, Wendy J Bossons 
<[email protected]<mailto:[email protected]>> wrote:

Suddenly my CC license code is throwing a MalformedUrlException. It has been 
running for months . . . making post requests to the 1.5 api.
At the stage where it is apparently failing, there is a call to get the license 
types which are then parsed and used to populate a list of license type options 
on a web application page (DSpace).
Have there been changes to the 1.5 api which would result in this type of 
exception?
..\Wendy

Wendy Bossons
Senior Software Engineer
MIT Libraries
Software Analysis & Development
Building E25-131
77 Massachusetts Ave.
Cambridge, MA 02141-4307
Phone 617-253-0770
Fax     617-253-4462
[email protected]<mailto:[email protected]>
http://libraries.mit.edu



_______________________________________________
cc-devel mailing list
[email protected]<mailto:[email protected]>
http://lists.ibiblio.org/mailman/listinfo/cc-devel


_______________________________________________
cc-devel mailing list
[email protected]
http://lists.ibiblio.org/mailman/listinfo/cc-devel

Reply via email to