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





Reply via email to