Webservice url is not available in Fabric registry
Issue
when I deploy a Webservice involving a camel cxf consumer endpoint in a Fabric child container, the url is not visible in registry. Observing the below error in the log file.
io.fabric8.fabric-cxf-registry - 1.0.0.redhat-379 | Since the CXF service isn't started, this could really be a REST endpoint rather than WSDL at /fabric/registry/clusters/apis/ws/ReportIncidentService/report//1.0/child1
2015-02-04 19:37:45,661 | ERROR | NAPSHOT-thread-1 | FabricCxfRegistrationHandler | try.FabricCxfRegistrationHandler 285 | 92 - io.fabric8.fabric-cxf-registry - 1.0.0.redhat-379 | Failed to register API endpoint for http://localhost:8182/cxfreport/.
java.lang.IllegalArgumentException: Invalid path string "/fabric/registry/clusters/apis/ws/ReportIncidentService/report//1.0/child1" caused by empty node name specified @63
at org.apache.zookeeper.common.PathUtils.validatePath(PathUtils.java:99)
at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1020)
at org.apache.curator.framework.imps.ExistsBuilderImpl$2.call(ExistsBuilderImpl.java:172)
at org.apache.curator.framework.imps.ExistsBuilderImpl$2.call(ExistsBuilderImpl.java:161)
at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:107)
at org.apache.curator.framework.imps.ExistsBuilderImpl.pathInForeground(ExistsBuilderImpl.java:157)
at org.apache.curator.framework.imps.ExistsBuilderImpl.forPath(ExistsBuilderImpl.java:148)
Environment
- JBoss Fuse 6.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
