[ 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.