You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by "Marek Baluch (JIRA)" <ju...@ws.apache.org> on 2010/02/19 09:55:27 UTC

[jira] Created: (JUDDI-366) Unable to save tModels required for subscriptions via JUDDIApi.

Unable to save tModels required for subscriptions via JUDDIApi.
---------------------------------------------------------------

                 Key: JUDDI-366
                 URL: https://issues.apache.org/jira/browse/JUDDI-366
             Project: jUDDI
          Issue Type: Bug
    Affects Versions: 3.0.1
            Reporter: Marek Baluch
            Assignee: Kurt T Stam


If I copy "sales_Publisher.xml, marketing_Publisher.xml, sales_tModel.xml and marketing_tModels.xml" files to "juddi_custom_install_data" dir then the models are saved to the database no problem. If I try to save these models via the JUDDI api then I get back a 

RemoteException occurred in server thread; nested exception is: org.apache.juddi.v3.error.KeyUnavailableException: The proposed key is not within the partition defined by owning publisher: uddi:marketing.apache.org:subscription:keygenerator.

IMHO if it is possible to register these tModels by copying them to "juddi_custom_install_data" dir it should be possible to do the same from code.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (JUDDI-366) Unable to save sample tModels required for subscriptions via JUDDIApi.

Posted by "Marek Baluch (JIRA)" <ju...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/JUDDI-366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marek Baluch updated JUDDI-366:
-------------------------------

    Summary: Unable to save sample tModels required for subscriptions via JUDDIApi.  (was: Unable to save tModels required for subscriptions via JUDDIApi.)

> Unable to save sample tModels required for subscriptions via JUDDIApi.
> ----------------------------------------------------------------------
>
>                 Key: JUDDI-366
>                 URL: https://issues.apache.org/jira/browse/JUDDI-366
>             Project: jUDDI
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>            Reporter: Marek Baluch
>            Assignee: Kurt T Stam
>
> If I copy "sales_Publisher.xml, marketing_Publisher.xml, sales_tModel.xml and marketing_tModels.xml" files to "juddi_custom_install_data" dir then the models are saved to the database no problem. If I try to save these models via the JUDDI api then I get back a 
> RemoteException occurred in server thread; nested exception is: org.apache.juddi.v3.error.KeyUnavailableException: The proposed key is not within the partition defined by owning publisher: uddi:marketing.apache.org:subscription:keygenerator.
> IMHO if it is possible to register these tModels by copying them to "juddi_custom_install_data" dir it should be possible to do the same from code.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (JUDDI-366) Unable to save sample tModels required for subscriptions via JUDDIApi.

Posted by "Tom Cunningham (JIRA)" <ju...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/JUDDI-366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom Cunningham closed JUDDI-366.
--------------------------------


> Unable to save sample tModels required for subscriptions via JUDDIApi.
> ----------------------------------------------------------------------
>
>                 Key: JUDDI-366
>                 URL: https://issues.apache.org/jira/browse/JUDDI-366
>             Project: jUDDI
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>            Reporter: Marek Baluch
>            Assignee: Kurt T Stam
>
> If I copy "sales_Publisher.xml, marketing_Publisher.xml, sales_tModel.xml and marketing_tModels.xml" files to "juddi_custom_install_data" dir then the models are saved to the database no problem. If I try to save these models via the JUDDI api then I get back a 
> RemoteException occurred in server thread; nested exception is: org.apache.juddi.v3.error.KeyUnavailableException: The proposed key is not within the partition defined by owning publisher: uddi:marketing.apache.org:subscription:keygenerator.
> IMHO if it is possible to register these tModels by copying them to "juddi_custom_install_data" dir it should be possible to do the same from code.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JUDDI-366) Unable to save sample tModels required for subscriptions via JUDDIApi.

Posted by "Marek Baluch (JIRA)" <ju...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/JUDDI-366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835658#action_12835658 ] 

Marek Baluch commented on JUDDI-366:
------------------------------------

Here is also the trace:

Caused by The proposed key is not within the partition defined by owning publisher: uddi:marketing.apache.org:subscription:keygenerator

    org.apache.juddi.validation.ValidatePublish.validateTModel(ValidatePublish.java:733)
    at org.apache.juddi.validation.ValidatePublish.validateSaveTModel(ValidatePublish.java:311)
    at org.apache.juddi.api.impl.UDDIPublicationImpl.saveTModel(UDDIPublicationImpl.java:560)
    at org.apache.juddi.rmi.UDDIPublicationService.saveTModel(UDDIPublicationService.java:125)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
    at sun.rmi.transport.Transport$1.run(Transport.java:159)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    1 lines not shown 

> Unable to save sample tModels required for subscriptions via JUDDIApi.
> ----------------------------------------------------------------------
>
>                 Key: JUDDI-366
>                 URL: https://issues.apache.org/jira/browse/JUDDI-366
>             Project: jUDDI
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>            Reporter: Marek Baluch
>            Assignee: Kurt T Stam
>
> If I copy "sales_Publisher.xml, marketing_Publisher.xml, sales_tModel.xml and marketing_tModels.xml" files to "juddi_custom_install_data" dir then the models are saved to the database no problem. If I try to save these models via the JUDDI api then I get back a 
> RemoteException occurred in server thread; nested exception is: org.apache.juddi.v3.error.KeyUnavailableException: The proposed key is not within the partition defined by owning publisher: uddi:marketing.apache.org:subscription:keygenerator.
> IMHO if it is possible to register these tModels by copying them to "juddi_custom_install_data" dir it should be possible to do the same from code.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (JUDDI-366) Unable to save sample tModels required for subscriptions via JUDDIApi.

