-
Bug
-
Resolution: Done
-
Major
-
fuse-7.8-GA
-
None
-
%
-
-
+
-
Automated
-
I have two microservices which are exposed cxf rest services.
When I deploy install/uninstall one I get no errors.
However, if I install both bundles and then uninstall in succession I get the error below.
//uninstall
2021-07-19 10:31:00,550 | WARN | features-2-thread-1 | a.c.t.h.UndertowHTTPServerEngine | 113 - org.apache.cxf.cxf-rt-transports-http-undertow - 3.3.6.fuse-780029-redhat-00001 | Failed to shutdown Undertow server on port 9591 because it is still in use
CXF information
<?xml version="1.0" encoding="UTF-8"?> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0" xmlns:cxf="http://camel.apache.org/schema/blueprint/cxf" xmlns:cxf-core="http://cxf.apache.org/blueprint/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://camel.apache.org/schema/blueprint https://camel.apache.org/schema/blueprint/camel-blueprint.xsd http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0 http://aries.apache.org/schemas/blueprint-cm/blueprint-cm-1.1.0.xsd"> <bean class="com.biz.interceptors.SecurityInRestInterceptor" id="bSecurityInRestInterceptor"> <property name="keystoreFileName" value="$(api.root.uri.settings.keystoreFileName)" /> <property name="keystorePassword" value="$(api.root.uri.settings.keystorePassword)" /> <property name="whitelistFile" value="$(api.root.uri.settings.whitelistFile)" /> </bean> <bean class="com.biz.SecurityException" id="securityException" /> <bean class="org.apache.cxf.interceptor.LoggingInInterceptor" id="loggingInInterceptor" /> <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor" id="loggingOutInterceptor" /> <cxf-core:bus bus="cxfbus" /> <cxf:rsServer address="$(api.settings.server)$(api.settings.health.service)" bus="cxfbus" id="epHealthPathnet" serviceClass="com.biz.service.common.Service"> <cxf:inFaultInterceptors> <ref component-id="loggingInInterceptor" /> </cxf:inFaultInterceptors> <cxf:outFaultInterceptors> <ref component-id="loggingOutInterceptor" /> </cxf:outFaultInterceptors> </cxf:rsServer> <cxf:rsServer address="$(api.settings.server)$(api.settings.service)" bus="cxfbus" id="epPathnet" serviceClass="com.biz.Service"> <cxf:inInterceptors> <ref component-id="bSecurityInRestInterceptor" /> <ref component-id="loggingInInterceptor" /> </cxf:inInterceptors> <cxf:outInterceptors> <ref component-id="loggingOutInterceptor" /> </cxf:outInterceptors> <cxf:inFaultInterceptors> <ref component-id="loggingInInterceptor" /> </cxf:inFaultInterceptors> <cxf:outFaultInterceptors> <ref component-id="loggingOutInterceptor" /> </cxf:outFaultInterceptors> <cxf:providers> <ref component-id="securityException" /> </cxf:providers> </cxf:rsServer> </blueprint>