Skip to Content.
Sympa Menu

cc-devel - Re: [cc-devel] Malformed URL Exception?

cc-devel AT lists.ibiblio.org

Subject: Developer discussion for Creative Commons technology and tools

List archive

Chronological Thread  
  • From: Wendy J Bossons <wbossons AT MIT.EDU>
  • To: "cc-devel AT lists.ibiblio.org" <cc-devel AT lists.ibiblio.org>, "john AT creativecommons.org" <john AT creativecommons.org>
  • Subject: Re: [cc-devel] Malformed URL Exception?
  • Date: Fri, 3 Dec 2010 17:03:31 -0500

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
wbossons AT mit.edu
http://libraries.mit.edu


On Dec 3, 2010, at 4:35 PM, John Doig john AT creativecommons.org 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 <wbossons AT mit.edu> 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
wbossons AT mit.edu
http://libraries.mit.edu



_______________________________________________
cc-devel mailing list
cc-devel AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/cc-devel





Archive powered by MHonArc 2.6.24.

Top of Page