Posted by "Marek Baluch (JIRA)" <ju...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/JUDDI-366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836634#action_12836634 ] 

Marek Baluch edited comment on JUDDI-366 at 2/22/10 2:10 PM:
-------------------------------------------------------------

Hi, I have no idea how I missed that section while I was reading it. Either way now I'm using custody transfer and it works great.

      was (Author: mbaluch@redhat.com):
    Hi, I have no idea how I missed that section while I was reading it. Either way now I'm using custody transfer it works great.
  
> Unable to save sample tModels required for subscriptions via JUDDIApi.
> ----------------------------------------------------------------------
>
>                 Key: JUDDI-366
>                 URL: https://issues.apache.org/jira/browse/JUDDI-366
>             Project: jUDDI
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>            Reporter: Marek Baluch
>            Assignee: Kurt T Stam
>
> If I copy "sales_Publisher.xml, marketing_Publisher.xml, sales_tModel.xml and marketing_tModels.xml" files to "juddi_custom_install_data" dir then the models are saved to the database no problem. If I try to save these models via the JUDDI api then I get back a 
> RemoteException occurred in server thread; nested exception is: org.apache.juddi.v3.error.KeyUnavailableException: The proposed key is not within the partition defined by owning publisher: uddi:marketing.apache.org:subscription:keygenerator.
> IMHO if it is possible to register these tModels by copying them to "juddi_custom_install_data" dir it should be possible to do the same from code.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JUDDI-366) Unable to save sample tModels required for subscriptions via JUDDIApi.

Posted by "Marek Baluch (JIRA)" <ju...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/JUDDI-366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836634#action_12836634 ] 

Marek Baluch commented on JUDDI-366:
------------------------------------

Hi, I have no idea how I missed that section while I was reading it. Either way now I'm using custody transfer it works great.

> Unable to save sample tModels required for subscriptions via JUDDIApi.
> ----------------------------------------------------------------------
>
>                 Key: JUDDI-366
>                 URL: https://issues.apache.org/jira/browse/JUDDI-366
>             Project: jUDDI
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>            Reporter: Marek Baluch
>            Assignee: Kurt T Stam
>
> If I copy "sales_Publisher.xml, marketing_Publisher.xml, sales_tModel.xml and marketing_tModels.xml" files to "juddi_custom_install_data" dir then the models are saved to the database no problem. If I try to save these models via the JUDDI api then I get back a 
> RemoteException occurred in server thread; nested exception is: org.apache.juddi.v3.error.KeyUnavailableException: The proposed key is not within the partition defined by owning publisher: uddi:marketing.apache.org:subscription:keygenerator.
> IMHO if it is possible to register these tModels by copying them to "juddi_custom_install_data" dir it should be possible to do the same from code.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JUDDI-366) Unable to save sample tModels required for subscriptions via JUDDIApi.

Posted by "Tom Cunningham (JIRA)" <ju...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/JUDDI-366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835759#action_12835759 ] 

Tom Cunningham commented on JUDDI-366:
--------------------------------------

Marek - what publisher are you using to save the data in the API?        

Section 8.2.2.1 of the spec I think describes these restrictions.

> Unable to save sample tModels required for subscriptions via JUDDIApi.
> ----------------------------------------------------------------------
>
>                 Key: JUDDI-366
>                 URL: https://issues.apache.org/jira/browse/JUDDI-366
>             Project: jUDDI
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>            Reporter: Marek Baluch
>            Assignee: Kurt T Stam
>
> If I copy "sales_Publisher.xml, marketing_Publisher.xml, sales_tModel.xml and marketing_tModels.xml" files to "juddi_custom_install_data" dir then the models are saved to the database no problem. If I try to save these models via the JUDDI api then I get back a 
> RemoteException occurred in server thread; nested exception is: org.apache.juddi.v3.error.KeyUnavailableException: The proposed key is not within the partition defined by owning publisher: uddi:marketing.apache.org:subscription:keygenerator.
> IMHO if it is possible to register these tModels by copying them to "juddi_custom_install_data" dir it should be possible to do the same from code.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (JUDDI-366) Unable to save sample tModels required for subscriptions via JUDDIApi.

Posted by "Tom Cunningham (JIRA)" <ju...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/JUDDI-366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom Cunningham resolved JUDDI-366.
----------------------------------

    Resolution: Not A Problem

Resolving - talked with Marek and we agree that this is working according to spec.

> Unable to save sample tModels required for subscriptions via JUDDIApi.
> ----------------------------------------------------------------------
>
>                 Key: JUDDI-366
>                 URL: https://issues.apache.org/jira/browse/JUDDI-366
>             Project: jUDDI
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>            Reporter: Marek Baluch
>            Assignee: Kurt T Stam
>
> If I copy "sales_Publisher.xml, marketing_Publisher.xml, sales_tModel.xml and marketing_tModels.xml" files to "juddi_custom_install_data" dir then the models are saved to the database no problem. If I try to save these models via the JUDDI api then I get back a 
> RemoteException occurred in server thread; nested exception is: org.apache.juddi.v3.error.KeyUnavailableException: The proposed key is not within the partition defined by owning publisher: uddi:marketing.apache.org:subscription:keygenerator.
> IMHO if it is possible to register these tModels by copying them to "juddi_custom_install_data" dir it should be possible to do the same from code.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.