You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Jan Topi&#324;ski (JIRA)" <ji...@apache.org> on 2007/12/18 18:19:26 UTC

[jira] Updated: (SM-322) Endpoint descriptors (wsdl) can not be accessed for remote endpoints in a cluster.

     [ https://issues.apache.org/activemq/browse/SM-322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Topi&#324;ski updated SM-322:
---------------------------------

    Attachment: core-remote-descriptor.patch

This patch fixes the problem but:
1. Brakes backword compatebility in a cluster - one needs to upgrade all nodes.
2. I'm not sure it is elegant enough cause it adds descriptor to InternalEndpoint but dos not remove logic completely from  Registry.getEndpointDescriptor.But  I'm simply not sure if removig logic from the letter will not brake anything to do it. 
Provided the above it works for us.

> Endpoint descriptors (wsdl) can not be accessed for remote endpoints in a cluster.
> ----------------------------------------------------------------------------------
>
>                 Key: SM-322
>                 URL: https://issues.apache.org/activemq/browse/SM-322
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-jsr181
>    Affects Versions: incubation
>            Reporter: jamie le grange
>         Attachments: core-remote-descriptor.patch
>
>
> Endpoint descriptors (wsdl) can not be accessed for remote endpoints in a cluster.
> Stacktrace as follows:
> java.lang.NullPointerException
>        at org.apache.servicemix.jbi.framework.EndpointRegistry.getEndpointDescriptor(EndpointRegistry.java:197)
>        at org.apache.servicemix.jbi.framework.Registry.getEndpointDescriptor(Registry.java:203)
>        at org.apache.servicemix.jbi.framework.ComponentContextImpl.getEndpointDescriptor(ComponentContextImpl.java:379)
>        at org.apache.servicemix.jsr181.xfire.JbiProxy.chooseEndpoint(JbiProxy.java:135)
>        at org.apache.servicemix.jsr181.xfire.JbiProxy.getDescription(JbiProxy.java:100)
>        at org.apache.servicemix.jsr181.xfire.JbiProxy.getProxy(JbiProxy.java:78)
>        at org.apache.servicemix.jsr181.xfire.JbiProxy.create(JbiProxy.java:49)

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