Http gateway registration fails when restarting container?
Environment
- Red Hat JBoss Fuse
- 6.2.1
Issue
CXF webserviceswill not re-register in/fabric/registry/clusters/apis/wsHttp gatewayregistration fails when restarting container- upgrading the emp component results in
webservicesnot "registered" in the " /fabric/registry/clusters/apis/ws" registry. This means that thegateway-http proxycan not see them, so they can not be reached from port9000.
Resolution
- There is a Jira raised and fixed https://issues.jboss.org/browse/ENTESB-5820
- There is a workaround to get rid of this problem by having
start-levelfor thebundle - configure start-level="100" in
features.xmllike below:
<features name="${project.artifactId}-${project.version}">
<feature name="${project.artifactId}" version="${project.version}">
<details>${project.artifactId}-${project.version}::OSGi Feature</details>
<feature>camel</feature>
<feature>camel-blueprint</feature>
<feature>camel-cxf</feature>
<bundle start-level="100">mvn:${project.groupId}/cxf-rest/${project.version}</bundle>
</feature>
</features>
- if
features.xmlis not used then try with belowprofile-editcommand
profile-edit --bundle 'mvn:org.jboss.quickstarts.fuse/cxf-rest/6.2.1.redhat-084;start-level=100' default
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
