How do I unsubscribe to this email? From: Kurt T Stam [mailto:[email protected]] Sent: Wednesday, March 30, 2011 11:05 AM To: [email protected] Subject: Re: juddiv3 (3.0.4) "juddi.authenticator" (XMLDocAuthenticator) problems with saving/deleting Publishers
Hi Martin, All fixed. If you are using juddi-3.0.4, you should check out the source for juddi-3.0.4, and apply the patch: http://svn.apache.org/viewvc/juddi/trunk/juddi-core/src/main/java/org/apache/juddi/v3/auth/XMLDocAuthenticator.java?p2=%2Fjuddi%2Ftrunk%2Fjuddi-core%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fjuddi%2Fv3%2Fauth%2FXMLDocAuthenticator.java&p1=%2Fjuddi%2Ftrunk%2Fjuddi-core%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fjuddi%2Fv3%2Fauth%2FXMLDocAuthenticator.java&r1=1086999&r2=1086998&view=diff&pathrev=1086999 or simply replace it with http://svn.apache.org/viewvc/juddi/trunk/juddi-core/src/main/java/org/apache/juddi/v3/auth/XMLDocAuthenticator.java?revision=1086999&view=markup&pathrev=1086999 then from the juddi-core directory, run: mvn clean install. This is create a new juddi-core-3.0.4.jar in the target directory. We will also soon release juddi-3.1.0 which will contain this fix. Thx, -Kurt p.s. the Encrypted version inherits from this one, so the patch fixes that one too. On 3/30/11 11:50 AM, Martynas A. (chainer) wrote: Kurt, Same happens with CryptedXMLDocAuthenticator. Fix that too. Btw when is it possible to expect the fix and in what form (new release/patch)? Martin 2011/3/30 Kurt T Stam <[email protected]<mailto:[email protected]>> Hi Martin, I can reproduce it now. The XMLDocAuthenticator has a bug and should be returning a Publisher. I reopened the issue. --Kurt On 3/30/11 10:45 AM, Martynas A. (chainer) wrote: Yes, my code worked properly with 'juddi.authenticator = org.apache.juddi.v3.auth.JUDDIAuthenticator' in juddi.properties, because it was default and I wasn't playing around with authentication. I just changed back to JUDDIAuthenticator to check and it works fine. 2011/3/30 Kurt T Stam <[email protected]<mailto:[email protected]>> OK I will try one more time. Are you saying it only happens when you change the authentication properties and users.xml? On 3/30/11 10:00 AM, Martynas A. (chainer) wrote: Kurt, Well I just simply tried to download a fresh 'juddi-portal-bundle-3.0.4.zip', unzip it, setup authentication in propeties, create users.xml, startup it and try to save publisher. Same exception. In my project I use only "juddi-client-3.0.4.jar" and "uddi-ws-.3.0.4.jar" which are related to juddi. No idea. --Martin 2011/3/30 Kurt T Stam <[email protected]<mailto:[email protected]>> Martin, The code is fine. Can it be you deployed the juddi-core.jar more then once? It looks to me like that classcast might be caused by classloading issues, or version mismatch. --Kurt ________________________________ The information in this Internet Email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this Email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to our clients any opinions or advice contained in this Email are subject to the terms and conditions expressed in any applicable governing The Home Depot terms of business or client engagement letter. The Home Depot disclaims all responsibility and liability for the accuracy and content of this attachment and for any damages or losses arising from any inaccuracies, errors, viruses, e.g., worms, trojan horses, etc., or other items of a destructive nature, which may be contained in this attachment and shall not be liable for direct, indirect, consequential or special damages in connection with this e-mail message or its attachment.
