You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@juddi.apache.org by Gunnlaugur Sigurðsson <gu...@gmail.com> on 2010/05/21 19:33:48 UTC

Re: [jira] Commented: (JUDDI-397) new self-registering web service removes present ws

Hi Kurt.

Sorry, I was not trying to push for the release.
Just wasn't sure what guideline or protocols you follow in that sense.

I'm not that familiar with all the code and the api yet.
What's the most likely place this issue might be happening? I could then
take a look at it and try to figure out what's happening.

When it-ops will setup users for me to use in my ldap implementation and I
finish my exam that's coming up, I can document the senario I plan to use
there :)
My plan for the ldap implementation is something like:
1. to create all registry users in ldap and put in proper groups.
2. then when logging into the registry I'll check if the user is in ldap
3. search the user group and compare it with groups allowed to access the
registry
4. if the user is not in the registry I'll create him on the fly if he's
allowed to access the registry.
5. the allowed ldap groups I'll keep in a properties/xml file so I can
easily add new groups if needed.

Thanks.

-Gunnlaugur



On Fri, May 21, 2010 at 2:46 PM, Kurt T Stam <ku...@gmail.com> wrote:

> Hi Gunnlauger,
>
> I will probably have time next week to take a look at this issue. We do
> release when needed, we're all volunteers so it is hard to schedule things.
> You can motivate us by supplying patches :) . If we have enough fixes to
> justify another release we will. Or we can do a snapshot release, and you
> can use a snapshot for one of the jars (probably the juddi-client.jar) until
> then.
>
> Anyway, I was hoping you'd attach some documentation for your LDAP stuff
> here :)
>
> https://issues.apache.org/jira/browse/JUDDI-399
>
> Cheers,
>
> --Kurt
>
>
> Gunnlaugur Sigurðsson (JIRA) wrote:
>
>>    [
>> https://issues.apache.org/jira/browse/JUDDI-397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12869942#action_12869942]
>> Gunnlaugur Sigurðsson commented on JUDDI-397:
>> ---------------------------------------------
>>
>> Hi Kurt.
>>
>> Do you know when 3.0.3 is set to be released?
>> This problem is show stopper for my juddi implementation.
>>
>> Thanks
>> -Gunnlaugur
>>
>>
>>
>>> new self-registering web service removes present ws
>>> ---------------------------------------------------
>>>
>>>                Key: JUDDI-397
>>>                URL: https://issues.apache.org/jira/browse/JUDDI-397
>>>            Project: jUDDI
>>>         Issue Type: Bug
>>>   Affects Versions: 3.0.1
>>>        Environment: Ubuntu linux, juddi-portal-bundle-3.0.1,
>>>  Reporter: Gunnlaugur Sigurðsson
>>>           Assignee: Kurt T Stam
>>>           Priority: Blocker
>>>            Fix For: 3.0.3
>>>
>>>        Attachments: selfregister.tar, taketwo.tar
>>>
>>>
>>> When I publish new self-registering web service it removes present web
>>> service.
>>> Description of my issue can be found in the user mailing list I posted
>>> Mon, 17 May, 13:07, "UDDI Annotations - How do I self-register my service?"
>>> Prior to publishing the new service I had one service already that was
>>> able register it self, but when I added the new service, the other one
>>> disappeared.
>>> There is this entry in src/main/webapp/WEB-INF/web.xml in both projects
>>>  <servlet>
>>>    <display-name>Clerk Servlet</display-name>
>>>    <servlet-name>UDDIClerkServlet</servlet-name>
>>>
>>> <servlet-class>org.apache.juddi.v3.client.config.UDDIClerkServlet</servlet-class>
>>>    <init-param>
>>>        <param-name>uddi.client.manager.name</param-name>
>>>        <param-value>example-manager</param-value>
>>>    </init-param>
>>>    <load-on-startup>1</load-on-startup>
>>>  </servlet>
>>> As soon as I added this to my new web service the other one disappeared
>>> when I deployed the new service. Is this causing conflict between the two?
>>> Name of the manager in both uddi.xml files is <manager
>>> name="example-manager"> is this not supposed to be like that?
>>> And the uddi.xml both have the same named clerk, but with different class
>>> entry.
>>>        <clerks registerOnStartup="true">
>>>           <clerk name="SalesCratchit" node="default" publisher="sales"
>>> password="sales">
>>>                <class>is.siminn.juddi.ws.HelloWorldImpl</class>
>>>           </clerk>
>>>        </clerks>
>>>        <clerks registerOnStartup="true">
>>>           <clerk name="SalesCratchit" node="default" publisher="sales"
>>> password="sales">
>>>                <class>is.siminn.juddi.ws.AppImpl</class>
>>>           </clerk>
>>>        </clerks>
>>> And the notations in the implementation classes are as follow.
>>> @UDDIService(
>>>        businessKey="uddi:${keyDomain}:${department}-asf",
>>>        serviceKey="uddi:${keyDomain}:services-hello${department}",
>>>        description = "Hello World test service")
>>> @UDDIServiceBinding(
>>>        bindingKey="uddi:${keyDomain}:bindings-hello${department}-wsdl",
>>>        description="WSDL endpoint for the hello${department} Service.
>>> This
>>> service is used for "
>>>                  + "testing the jUDDI annotation functionality",
>>>        accessPointType="wsdlDeployment",
>>>        accessPoint="http://
>>> ${serverName}:${serverPort}/taketwo/app?wsdl")
>>> @WebService(
>>>        endpointInterface = "is.siminn.juddi.ws.App", serviceName = "App")
>>> ++++++++++++++++++++++++++++
>>> @UDDIService(
>>>        businessKey="uddi:${keyDomain}:${department}-asf",
>>>        serviceKey="uddi:${keyDomain}:services-hello${department}",
>>>        description = "Hello World test service")
>>> @UDDIServiceBinding(
>>>        bindingKey="uddi:${keyDomain}:bindings-hello${department}-wsdl",
>>>        description="WSDL endpoint for the hello${department} Service.
>>> This
>>> service is used for "
>>>                  + "testing the jUDDI annotation functionality",
>>>        accessPointType="wsdlDeployment",
>>>        accessPoint="http://
>>> ${serverName}:${serverPort}/selfregister/helloworld?wsdl")
>>> @WebService(
>>>        endpointInterface = "is.siminn.juddi.ws.HelloWorld", serviceName =
>>> "HelloWorld")
>>> I.e. tha App is the new service.
>>>
>>>
>>
>>
>>
>
>


-- 

Kveðja/Regards
Gunnlaugur Sigurðsson
gunnlaugursig@gmail.com
Mobile: (+354) 896-7963
Home: (+354) 565-5229