Hi.
Still scratching my head over multible nodes.
In my web service that self-registers it successfully uddi.xml looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<uddi>
        <reloadDelay>5000</reloadDelay>
        <manager name="example-manager">
                <nodes>
                        <node>
                                <!-- required 'default' node -->
                                <name>default</name>
                                <properties>
                                        <property name="serverName"  
value="localhost"/>
                                        <property name="serverPort"  
value="8080"/>
                                        <property name="keyDomain"   
value="disa.siminn.is"/>
                                        <property name="department"  
value="disa" />
                                </properties>
                                <!-- JAX-WS Transport -->
                                
<proxyTransport>org.apache.juddi.v3.client.transport.JAXWSTransport</proxyTransport>
                                
<custodyTransferUrl>http://${serverName}:${serverPort}/juddiv3/services/custody-transfer?wsdl</custodyTransferUrl>
                                
<inquiryUrl>http://${serverName}:${serverPort}/juddiv3/services/inquiry?wsdl</inquiryUrl>
                        
<publishUrl>http://${serverName}:${serverPort}/juddiv3/services/publish?wsdl</publishUrl>
                        
<securityUrl>http://${serverName}:${serverPort}/juddiv3/services/security?wsdl</securityUrl>
                                
<subscriptionUrl>http://${serverName}:${serverPort}/juddiv3/services/subscription?wsdl</subscriptionUrl>
                                
<subscriptionListenerUrl>http://${serverName}:${serverPort}/juddiv3/services/subscription-listener?wsdl</subscriptionListenerUrl>
                                
<juddiApiUrl>http://${serverName}:${serverPort}/juddiv3/services/juddi-api?wsdl</juddiApiUrl>
                        </node>
                </nodes>
                <clerks registerOnStartup="true">
           <clerk name="DisaCratchit" node="default" publisher="disa"
password="disa">
                <class>is.siminn.juddi.ws.HelloWorldImpl</class>
           </clerk>
        </clerks>
        </manager>
</uddi>

Then here is the uddi.xml file for the service that isn't getting
registered in the second node in the juddi registry:

<?xml version="1.0" encoding="UTF-8"?>
<uddi>
        <reloadDelay>5000</reloadDelay>
        <manager name="example-manager">
                <nodes>
                        <node>
                                <!-- required 'default' node -->
                                <name>default</name>
                                <properties>
                                        <property name="serverName"  
value="localhost"/>
                                        <property name="serverPort"  
value="8080"/>
                                        <property name="keyDomain"   
value="icms.siminn.is"/>
                                        <property name="department"  
value="icms" />
                                </properties>
                                <!-- JAX-WS Transport -->
                                
<proxyTransport>org.apache.juddi.v3.client.transport.JAXWSTransport</proxyTransport>
                                
<custodyTransferUrl>http://${serverName}:${serverPort}/juddiv3/services/custody-transfer?wsdl</custodyTransferUrl>
                                
<inquiryUrl>http://${serverName}:${serverPort}/juddiv3/services/inquiry?wsdl</inquiryUrl>
                        
<publishUrl>http://${serverName}:${serverPort}/juddiv3/services/publish?wsdl</publishUrl>
                        
<securityUrl>http://${serverName}:${serverPort}/juddiv3/services/security?wsdl</securityUrl>
                                
<subscriptionUrl>http://${serverName}:${serverPort}/juddiv3/services/subscription?wsdl</subscriptionUrl>
                                
<subscriptionListenerUrl>http://${serverName}:${serverPort}/juddiv3/services/subscription-listener?wsdl</subscriptionListenerUrl>
                                
<juddiApiUrl>http://${serverName}:${serverPort}/juddiv3/services/juddi-api?wsdl</juddiApiUrl>
                        </node>
                </nodes>
                <clerks registerOnStartup="true">
           <clerk name="IcmsCratchit" node="icms" publisher="icms"
password="icms">
                <class>is.siminn.juddi.ws.AppImpl</class>
           </clerk>
        </clerks>
        </manager>
</uddi>

Here is the uddi.xml for uddi-portlets

<?xml version="1.0" encoding="ISO-8859-1" ?>

<uddi>
    <reloadDelay>5000</reloadDelay>
    <manager name="uddi-portlet-manager">
                <nodes>
                        <node isHomeJUDDI="true">
                                <name>default</name>
                                <properties>
                                        <property name="serverName" 
value="localhost"/>
                                        <property name="serverPort" 
