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/26 14:36:27 UTC

[jira] Commented: (JUDDI-370) jUDDI does not register all services received in GetSubscriptionResult.

    [ https://issues.apache.org/jira/browse/JUDDI-370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12838866#action_12838866 ] 

Marek Baluch commented on JUDDI-370:
------------------------------------

Somehow I am unable to attach the server.log. I get "lost during reload". Here are the important lines from the log:

2010-02-26 11:52:53,766 INFO  [org.apache.juddi.v3.client.config.XRegistration] (http-127.0.0.1-8080-4) xregister business Marketing Node + from RemotehostCratchit to LocalhostCratchit
2010-02-26 11:52:53,766 INFO  [org.apache.juddi.v3.client.config.UDDIClerk] (http-127.0.0.1-8080-4) Registering business Marketing Node with key uddi:marketing.apache.org:marketing-asf
2010-02-26 11:52:53,812 INFO  [org.apache.juddi.v3.client.config.UDDIClerk] (http-127.0.0.1-8080-4) Registering businessEntity Marketing Node completed.
...
2010-02-26 11:52:54,693 INFO  [org.apache.juddi.v3.client.config.XRegistration] (http-127.0.0.1-8080-4) xregister service New Marketing Service-0 + from RemotehostCratchit to LocalhostCratchit
2010-02-26 11:52:54,694 INFO  [org.apache.juddi.v3.client.config.UDDIClerk] (http-127.0.0.1-8080-4) Registering service New Marketing Service-0 with key uddi:marketing.apache.org:new-service-0
2010-02-26 11:52:54,752 INFO  [org.apache.juddi.v3.client.config.UDDIClerk] (http-127.0.0.1-8080-4) Registering service New Marketing Service-0 completed.
...
2010-02-26 11:52:55,319 INFO  [org.apache.juddi.v3.client.config.XRegistration] (http-127.0.0.1-8080-4) xregister business Marketing Node + from RemotehostCratchit to LocalhostCratchit
2010-02-26 11:52:55,319 INFO  [org.apache.juddi.v3.client.config.UDDIClerk] (http-127.0.0.1-8080-4) Registering business Marketing Node with key uddi:marketing.apache.org:marketing-asf
2010-02-26 11:52:55,527 INFO  [org.apache.juddi.v3.client.config.UDDIClerk] (http-127.0.0.1-8080-4) Registering businessEntity Marketing Node completed.
...
2010-02-26 11:52:56,301 INFO  [org.apache.juddi.v3.client.config.XRegistration] (http-127.0.0.1-8080-4) xregister service New Marketing Service-1 + from RemotehostCratchit to LocalhostCratchit
2010-02-26 11:52:56,301 INFO  [org.apache.juddi.v3.client.config.UDDIClerk] (http-127.0.0.1-8080-4) Registering service New Marketing Service-1 with key uddi:marketing.apache.org:new-service-1
2010-02-26 11:52:56,341 INFO  [org.apache.juddi.v3.client.config.UDDIClerk] (http-127.0.0.1-8080-4) Registering service New Marketing Service-1 completed.

And when trying to do the lookup:

2010-02-26 11:52:59,158 ERROR [org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS] (http-127.0.0.1-8080-4) SOAP request exception
org.apache.juddi.v3.error.InvalidKeyPassedException: The business service was not found for the given key:  uddi:marketing.apache.org:new-service-0
        at org.apache.juddi.api.impl.UDDIInquiryImpl.getServiceDetail(UDDIInquiryImpl.java:353)
        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 org.jboss.wsf.container.jboss50.invocation.InvocationHandlerJSE.invoke(InvocationHandlerJSE.java:108)
        at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:221)
        at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:468)
        at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:293)
        at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:203)
        at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:129)
        at org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(AbstractEndpointServlet.java:85)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
        at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
        at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
        at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:619)

> jUDDI does not register all services received in GetSubscriptionResult.
> -----------------------------------------------------------------------
>
>                 Key: JUDDI-370
>                 URL: https://issues.apache.org/jira/browse/JUDDI-370
>             Project: jUDDI
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.0.1
>            Reporter: Marek Baluch
>            Assignee: Kurt T Stam
>
> From the log (eg. line 2030 and line 2045) it's clear that for each service received in GetSubscriptionResult the XRegisterHelper class first registers the BusinessEntity and then the BusinessService. 
> This would be great if XRegistration class would not do *businessEntity.setBusinessServices(null);*. This way we loose all previously stored services when we save the BusinessEntity so only the last BusinessService will remain in the database. 
> This behaviour for Entity updating is up to specs as defined here http://uddi.org/pubs/uddi-v3.0.2-20041019.htm#_Toc85908111.

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