[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Handle-info] Problems Creating Handles Programmatically from Web Services



Sean,

Thanks for the input.  I am double-checking everything, but I'm pretty sure everything (command line & Web service) are using v6.2 of the handle.jar (dated 7/5/06).  I will keep looking though.

Nick

Nicholas Fischio
Development Manager
Kelvin Smith Library - Case Western Reserve University
216.368.3509
 
 

-----Original Message-----
From: Sean Reilly [mailto:sreilly@cnri.reston.va.us] 
Sent: Wednesday, February 07, 2007 4:07 PM
To: Nick Fischio
Cc: handle-info@cnri.reston.va.us
Subject: Re: [Handle-info] Problems Creating Handles Programmatically from Web Services

Hi Nick,

I think this is caused by having an old version of the handle.jar  
somewhere in your classpath.  Before a certain point the  
authentication code just used the signature algorithm provided by the  
public key instead of assigning constant values specific to the  
signature format that we use.  This caused the older handle.jars to  
return the error you are seeing when run on newer versions of java.

I would check that both your command-line and web service classpaths  
both have the latest handle.jar file.  Also, if the command-line and  
web service might be talking to different servers then make sure that  
the server the web service is talking to has an updated handle.jar.

I think this problem was fixed over a year ago, but it is difficult  
keeping everything up to date!

Thanks,
Sean

On Feb 7, 2007, at 8:01 PM, Nick Fischio wrote:

> I would like some help troubleshooting a "problem" we are  
> experiencing with the client library.  We have written code modeled  
> after the HDLCreate.java source file that comes with the  
> distribution (v 6.2).  The code works fine when we call it from the  
> command line (Windows), however it fails when we execute the same  
> code from a Web service via Apache Axis.
>
> When we attempt to execute this code from our Web service, we  
> receive the following message:
>
> "HandleException (UNABLE_TO_AUTHENTICATE) Unable to sign challenge:  
> HandleException (MISSING_OR_INVALID_SIGNATURE) Unknown signature  
> algorithm: DSA"
>
> Nick


_______________________________________________
Handle-Info mailing list
Handle-Info@cnri.reston.va.us
http://www.handle.net/mailman/listinfo/handle-info