value="8080"/>
                                        <property name="rmiPort" value="1099"/>
                                </properties>
                                <description>Main jUDDI node</description>
                                <!-- JAX-WS Transport -->
                                
<proxyTransport>org.apache.juddi.v3.client.transport.JAXWSTransport</proxyTransport>
                                
<custodyTransferUrl>http://${serverName}:${serverPort}/juddiv3/services/custody-transfer?wsdl</custodyTransferUrl>
                                
<inquiryUrl>http://${serverName}:${serverPort}/juddiv3/services/inquiry?wsdl</inquiryUrl>
                        
<publishUrl>http://${serverName}:${serverPort}/juddiv3/services/publish?wsdl</publishUrl>
                        
<securityUrl>http://${serverName}:${serverPort}/juddiv3/services/security?wsdl</securityUrl>
                                
<subscriptionUrl>http://${serverName}:${serverPort}/juddiv3/services/subscription?wsdl</subscriptionUrl>
                                
<subscriptionListenerUrl>http://${serverName}:${serverPort}/juddiv3/services/subscription-listener?wsdl</subscriptionListenerUrl>
                                
<juddiApiUrl>http://${serverName}:${serverPort}/juddiv3/services/juddi-api?wsdl</juddiApiUrl>
                        </node>
                </nodes>
                <clerks registerOnStartup="true">
                   <clerk name="DisaCratchit" node="default" publisher="disa"
password="disa"/>
               <clerk name="IcmsCratchit" node="default" publisher="icms"
password="icms"/>
           </clerks>
        </manager>

</uddi>

Did I maybe miss some installation steps or misconfigured something?

Thanks
-Gunnlaugur







2010/8/5 Gunnlaugur Sigurðsson <gunnlaugur...@gmail.com>:
> Hi Kurt
>
> I'm still struggling a bit with the setup of multible node's for
> different departments.
>
> I managed to setup the nodes. At least they show up in the portal.
> I successfully self-registered on web service into one of the node
> (ie. previous the sales node in the default setup). But when I try to
> self-register other web service into the second node (ie. previous the
> marketing node in the default setup).
>
> I get the following error when I try this.
>
> 2010-08-04 15:25:51,392 ERROR
> [org.apache.juddi.v3.client.config.UDDIClerk] - Unable to register
> service App .The proposed key is not within the partition defined by
> owning publisher:  uddi:icms.siminn.is:services-appicms
> javax.xml.ws.soap.SOAPFaultException: The proposed key is not within
> the partition defined by owning publisher:
> uddi:icms.siminn.is:services-appicms
>        at 
> org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:145)
>        at $Proxy331.saveService(Unknown Source)
>        at 
> org.apache.juddi.v3.client.config.UDDIClerk.register(UDDIClerk.java:123)
>        at 
> org.apache.juddi.v3.client.config.UDDIClerkManager.registerAnnotatedServices(UDDIClerkManager.java:137)
>        at 
> org.apache.juddi.v3.client.config.BackGroundRegistration.run(BackGroundRegistration.java:39)
>        at java.lang.Thread.run(Thread.java:619)
> Caused by: org.apache.cxf.binding.soap.SoapFault: The proposed key is
> not within the partition defined by owning publisher:
> uddi:icms.siminn.is:services-appicms
>
> I understand that my error is with the
> "uddi:icms.siminn.is:services-appicms" key and the user, but I can't
> figure out what and where to fix it.
>
> I changed my users like this sales->disa and then marketing->icms
> I used the RENAME4SALES_juddi_custom_install_data and renamed to
> juddi_custom_install_data
> I also renamed and edit the following files to represent my users
> disa_BusinessEntity.xml
> disa_Publisher.xml
> disa_tModels.xml
> icms_BusinessEntity.xml (had to create this file since marketing did
> not have one in the default setup)
> icms_Publisher.xml
> icms_tModels.xml
> root_BusinessEntity.xml
> root_tModelKeyGen.xml
>
> Then I also edited
> JUDDI_HOME/webapps/uddi-portlets/WEB-INF/classes/META-INF/uddi.xml.sales
> and renamed to uddi.xml
>
> Do you have any advice or hints for my to follow?
>
> Thanks.
> -Gunnlaugur
>
>
>
> --
>
> Kveðja/Regards
> Gunnlaugur Sigurðsson
> gunnlaugur...@gmail.com
> Mobile: (+354) 896-7963
> Home: (+354) 565-5229
>



-- 

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

Reply via email to