Http gateway registration fails when restarting container?
Environment
- Red Hat JBoss Fuse
- 6.2.1
Issue
CXF webservices
will not re-register in/fabric/registry/clusters/apis/ws
Http gateway
registration fails when restarting container- upgrading the emp component results in
webservices
not "registered" in the " /fabric/registry/clusters/apis/ws" registry. This means that thegateway-http proxy
can 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-level
for thebundle
- configure start-level="100" in
features.xml
like 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.xml
is not used then try with belowprofile-edit
command
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.
Comments