[jira] [Updated] (CXF-8116) Can't find a way to integrate the webjars "swaggerui" on OSGI Camel CXF Project
[ https://issues.apache.org/jira/browse/CXF-8116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marco Tenti updated CXF-8116: - Description: Hi, i really need a full example for integrate the webjars "swaggerui" on OSGI Camel CXF Project. I followed the documentation and add the webjars swagger-ui on compile mode on my pom.xml I don't know why but my "Swagger2Feature" generate only the swagger.json endpoint and never load the SwaggerUi page. Here the blueprint.xml configuration i'm try to use: {code:xml} {code} i even get this exception , but i don't know how resolve: {code} org.apache.cxf.interceptor.Fault: Direct self-reference leading to cycle (through reference chain: org.apache.cxf.message.MessageContentsList[1]->org.apache.cxf.jaxrs.swagger.SyntheticServletConfig["servletContext"]->io.undertow.servlet.spec.ServletContextImpl["deployment"]->io.undertow.servlet.core.DeploymentImpl["deploymentInfo"]->io.undertow.servlet.api.DeploymentInfo["classLoader"]->org.apache.camel.core.osgi.utils.BundleDelegatingClassLoader["bundle"]->org.apache.felix.framework.BundleImpl["bundle"]) while invoking public javax.ws.rs.core.Response io.swagger.jaxrs.listing.ApiListingResource.getListing(javax.ws.rs.core.Application,javax.servlet.ServletConfig,javax.ws.rs.core.HttpHeaders,javax.ws.rs.core.UriInfo,java.lang.String) with params [org.apache.cxf.jaxrs.swagger.Swagger2Feature$DefaultApplication@7fc8f668, org.apache.cxf.jaxrs.swagger.SyntheticServletConfig@470a7e15, org.apache.cxf.jaxrs.impl.HttpHeadersImpl@237f91e8, org.apache.cxf.jaxrs.impl.UriInfoImpl@1ade3492, json]. at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:166) at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:140) at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:193) at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:103) at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59) at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) at org.apache.cxf.phase.PhaseInterceptorChain.resume(PhaseInterceptorChain.java:278) at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78) at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:267) at org.apache.cxf.transport.http_undertow.UndertowHTTPDestination.doService(UndertowHTTPDestination.java:200) at org.apache.cxf.transport.http_undertow.CxfUndertowServlet.invoke(CxfUndertowServlet.java:52) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:301) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:225) at javax.servlet.http.HttpServlet.service(HttpServlet.java:645) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:276) at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74) at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68) at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) at io.u
[jira] [Commented] (CXF-8116) Can't find a way to integrate the webjars "swaggerui" on OSGI Camel CXF Project
[ https://issues.apache.org/jira/browse/CXF-8116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16931180#comment-16931180 ] Marco Tenti commented on CXF-8116: -- Sorry, i mus be very stupid . If i install the webjars like a external dependecy bundle on my Karaf i must modify the OSGI Manifest ? for example in the "Import-Package" i must put the following line? {code} META-INF.resources.webjars.*;resolution:=optional, . {code} Maybe i make something wrong with the configuration the attribute "runAsFilter" must be false for use the swaggerui ? > Can't find a way to integrate the webjars "swaggerui" on OSGI Camel CXF > Project > --- > > Key: CXF-8116 > URL: https://issues.apache.org/jira/browse/CXF-8116 > Project: CXF > Issue Type: Bug > Components: Bus, Documentation, JAX-RS, OSGi >Affects Versions: 3.2.7 >Reporter: Marco Tenti >Priority: Major > > Hi, i really need a full example for integrate the webjars "swaggerui" on > OSGI Camel CXF Project. > I followed the documentation and add the webjars swagger-ui on compile mode > on my pom.xml > I don't know why but my "Swagger2Feature" generate only the swagger.json > endpoint and never load the SwaggerUi page. > Here the blueprint.xml configuration i'm try to use: > {code:xml} > address="${https.serviceHost}:${https.servicePort}/cxf/my/rest" > id="rsServerTestServiceEndpointSSL" > loggingFeatureEnabled="true" loggingSizeLimit="20" > serviceClass="bug.test.endpoint.TestEndpoint" > staticSubresourceResolution="true"> > > > > > > > > > > > > > > > > > > class="org.apache.cxf.jaxrs.swagger.Swagger2Feature"> > value="${https.serviceHost}:${https.servicePort}"/> > value="${https.serviceHost}:${https.servicePort}/cxf/my/rest"/> > > > > > > > {code} > i even get this exception , but i don't know how resolve: > {code} > org.apache.cxf.interceptor.Fault: Direct self-reference leading to cycle > (through reference chain: > org.apache.cxf.message.MessageContentsList[1]->org.apache.cxf.jaxrs.swagger.SyntheticServletConfig["servletContext"]->io.undertow.servlet.spec.ServletContextImpl["deployment"]->io.undertow.servlet.core.DeploymentImpl["deploymentInfo"]->io.undertow.servlet.api.DeploymentInfo["classLoader"]->org.apache.camel.core.osgi.utils.BundleDelegatingClassLoader["bundle"]->org.apache.felix.framework.BundleImpl["bundle"]) > while invoking public javax.ws.rs.core.Response > io.swagger.jaxrs.listing.ApiListingResource.getListing(javax.ws.rs.core.Application,javax.servlet.ServletConfig,javax.ws.rs.core.HttpHeaders,javax.ws.rs.core.UriInfo,java.lang.String) > with params > [org.apache.cxf.jaxrs.swagger.Swagger2Feature$DefaultApplication@7fc8f668, > org.apache.cxf.jaxrs.swagger.SyntheticServletConfig@470a7e15, > org.apache.cxf.jaxrs.impl.HttpHeadersImpl@237f91e8, > org.apache.cxf.jaxrs.impl.UriInfoImpl@1ade3492, json]. > at > org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:166) > at > org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:140) > at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:193) > at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:103) > at > org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59) > at > org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96) > at > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) > at > org.apache.cxf.phase.PhaseInterceptorChain.resume(PhaseInterceptorChain.java:278) > at > org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78) > at > org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:267) > at > org.apache.cxf.transport.http_undertow.UndertowHTTPDestination.doService(UndertowHTTPDestination.java:200) > at > org.apache.cxf.transport.http_undertow.CxfUndertowServlet.invoke(CxfUndertowServlet.java:52) > at > org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:301) > at > org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:225) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:645) > at > org.apache.cxf.transport.servl
[jira] [Comment Edited] (CXF-8116) Can't find a way to integrate the webjars "swaggerui" on OSGI Camel CXF Project
[ https://issues.apache.org/jira/browse/CXF-8116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16931180#comment-16931180 ] Marco Tenti edited comment on CXF-8116 at 9/17/19 8:29 AM: --- Sorry, i must be very stupid . If i install the webjars like a external dependency bundle on my Karaf, i must modify the OSGI Manifest ? for example in the "Import-Package" i must put the following line? {code} META-INF.resources.webjars.*;resolution:=optional, . {code} Maybe i make something wrong with the configuration? the attribute "runAsFilter" must be "false" for use the swaggerui ? was (Author: 4535992): Sorry, i must be very stupid . If i install the webjars like a external dependecy bundle on my Karaf i must modify the OSGI Manifest ? for example in the "Import-Package" i must put the following line? {code} META-INF.resources.webjars.*;resolution:=optional, . {code} Maybe i make something wrong with the configuration? the attribute "runAsFilter" must be "false" for use the swaggerui ? > Can't find a way to integrate the webjars "swaggerui" on OSGI Camel CXF > Project > --- > > Key: CXF-8116 > URL: https://issues.apache.org/jira/browse/CXF-8116 > Project: CXF > Issue Type: Bug > Components: Bus, Documentation, JAX-RS, OSGi >Affects Versions: 3.2.7 >Reporter: Marco Tenti >Priority: Major > > Hi, i really need a full example for integrate the webjars "swaggerui" on > OSGI Camel CXF Project. > I followed the documentation and add the webjars swagger-ui on compile mode > on my pom.xml > I don't know why but my "Swagger2Feature" generate only the swagger.json > endpoint and never load the SwaggerUi page. > Here the blueprint.xml configuration i'm try to use: > {code:xml} > address="${https.serviceHost}:${https.servicePort}/cxf/my/rest" > id="rsServerTestServiceEndpointSSL" > loggingFeatureEnabled="true" loggingSizeLimit="20" > serviceClass="bug.test.endpoint.TestEndpoint" > staticSubresourceResolution="true"> > > > > > > > > > > > > > > > > > > class="org.apache.cxf.jaxrs.swagger.Swagger2Feature"> > value="${https.serviceHost}:${https.servicePort}"/> > value="${https.serviceHost}:${https.servicePort}/cxf/my/rest"/> > > > > > > > {code} > i even get this exception , but i don't know how resolve: > {code} > org.apache.cxf.interceptor.Fault: Direct self-reference leading to cycle > (through reference chain: > org.apache.cxf.message.MessageContentsList[1]->org.apache.cxf.jaxrs.swagger.SyntheticServletConfig["servletContext"]->io.undertow.servlet.spec.ServletContextImpl["deployment"]->io.undertow.servlet.core.DeploymentImpl["deploymentInfo"]->io.undertow.servlet.api.DeploymentInfo["classLoader"]->org.apache.camel.core.osgi.utils.BundleDelegatingClassLoader["bundle"]->org.apache.felix.framework.BundleImpl["bundle"]) > while invoking public javax.ws.rs.core.Response > io.swagger.jaxrs.listing.ApiListingResource.getListing(javax.ws.rs.core.Application,javax.servlet.ServletConfig,javax.ws.rs.core.HttpHeaders,javax.ws.rs.core.UriInfo,java.lang.String) > with params > [org.apache.cxf.jaxrs.swagger.Swagger2Feature$DefaultApplication@7fc8f668, > org.apache.cxf.jaxrs.swagger.SyntheticServletConfig@470a7e15, > org.apache.cxf.jaxrs.impl.HttpHeadersImpl@237f91e8, > org.apache.cxf.jaxrs.impl.UriInfoImpl@1ade3492, json]. > at > org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:166) > at > org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:140) > at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:193) > at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:103) > at > org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59) > at > org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96) > at > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) > at > org.apache.cxf.phase.PhaseInterceptorChain.resume(PhaseInterceptorChain.java:278) > at > org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78) > at > org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:267) > at > org.apache.cxf.transport.http_undertow.UndertowHTTPDestinat
[jira] [Comment Edited] (CXF-8116) Can't find a way to integrate the webjars "swaggerui" on OSGI Camel CXF Project
[ https://issues.apache.org/jira/browse/CXF-8116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16931180#comment-16931180 ] Marco Tenti edited comment on CXF-8116 at 9/17/19 8:29 AM: --- Sorry, i mus be very stupid . If i install the webjars like a external dependecy bundle on my Karaf i must modify the OSGI Manifest ? for example in the "Import-Package" i must put the following line? {code} META-INF.resources.webjars.*;resolution:=optional, . {code} Maybe i make something wrong with the configuration? the attribute "runAsFilter" must be "false" for use the swaggerui ? was (Author: 4535992): Sorry, i mus be very stupid . If i install the webjars like a external dependecy bundle on my Karaf i must modify the OSGI Manifest ? for example in the "Import-Package" i must put the following line? {code} META-INF.resources.webjars.*;resolution:=optional, . {code} Maybe i make something wrong with the configuration the attribute "runAsFilter" must be false for use the swaggerui ? > Can't find a way to integrate the webjars "swaggerui" on OSGI Camel CXF > Project > --- > > Key: CXF-8116 > URL: https://issues.apache.org/jira/browse/CXF-8116 > Project: CXF > Issue Type: Bug > Components: Bus, Documentation, JAX-RS, OSGi >Affects Versions: 3.2.7 >Reporter: Marco Tenti >Priority: Major > > Hi, i really need a full example for integrate the webjars "swaggerui" on > OSGI Camel CXF Project. > I followed the documentation and add the webjars swagger-ui on compile mode > on my pom.xml > I don't know why but my "Swagger2Feature" generate only the swagger.json > endpoint and never load the SwaggerUi page. > Here the blueprint.xml configuration i'm try to use: > {code:xml} > address="${https.serviceHost}:${https.servicePort}/cxf/my/rest" > id="rsServerTestServiceEndpointSSL" > loggingFeatureEnabled="true" loggingSizeLimit="20" > serviceClass="bug.test.endpoint.TestEndpoint" > staticSubresourceResolution="true"> > > > > > > > > > > > > > > > > > > class="org.apache.cxf.jaxrs.swagger.Swagger2Feature"> > value="${https.serviceHost}:${https.servicePort}"/> > value="${https.serviceHost}:${https.servicePort}/cxf/my/rest"/> > > > > > > > {code} > i even get this exception , but i don't know how resolve: > {code} > org.apache.cxf.interceptor.Fault: Direct self-reference leading to cycle > (through reference chain: > org.apache.cxf.message.MessageContentsList[1]->org.apache.cxf.jaxrs.swagger.SyntheticServletConfig["servletContext"]->io.undertow.servlet.spec.ServletContextImpl["deployment"]->io.undertow.servlet.core.DeploymentImpl["deploymentInfo"]->io.undertow.servlet.api.DeploymentInfo["classLoader"]->org.apache.camel.core.osgi.utils.BundleDelegatingClassLoader["bundle"]->org.apache.felix.framework.BundleImpl["bundle"]) > while invoking public javax.ws.rs.core.Response > io.swagger.jaxrs.listing.ApiListingResource.getListing(javax.ws.rs.core.Application,javax.servlet.ServletConfig,javax.ws.rs.core.HttpHeaders,javax.ws.rs.core.UriInfo,java.lang.String) > with params > [org.apache.cxf.jaxrs.swagger.Swagger2Feature$DefaultApplication@7fc8f668, > org.apache.cxf.jaxrs.swagger.SyntheticServletConfig@470a7e15, > org.apache.cxf.jaxrs.impl.HttpHeadersImpl@237f91e8, > org.apache.cxf.jaxrs.impl.UriInfoImpl@1ade3492, json]. > at > org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:166) > at > org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:140) > at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:193) > at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:103) > at > org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59) > at > org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96) > at > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) > at > org.apache.cxf.phase.PhaseInterceptorChain.resume(PhaseInterceptorChain.java:278) > at > org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78) > at > org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:267) > at > org.apache.cxf.transport.http_undertow.UndertowHTTPDestination.doS
[jira] [Comment Edited] (CXF-8116) Can't find a way to integrate the webjars "swaggerui" on OSGI Camel CXF Project
[ https://issues.apache.org/jira/browse/CXF-8116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16931180#comment-16931180 ] Marco Tenti edited comment on CXF-8116 at 9/17/19 8:29 AM: --- Sorry, i must be very stupid . If i install the webjars like a external dependecy bundle on my Karaf i must modify the OSGI Manifest ? for example in the "Import-Package" i must put the following line? {code} META-INF.resources.webjars.*;resolution:=optional, . {code} Maybe i make something wrong with the configuration? the attribute "runAsFilter" must be "false" for use the swaggerui ? was (Author: 4535992): Sorry, i mus be very stupid . If i install the webjars like a external dependecy bundle on my Karaf i must modify the OSGI Manifest ? for example in the "Import-Package" i must put the following line? {code} META-INF.resources.webjars.*;resolution:=optional, . {code} Maybe i make something wrong with the configuration? the attribute "runAsFilter" must be "false" for use the swaggerui ? > Can't find a way to integrate the webjars "swaggerui" on OSGI Camel CXF > Project > --- > > Key: CXF-8116 > URL: https://issues.apache.org/jira/browse/CXF-8116 > Project: CXF > Issue Type: Bug > Components: Bus, Documentation, JAX-RS, OSGi >Affects Versions: 3.2.7 >Reporter: Marco Tenti >Priority: Major > > Hi, i really need a full example for integrate the webjars "swaggerui" on > OSGI Camel CXF Project. > I followed the documentation and add the webjars swagger-ui on compile mode > on my pom.xml > I don't know why but my "Swagger2Feature" generate only the swagger.json > endpoint and never load the SwaggerUi page. > Here the blueprint.xml configuration i'm try to use: > {code:xml} > address="${https.serviceHost}:${https.servicePort}/cxf/my/rest" > id="rsServerTestServiceEndpointSSL" > loggingFeatureEnabled="true" loggingSizeLimit="20" > serviceClass="bug.test.endpoint.TestEndpoint" > staticSubresourceResolution="true"> > > > > > > > > > > > > > > > > > > class="org.apache.cxf.jaxrs.swagger.Swagger2Feature"> > value="${https.serviceHost}:${https.servicePort}"/> > value="${https.serviceHost}:${https.servicePort}/cxf/my/rest"/> > > > > > > > {code} > i even get this exception , but i don't know how resolve: > {code} > org.apache.cxf.interceptor.Fault: Direct self-reference leading to cycle > (through reference chain: > org.apache.cxf.message.MessageContentsList[1]->org.apache.cxf.jaxrs.swagger.SyntheticServletConfig["servletContext"]->io.undertow.servlet.spec.ServletContextImpl["deployment"]->io.undertow.servlet.core.DeploymentImpl["deploymentInfo"]->io.undertow.servlet.api.DeploymentInfo["classLoader"]->org.apache.camel.core.osgi.utils.BundleDelegatingClassLoader["bundle"]->org.apache.felix.framework.BundleImpl["bundle"]) > while invoking public javax.ws.rs.core.Response > io.swagger.jaxrs.listing.ApiListingResource.getListing(javax.ws.rs.core.Application,javax.servlet.ServletConfig,javax.ws.rs.core.HttpHeaders,javax.ws.rs.core.UriInfo,java.lang.String) > with params > [org.apache.cxf.jaxrs.swagger.Swagger2Feature$DefaultApplication@7fc8f668, > org.apache.cxf.jaxrs.swagger.SyntheticServletConfig@470a7e15, > org.apache.cxf.jaxrs.impl.HttpHeadersImpl@237f91e8, > org.apache.cxf.jaxrs.impl.UriInfoImpl@1ade3492, json]. > at > org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:166) > at > org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:140) > at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:193) > at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:103) > at > org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59) > at > org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96) > at > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) > at > org.apache.cxf.phase.PhaseInterceptorChain.resume(PhaseInterceptorChain.java:278) > at > org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78) > at > org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:267) > at > org.apache.cxf.transport.http_undertow.UndertowHTTPDestination
[jira] [Created] (CXF-8117) Make dependencies optional
David J. M. Karlsen created CXF-8117: Summary: Make dependencies optional Key: CXF-8117 URL: https://issues.apache.org/jira/browse/CXF-8117 Project: CXF Issue Type: Improvement Components: Core Affects Versions: 3.3.3 Reporter: David J. M. Karlsen cxf-core has dependencies to: +- org.jacorb:jacorb-omgapi:jar:3.7:compile [INFO] | | +- org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1:compile [INFO] | | \- org.jboss.spec.javax.rmi:jboss-rmi-api_1.0_spec:jar:1.0.6.Final:compile can these be made optional? I don't think they are needed in most cases. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Comment Edited] (CXF-8116) Can't find a way to integrate the webjars "swaggerui" on OSGI Camel CXF Project
[ https://issues.apache.org/jira/browse/CXF-8116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16931180#comment-16931180 ] Marco Tenti edited comment on CXF-8116 at 9/17/19 10:05 AM: Sorry, i must be very stupid . If i install the webjars like a external dependency bundle on my Karaf, i must modify the OSGI Manifest ? for example in the "Import-Package" i must put the following line? {code} META-INF.resources.webjars.*;resolution:=optional, . {code} Maybe i make something wrong with the configuration? the attribute "runAsFilter" must be "false" for use the swaggerui ? Now i see the docs-api url on CXF Service by set to false "runAsFilter": {code} Endpoint address: https://0.0.0.0:443/cxf/my/rest WADL : https://0.0.0.0:443/cxf/my/rest?_wadl Swagger : https://0.0.0.0:443/cxf/my/rest/api-docs?url=/cxf/my/rest/swagger.json {code} but still getting the exception: {code} org.apache.cxf.interceptor.Fault: No serializer found for class org.apache.cxf.jaxrs.impl.UriBuilderImpl and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.apache.cxf.message.MessageContentsList[0]->org.apache.cxf.jaxrs.impl.UriInfoImpl["requestUriBuilder"]) while invoking public javax.ws.rs.core.Response org.apache.cxf.jaxrs.swagger.SwaggerUiService.getResource(javax.ws.rs.core.UriInfo,java.lang.String) with params [org.apache.cxf.jaxrs.impl.UriInfoImpl@5c9e3cfa, ]. at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:166) at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:140) at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:193) at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:103) at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59) at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) at org.apache.cxf.phase.PhaseInterceptorChain.resume(PhaseInterceptorChain.java:278) at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78) at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:267) at org.apache.cxf.transport.http_undertow.UndertowHTTPDestination.doService(UndertowHTTPDestination.java:200) at org.apache.cxf.transport.http_undertow.CxfUndertowServlet.invoke(CxfUndertowServlet.java:52) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:301) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:225) at javax.servlet.http.HttpServlet.service(HttpServlet.java:645) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:276) at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74) at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68) at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) at io.undertow.servlet.handlers.ServletInitialHandler.dispatchToPath(ServletInitialHandler.java:209) at io.undertow.servlet.spec.AsyncContextImpl$2$1.handleRequest(AsyncContextImpl.java:194) at io.undertow.server.Connectors.executeRootHandler(Connectors.java:364) at io.undertow.servlet.spec.AsyncContextImpl$2.run(AsyncContextImpl.java:191) at io.undertow.servlet.spec.AsyncContextImpl$6.ru
[jira] [Comment Edited] (CXF-8116) Can't find a way to integrate the webjars "swaggerui" on OSGI Camel CXF Project
[ https://issues.apache.org/jira/browse/CXF-8116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16931431#comment-16931431 ] Marco Tenti edited comment on CXF-8116 at 9/17/19 1:10 PM: --- K after a while i discover the problem seem the Marshal tag on my route : https://github.com/p4535992/bug-load-swaggerui-blueprint/blob/master/src/main/resources/OSGI-INF/blueprint/blueprint.xml so i commented teh following part: {code} ... {code} Now i get this other error: {code} No message body writer has been found for class org.apache.cxf.message.MessageContentsList, ContentType: text/html {code} Any help? was (Author: 4535992): K after i while i discover the problem seem the Marshal tag on my route : https://github.com/p4535992/bug-load-swaggerui-blueprint/blob/master/src/main/resources/OSGI-INF/blueprint/blueprint.xml so i commented teh following part: {code} ... {code} Now i get this other error: {code} No message body writer has been found for class org.apache.cxf.message.MessageContentsList, ContentType: text/html {code} Any help? > Can't find a way to integrate the webjars "swaggerui" on OSGI Camel CXF > Project > --- > > Key: CXF-8116 > URL: https://issues.apache.org/jira/browse/CXF-8116 > Project: CXF > Issue Type: Bug > Components: Bus, Documentation, JAX-RS, OSGi >Affects Versions: 3.2.7 >Reporter: Marco Tenti >Priority: Major > > Hi, i really need a full example for integrate the webjars "swaggerui" on > OSGI Camel CXF Project. > I followed the documentation and add the webjars swagger-ui on compile mode > on my pom.xml > I don't know why but my "Swagger2Feature" generate only the swagger.json > endpoint and never load the SwaggerUi page. > Here the blueprint.xml configuration i'm try to use: > {code:xml} > address="${https.serviceHost}:${https.servicePort}/cxf/my/rest" > id="rsServerTestServiceEndpointSSL" > loggingFeatureEnabled="true" loggingSizeLimit="20" > serviceClass="bug.test.endpoint.TestEndpoint" > staticSubresourceResolution="true"> > > > > > > > > > > > > > > > > > > class="org.apache.cxf.jaxrs.swagger.Swagger2Feature"> > value="${https.serviceHost}:${https.servicePort}"/> > value="${https.serviceHost}:${https.servicePort}/cxf/my/rest"/> > > > > > > > {code} > i even get this exception , but i don't know how resolve: > {code} > org.apache.cxf.interceptor.Fault: Direct self-reference leading to cycle > (through reference chain: > org.apache.cxf.message.MessageContentsList[1]->org.apache.cxf.jaxrs.swagger.SyntheticServletConfig["servletContext"]->io.undertow.servlet.spec.ServletContextImpl["deployment"]->io.undertow.servlet.core.DeploymentImpl["deploymentInfo"]->io.undertow.servlet.api.DeploymentInfo["classLoader"]->org.apache.camel.core.osgi.utils.BundleDelegatingClassLoader["bundle"]->org.apache.felix.framework.BundleImpl["bundle"]) > while invoking public javax.ws.rs.core.Response > io.swagger.jaxrs.listing.ApiListingResource.getListing(javax.ws.rs.core.Application,javax.servlet.ServletConfig,javax.ws.rs.core.HttpHeaders,javax.ws.rs.core.UriInfo,java.lang.String) > with params > [org.apache.cxf.jaxrs.swagger.Swagger2Feature$DefaultApplication@7fc8f668, > org.apache.cxf.jaxrs.swagger.SyntheticServletConfig@470a7e15, > org.apache.cxf.jaxrs.impl.HttpHeadersImpl@237f91e8, > org.apache.cxf.jaxrs.impl.UriInfoImpl@1ade3492, json]. > at > org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:166) > at > org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:140) > at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:193) > at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:103) > at > org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59) > at > org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96) > at > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) > at > org.apache.cxf.phase.PhaseInterceptorChain.resume(PhaseInterceptorChain.java:278) > at > org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78) > at > org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:267) > at > org
[jira] [Commented] (CXF-8116) Can't find a way to integrate the webjars "swaggerui" on OSGI Camel CXF Project
[ https://issues.apache.org/jira/browse/CXF-8116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16931431#comment-16931431 ] Marco Tenti commented on CXF-8116: -- K after i while i discover the problem seem the Marshal tag on my route : https://github.com/p4535992/bug-load-swaggerui-blueprint/blob/master/src/main/resources/OSGI-INF/blueprint/blueprint.xml so i commented teh following part: {code} ... {code} Now i get this other error: {code} No message body writer has been found for class org.apache.cxf.message.MessageContentsList, ContentType: text/html {code} Any help? > Can't find a way to integrate the webjars "swaggerui" on OSGI Camel CXF > Project > --- > > Key: CXF-8116 > URL: https://issues.apache.org/jira/browse/CXF-8116 > Project: CXF > Issue Type: Bug > Components: Bus, Documentation, JAX-RS, OSGi >Affects Versions: 3.2.7 >Reporter: Marco Tenti >Priority: Major > > Hi, i really need a full example for integrate the webjars "swaggerui" on > OSGI Camel CXF Project. > I followed the documentation and add the webjars swagger-ui on compile mode > on my pom.xml > I don't know why but my "Swagger2Feature" generate only the swagger.json > endpoint and never load the SwaggerUi page. > Here the blueprint.xml configuration i'm try to use: > {code:xml} > address="${https.serviceHost}:${https.servicePort}/cxf/my/rest" > id="rsServerTestServiceEndpointSSL" > loggingFeatureEnabled="true" loggingSizeLimit="20" > serviceClass="bug.test.endpoint.TestEndpoint" > staticSubresourceResolution="true"> > > > > > > > > > > > > > > > > > > class="org.apache.cxf.jaxrs.swagger.Swagger2Feature"> > value="${https.serviceHost}:${https.servicePort}"/> > value="${https.serviceHost}:${https.servicePort}/cxf/my/rest"/> > > > > > > > {code} > i even get this exception , but i don't know how resolve: > {code} > org.apache.cxf.interceptor.Fault: Direct self-reference leading to cycle > (through reference chain: > org.apache.cxf.message.MessageContentsList[1]->org.apache.cxf.jaxrs.swagger.SyntheticServletConfig["servletContext"]->io.undertow.servlet.spec.ServletContextImpl["deployment"]->io.undertow.servlet.core.DeploymentImpl["deploymentInfo"]->io.undertow.servlet.api.DeploymentInfo["classLoader"]->org.apache.camel.core.osgi.utils.BundleDelegatingClassLoader["bundle"]->org.apache.felix.framework.BundleImpl["bundle"]) > while invoking public javax.ws.rs.core.Response > io.swagger.jaxrs.listing.ApiListingResource.getListing(javax.ws.rs.core.Application,javax.servlet.ServletConfig,javax.ws.rs.core.HttpHeaders,javax.ws.rs.core.UriInfo,java.lang.String) > with params > [org.apache.cxf.jaxrs.swagger.Swagger2Feature$DefaultApplication@7fc8f668, > org.apache.cxf.jaxrs.swagger.SyntheticServletConfig@470a7e15, > org.apache.cxf.jaxrs.impl.HttpHeadersImpl@237f91e8, > org.apache.cxf.jaxrs.impl.UriInfoImpl@1ade3492, json]. > at > org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:166) > at > org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:140) > at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:193) > at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:103) > at > org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59) > at > org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96) > at > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) > at > org.apache.cxf.phase.PhaseInterceptorChain.resume(PhaseInterceptorChain.java:278) > at > org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78) > at > org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:267) > at > org.apache.cxf.transport.http_undertow.UndertowHTTPDestination.doService(UndertowHTTPDestination.java:200) > at > org.apache.cxf.transport.http_undertow.CxfUndertowServlet.invoke(CxfUndertowServlet.java:52) > at > org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:301) > at > org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:225) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:645) > at
[jira] [Comment Edited] (CXF-8116) Can't find a way to integrate the webjars "swaggerui" on OSGI Camel CXF Project
[ https://issues.apache.org/jira/browse/CXF-8116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16931431#comment-16931431 ] Marco Tenti edited comment on CXF-8116 at 9/17/19 1:11 PM: --- K after a while i discover the problem seem the Marshal tag on my route : https://github.com/p4535992/bug-load-swaggerui-blueprint/blob/master/src/main/resources/OSGI-INF/blueprint/blueprint.xml so i commented the following part: {code} ... {code} Now i get this other error: {code} No message body writer has been found for class org.apache.cxf.message.MessageContentsList, ContentType: text/html {code} Any help? was (Author: 4535992): K after a while i discover the problem seem the Marshal tag on my route : https://github.com/p4535992/bug-load-swaggerui-blueprint/blob/master/src/main/resources/OSGI-INF/blueprint/blueprint.xml so i commented teh following part: {code} ... {code} Now i get this other error: {code} No message body writer has been found for class org.apache.cxf.message.MessageContentsList, ContentType: text/html {code} Any help? > Can't find a way to integrate the webjars "swaggerui" on OSGI Camel CXF > Project > --- > > Key: CXF-8116 > URL: https://issues.apache.org/jira/browse/CXF-8116 > Project: CXF > Issue Type: Bug > Components: Bus, Documentation, JAX-RS, OSGi >Affects Versions: 3.2.7 >Reporter: Marco Tenti >Priority: Major > > Hi, i really need a full example for integrate the webjars "swaggerui" on > OSGI Camel CXF Project. > I followed the documentation and add the webjars swagger-ui on compile mode > on my pom.xml > I don't know why but my "Swagger2Feature" generate only the swagger.json > endpoint and never load the SwaggerUi page. > Here the blueprint.xml configuration i'm try to use: > {code:xml} > address="${https.serviceHost}:${https.servicePort}/cxf/my/rest" > id="rsServerTestServiceEndpointSSL" > loggingFeatureEnabled="true" loggingSizeLimit="20" > serviceClass="bug.test.endpoint.TestEndpoint" > staticSubresourceResolution="true"> > > > > > > > > > > > > > > > > > > class="org.apache.cxf.jaxrs.swagger.Swagger2Feature"> > value="${https.serviceHost}:${https.servicePort}"/> > value="${https.serviceHost}:${https.servicePort}/cxf/my/rest"/> > > > > > > > {code} > i even get this exception , but i don't know how resolve: > {code} > org.apache.cxf.interceptor.Fault: Direct self-reference leading to cycle > (through reference chain: > org.apache.cxf.message.MessageContentsList[1]->org.apache.cxf.jaxrs.swagger.SyntheticServletConfig["servletContext"]->io.undertow.servlet.spec.ServletContextImpl["deployment"]->io.undertow.servlet.core.DeploymentImpl["deploymentInfo"]->io.undertow.servlet.api.DeploymentInfo["classLoader"]->org.apache.camel.core.osgi.utils.BundleDelegatingClassLoader["bundle"]->org.apache.felix.framework.BundleImpl["bundle"]) > while invoking public javax.ws.rs.core.Response > io.swagger.jaxrs.listing.ApiListingResource.getListing(javax.ws.rs.core.Application,javax.servlet.ServletConfig,javax.ws.rs.core.HttpHeaders,javax.ws.rs.core.UriInfo,java.lang.String) > with params > [org.apache.cxf.jaxrs.swagger.Swagger2Feature$DefaultApplication@7fc8f668, > org.apache.cxf.jaxrs.swagger.SyntheticServletConfig@470a7e15, > org.apache.cxf.jaxrs.impl.HttpHeadersImpl@237f91e8, > org.apache.cxf.jaxrs.impl.UriInfoImpl@1ade3492, json]. > at > org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:166) > at > org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:140) > at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:193) > at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:103) > at > org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59) > at > org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96) > at > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) > at > org.apache.cxf.phase.PhaseInterceptorChain.resume(PhaseInterceptorChain.java:278) > at > org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78) > at > org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:267) > at > org
[jira] [Assigned] (CXF-8117) Make dependencies optional
[ https://issues.apache.org/jira/browse/CXF-8117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Freeman Fang reassigned CXF-8117: - Assignee: Freeman Fang > Make dependencies optional > -- > > Key: CXF-8117 > URL: https://issues.apache.org/jira/browse/CXF-8117 > Project: CXF > Issue Type: Improvement > Components: Core >Affects Versions: 3.3.3 >Reporter: David J. M. Karlsen >Assignee: Freeman Fang >Priority: Trivial > > cxf-core has dependencies to: > +- org.jacorb:jacorb-omgapi:jar:3.7:compile > [INFO] | | +- > org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1:compile > [INFO] | | \- > org.jboss.spec.javax.rmi:jboss-rmi-api_1.0_spec:jar:1.0.6.Final:compile > can these be made optional? I don't think they are needed in most cases. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (CXF-8117) Make dependencies optional
[ https://issues.apache.org/jira/browse/CXF-8117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16931511#comment-16931511 ] Freeman Fang commented on CXF-8117: --- So far I don't think we should mark this as optional. You can only see it as dependency when using jdk11. In previous JDK the corba api is available in JDK by default, and in JDK11 we want to simulate same behavior as before, so users don't need to explicitly add corba api(or any other JEE api removed from JDK11) by themselves as long as they have CXF dependencies. Best Regards Freeman > Make dependencies optional > -- > > Key: CXF-8117 > URL: https://issues.apache.org/jira/browse/CXF-8117 > Project: CXF > Issue Type: Improvement > Components: Core >Affects Versions: 3.3.3 >Reporter: David J. M. Karlsen >Assignee: Freeman Fang >Priority: Trivial > > cxf-core has dependencies to: > +- org.jacorb:jacorb-omgapi:jar:3.7:compile > [INFO] | | +- > org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1:compile > [INFO] | | \- > org.jboss.spec.javax.rmi:jboss-rmi-api_1.0_spec:jar:1.0.6.Final:compile > can these be made optional? I don't think they are needed in most cases. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (CXF-8096) Adding LoggingFeature causes blocking read
[ https://issues.apache.org/jira/browse/CXF-8096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16931535#comment-16931535 ] Krisztian Kurucz commented on CXF-8096: --- Hi [~ffang] Thank you for your answer! Is it possible to fix that bad design? I think it is a bug instead of a feature. -Krisz > Adding LoggingFeature causes blocking read > -- > > Key: CXF-8096 > URL: https://issues.apache.org/jira/browse/CXF-8096 > Project: CXF > Issue Type: Bug > Components: logging >Affects Versions: 3.3.3 >Reporter: Krisztian Kurucz >Assignee: Freeman Fang >Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > Adding org.apache.cxf.feature.LoggingFeature to WebClient feature affects the > reading of the response is blocked until the stream will be closed. > Without LoggingFeature the response's input stream can be get immediately for > further processing. > error-prone line in WireTapIn::handleInputStream(Message, > InputStream)::Line92: > > {code:java} > IOUtils.copyAtLeast(bis, bos, limit == -1 ? Integer.MAX_VALUE : limit);{code} > -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Comment Edited] (CXF-8096) Adding LoggingFeature causes blocking read
[ https://issues.apache.org/jira/browse/CXF-8096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16931535#comment-16931535 ] Krisztian Kurucz edited comment on CXF-8096 at 9/17/19 2:47 PM: Hi [~ffang] Thank you for your answer! Is it possible to fix that bad design (e.g.: fix with FilterInputStreams)? I think it is a bug instead of a feature. -Krisz was (Author: kkurucz): Hi [~ffang] Thank you for your answer! Is it possible to fix that bad design? I think it is a bug instead of a feature. -Krisz > Adding LoggingFeature causes blocking read > -- > > Key: CXF-8096 > URL: https://issues.apache.org/jira/browse/CXF-8096 > Project: CXF > Issue Type: Bug > Components: logging >Affects Versions: 3.3.3 >Reporter: Krisztian Kurucz >Assignee: Freeman Fang >Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > Adding org.apache.cxf.feature.LoggingFeature to WebClient feature affects the > reading of the response is blocked until the stream will be closed. > Without LoggingFeature the response's input stream can be get immediately for > further processing. > error-prone line in WireTapIn::handleInputStream(Message, > InputStream)::Line92: > > {code:java} > IOUtils.copyAtLeast(bis, bos, limit == -1 ? Integer.MAX_VALUE : limit);{code} > -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (CXF-8116) Can't find a way to integrate the webjars "swaggerui" on OSGI Camel CXF Project
[ https://issues.apache.org/jira/browse/CXF-8116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16931549#comment-16931549 ] Andriy Redko commented on CXF-8116: --- Hi [~4535992], Regarding your first question, > If i install the webjars like a external dependency bundle on my Karaf, i > must modify the OSGI Manifest ? In case of CXF and Swagger UI, no, no changes needed in manifest. The way it works, briefly, the dedicated Activator for the bundle kicks in and tries to find the Swagger UI bundle in the current Karaf container. If one is present, Swagger UI is available, if not - not available. > Now i get this other error: I haven't had a chance to work with Camel closely, will try to find out what could be the issue, hope to update you shortly. > Can't find a way to integrate the webjars "swaggerui" on OSGI Camel CXF > Project > --- > > Key: CXF-8116 > URL: https://issues.apache.org/jira/browse/CXF-8116 > Project: CXF > Issue Type: Bug > Components: Bus, Documentation, JAX-RS, OSGi >Affects Versions: 3.2.7 >Reporter: Marco Tenti >Priority: Major > > Hi, i really need a full example for integrate the webjars "swaggerui" on > OSGI Camel CXF Project. > I followed the documentation and add the webjars swagger-ui on compile mode > on my pom.xml > I don't know why but my "Swagger2Feature" generate only the swagger.json > endpoint and never load the SwaggerUi page. > Here the blueprint.xml configuration i'm try to use: > {code:xml} > address="${https.serviceHost}:${https.servicePort}/cxf/my/rest" > id="rsServerTestServiceEndpointSSL" > loggingFeatureEnabled="true" loggingSizeLimit="20" > serviceClass="bug.test.endpoint.TestEndpoint" > staticSubresourceResolution="true"> > > > > > > > > > > > > > > > > > > class="org.apache.cxf.jaxrs.swagger.Swagger2Feature"> > value="${https.serviceHost}:${https.servicePort}"/> > value="${https.serviceHost}:${https.servicePort}/cxf/my/rest"/> > > > > > > > {code} > i even get this exception , but i don't know how resolve: > {code} > org.apache.cxf.interceptor.Fault: Direct self-reference leading to cycle > (through reference chain: > org.apache.cxf.message.MessageContentsList[1]->org.apache.cxf.jaxrs.swagger.SyntheticServletConfig["servletContext"]->io.undertow.servlet.spec.ServletContextImpl["deployment"]->io.undertow.servlet.core.DeploymentImpl["deploymentInfo"]->io.undertow.servlet.api.DeploymentInfo["classLoader"]->org.apache.camel.core.osgi.utils.BundleDelegatingClassLoader["bundle"]->org.apache.felix.framework.BundleImpl["bundle"]) > while invoking public javax.ws.rs.core.Response > io.swagger.jaxrs.listing.ApiListingResource.getListing(javax.ws.rs.core.Application,javax.servlet.ServletConfig,javax.ws.rs.core.HttpHeaders,javax.ws.rs.core.UriInfo,java.lang.String) > with params > [org.apache.cxf.jaxrs.swagger.Swagger2Feature$DefaultApplication@7fc8f668, > org.apache.cxf.jaxrs.swagger.SyntheticServletConfig@470a7e15, > org.apache.cxf.jaxrs.impl.HttpHeadersImpl@237f91e8, > org.apache.cxf.jaxrs.impl.UriInfoImpl@1ade3492, json]. > at > org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:166) > at > org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:140) > at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:193) > at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:103) > at > org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59) > at > org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96) > at > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) > at > org.apache.cxf.phase.PhaseInterceptorChain.resume(PhaseInterceptorChain.java:278) > at > org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78) > at > org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:267) > at > org.apache.cxf.transport.http_undertow.UndertowHTTPDestination.doService(UndertowHTTPDestination.java:200) > at > org.apache.cxf.transport.http_undertow.CxfUndertowServlet.invoke(CxfUndertowServlet.java:52) > at > org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:301) > at > o
[jira] [Commented] (CXF-8117) Make dependencies optional
[ https://issues.apache.org/jira/browse/CXF-8117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16931651#comment-16931651 ] David J. M. Karlsen commented on CXF-8117: -- But are jta, rmi and corba really necessary for most uses? To me this just seems like ancient cruft. > Make dependencies optional > -- > > Key: CXF-8117 > URL: https://issues.apache.org/jira/browse/CXF-8117 > Project: CXF > Issue Type: Improvement > Components: Core >Affects Versions: 3.3.3 >Reporter: David J. M. Karlsen >Assignee: Freeman Fang >Priority: Trivial > > cxf-core has dependencies to: > +- org.jacorb:jacorb-omgapi:jar:3.7:compile > [INFO] | | +- > org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1:compile > [INFO] | | \- > org.jboss.spec.javax.rmi:jboss-rmi-api_1.0_spec:jar:1.0.6.Final:compile > can these be made optional? I don't think they are needed in most cases. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (CXF-8117) Make dependencies optional
[ https://issues.apache.org/jira/browse/CXF-8117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16931676#comment-16931676 ] Freeman Fang commented on CXF-8117: --- The main idea here isn't necessary or not for most users, it's about to keep same behaviour as previous jdk even using jdk11. > Make dependencies optional > -- > > Key: CXF-8117 > URL: https://issues.apache.org/jira/browse/CXF-8117 > Project: CXF > Issue Type: Improvement > Components: Core >Affects Versions: 3.3.3 >Reporter: David J. M. Karlsen >Assignee: Freeman Fang >Priority: Trivial > > cxf-core has dependencies to: > +- org.jacorb:jacorb-omgapi:jar:3.7:compile > [INFO] | | +- > org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1:compile > [INFO] | | \- > org.jboss.spec.javax.rmi:jboss-rmi-api_1.0_spec:jar:1.0.6.Final:compile > can these be made optional? I don't think they are needed in most cases. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Created] (CXF-8118) CXF LoggingInInterceptor: CachedWriter leaks
Freeman Fang created CXF-8118: - Summary: CXF LoggingInInterceptor: CachedWriter leaks Key: CXF-8118 URL: https://issues.apache.org/jira/browse/CXF-8118 Project: CXF Issue Type: Bug Reporter: Freeman Fang when Reader is dectected in Message, will create CachedWriter for logging, but never close this CachedWriter. Which will cause there's always a reference in CachedWriter.streamList(never empty), so can't delete the tmp file on the disk -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Assigned] (CXF-8118) CXF LoggingInInterceptor: CachedWriter leaks
[ https://issues.apache.org/jira/browse/CXF-8118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Freeman Fang reassigned CXF-8118: - Assignee: Freeman Fang > CXF LoggingInInterceptor: CachedWriter leaks > > > Key: CXF-8118 > URL: https://issues.apache.org/jira/browse/CXF-8118 > Project: CXF > Issue Type: Bug >Reporter: Freeman Fang >Assignee: Freeman Fang >Priority: Major > > when Reader is dectected in Message, will create CachedWriter for logging, > but never close this CachedWriter. Which will cause there's always a > reference in CachedWriter.streamList(never empty), so can't delete the tmp > file on the disk -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (CXF-8116) Can't find a way to integrate the webjars "swaggerui" on OSGI Camel CXF Project
[ https://issues.apache.org/jira/browse/CXF-8116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16931803#comment-16931803 ] Andriy Redko commented on CXF-8116: --- Hey [~4535992], So there are certainly issues with the way Swagger UI is currently integrated and Apache Camel. You can make it work, but the approach is fragile to changes. Essentially, the problem is with that responses returned by SwaggerUiResource are not **reusable** (but Camel applies a number of processors to it). I don't know the best way to deal with that (may be you could exclude certain routes or URLs), but one way to make your example work is: # Disable *trace="false"* {code:java} http://camel.apache.org/schema/blueprint";> {code} # Disable streamCache=false {code:java} {code} # Add *?performInvocation=true&bindingStyle=SimpleConsumer* to *_from1ServerTestServiceEndpointSSL* {code:java} {code} # Remove all {code:java} {code} # Remove ** {code:java} {code} I feel like getting Swagger UI working with Camel and CXF requires too much tuning right now. > Can't find a way to integrate the webjars "swaggerui" on OSGI Camel CXF > Project > --- > > Key: CXF-8116 > URL: https://issues.apache.org/jira/browse/CXF-8116 > Project: CXF > Issue Type: Bug > Components: Bus, Documentation, JAX-RS, OSGi >Affects Versions: 3.2.7 >Reporter: Marco Tenti >Priority: Major > > Hi, i really need a full example for integrate the webjars "swaggerui" on > OSGI Camel CXF Project. > I followed the documentation and add the webjars swagger-ui on compile mode > on my pom.xml > I don't know why but my "Swagger2Feature" generate only the swagger.json > endpoint and never load the SwaggerUi page. > Here the blueprint.xml configuration i'm try to use: > {code:xml} > address="${https.serviceHost}:${https.servicePort}/cxf/my/rest" > id="rsServerTestServiceEndpointSSL" > loggingFeatureEnabled="true" loggingSizeLimit="20" > serviceClass="bug.test.endpoint.TestEndpoint" > staticSubresourceResolution="true"> > > > > > > > > > > > > > > > > > > class="org.apache.cxf.jaxrs.swagger.Swagger2Feature"> > value="${https.serviceHost}:${https.servicePort}"/> > value="${https.serviceHost}:${https.servicePort}/cxf/my/rest"/> > > > > > > > {code} > i even get this exception , but i don't know how resolve: > {code} > org.apache.cxf.interceptor.Fault: Direct self-reference leading to cycle > (through reference chain: > org.apache.cxf.message.MessageContentsList[1]->org.apache.cxf.jaxrs.swagger.SyntheticServletConfig["servletContext"]->io.undertow.servlet.spec.ServletContextImpl["deployment"]->io.undertow.servlet.core.DeploymentImpl["deploymentInfo"]->io.undertow.servlet.api.DeploymentInfo["classLoader"]->org.apache.camel.core.osgi.utils.BundleDelegatingClassLoader["bundle"]->org.apache.felix.framework.BundleImpl["bundle"]) > while invoking public javax.ws.rs.core.Response > io.swagger.jaxrs.listing.ApiListingResource.getListing(javax.ws.rs.core.Application,javax.servlet.ServletConfig,javax.ws.rs.core.HttpHeaders,javax.ws.rs.core.UriInfo,java.lang.String) > with params > [org.apache.cxf.jaxrs.swagger.Swagger2Feature$DefaultApplication@7fc8f668, > org.apache.cxf.jaxrs.swagger.SyntheticServletConfig@470a7e15, > org.apache.cxf.jaxrs.impl.HttpHeadersImpl@237f91e8, > org.apache.cxf.jaxrs.impl.UriInfoImpl@1ade3492, json]. > at > org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:166) > at > org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:140) > at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:193) > at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:103) > at > org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59) > at > org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96) > at > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) > at > org.apache.cxf.phase.PhaseInterceptorChain.resume(PhaseInterceptorChain.java:278) > at > org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78) > at > org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:267) > at > org.apache.cxf.transport.h
[jira] [Comment Edited] (CXF-8116) Can't find a way to integrate the webjars "swaggerui" on OSGI Camel CXF Project
[ https://issues.apache.org/jira/browse/CXF-8116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16931803#comment-16931803 ] Andriy Redko edited comment on CXF-8116 at 9/17/19 8:48 PM: Hey [~4535992], So there are certainly issues with the way Swagger UI is currently integrated and Apache Camel. You can make it work, but the approach is fragile to changes. Essentially, the problem is with that responses returned by SwaggerUiResource are not **reusable** (but Camel applies a number of processors to it). I don't know the best way to deal with that (may be you could exclude certain routes or URLs), but one way to make your example work is: - disable *trace="false"* {code:java} http://camel.apache.org/schema/blueprint";> {code} - disable *streamCache=false* {code:java} {code} - add *?performInvocation=true&bindingStyle=SimpleConsumer* to *_from1ServerTestServiceEndpointSSL* {code:java} {code} - remove all {code:java} {code} - remove ** {code:java} {code} I feel like getting Swagger UI working with Camel and CXF requires too much tuning right now. was (Author: reta): Hey [~4535992], So there are certainly issues with the way Swagger UI is currently integrated and Apache Camel. You can make it work, but the approach is fragile to changes. Essentially, the problem is with that responses returned by SwaggerUiResource are not **reusable** (but Camel applies a number of processors to it). I don't know the best way to deal with that (may be you could exclude certain routes or URLs), but one way to make your example work is: # Disable *trace="false"* {code:java} http://camel.apache.org/schema/blueprint";> {code} # Disable streamCache=false {code:java} {code} # Add *?performInvocation=true&bindingStyle=SimpleConsumer* to *_from1ServerTestServiceEndpointSSL* {code:java} {code} # Remove all {code:java} {code} # Remove ** {code:java} {code} I feel like getting Swagger UI working with Camel and CXF requires too much tuning right now. > Can't find a way to integrate the webjars "swaggerui" on OSGI Camel CXF > Project > --- > > Key: CXF-8116 > URL: https://issues.apache.org/jira/browse/CXF-8116 > Project: CXF > Issue Type: Bug > Components: Bus, Documentation, JAX-RS, OSGi >Affects Versions: 3.2.7 >Reporter: Marco Tenti >Priority: Major > > Hi, i really need a full example for integrate the webjars "swaggerui" on > OSGI Camel CXF Project. > I followed the documentation and add the webjars swagger-ui on compile mode > on my pom.xml > I don't know why but my "Swagger2Feature" generate only the swagger.json > endpoint and never load the SwaggerUi page. > Here the blueprint.xml configuration i'm try to use: > {code:xml} > address="${https.serviceHost}:${https.servicePort}/cxf/my/rest" > id="rsServerTestServiceEndpointSSL" > loggingFeatureEnabled="true" loggingSizeLimit="20" > serviceClass="bug.test.endpoint.TestEndpoint" > staticSubresourceResolution="true"> > > > > > > > > > > > > > > > > > > class="org.apache.cxf.jaxrs.swagger.Swagger2Feature"> > value="${https.serviceHost}:${https.servicePort}"/> > value="${https.serviceHost}:${https.servicePort}/cxf/my/rest"/> > > > > > > > {code} > i even get this exception , but i don't know how resolve: > {code} > org.apache.cxf.interceptor.Fault: Direct self-reference leading to cycle > (through reference chain: > org.apache.cxf.message.MessageContentsList[1]->org.apache.cxf.jaxrs.swagger.SyntheticServletConfig["servletContext"]->io.undertow.servlet.spec.ServletContextImpl["deployment"]->io.undertow.servlet.core.DeploymentImpl["deploymentInfo"]->io.undertow.servlet.api.DeploymentInfo["classLoader"]->org.apache.camel.core.osgi.utils.BundleDelegatingClassLoader["bundle"]->org.apache.felix.framework.BundleImpl["bundle"]) > while invoking public javax.ws.rs.core.Response > io.swagger.jaxrs.listing.ApiListingResource.getListing(javax.ws.rs.core.Application,javax.servlet.ServletConfig,javax.ws.rs.core.HttpHeaders,javax.ws.rs.core.UriInfo,java.lang.String) > with params > [org.apache.cxf.jaxrs.swagger.Swagger2Feature$DefaultApplication@7fc8f668, > org.apache.cxf.jaxrs.swagger.SyntheticServletConfig@470a7e15, > org.apache.cxf.jaxrs.impl.HttpHeadersImpl@237f91e8, > org.apache.cxf.jaxrs.impl.UriInfoImpl@1ade3492, json]. > at > org.apache.cxf.service.invok
[jira] [Comment Edited] (CXF-8116) Can't find a way to integrate the webjars "swaggerui" on OSGI Camel CXF Project
[ https://issues.apache.org/jira/browse/CXF-8116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16931803#comment-16931803 ] Andriy Redko edited comment on CXF-8116 at 9/17/19 8:48 PM: Hey [~4535992], So there are certainly issues with the way Swagger UI is currently integrated and Apache Camel. You can make it work, but the approach is fragile to changes. Essentially, the problem is with that responses returned by SwaggerUiResource are not **reusable** (but Camel applies a number of processors to it). I don't know the best way to deal with that (may be you could exclude certain routes or URLs), but one way to make your example work is: - disable *trace="false"* {code:java} http://camel.apache.org/schema/blueprint";> {code} - disable *streamCache=false* {code:java} {code} - add *?performInvocation=true&bindingStyle=SimpleConsumer* to *_from1ServerTestServiceEndpointSSL* {code:java} {code} - remove all ** {code:java} {code} - remove ** {code:java} {code} I feel like getting Swagger UI working with Camel and CXF requires too much tuning right now. was (Author: reta): Hey [~4535992], So there are certainly issues with the way Swagger UI is currently integrated and Apache Camel. You can make it work, but the approach is fragile to changes. Essentially, the problem is with that responses returned by SwaggerUiResource are not **reusable** (but Camel applies a number of processors to it). I don't know the best way to deal with that (may be you could exclude certain routes or URLs), but one way to make your example work is: - disable *trace="false"* {code:java} http://camel.apache.org/schema/blueprint";> {code} - disable *streamCache=false* {code:java} {code} - add *?performInvocation=true&bindingStyle=SimpleConsumer* to *_from1ServerTestServiceEndpointSSL* {code:java} {code} - remove all {code:java} {code} - remove ** {code:java} {code} I feel like getting Swagger UI working with Camel and CXF requires too much tuning right now. > Can't find a way to integrate the webjars "swaggerui" on OSGI Camel CXF > Project > --- > > Key: CXF-8116 > URL: https://issues.apache.org/jira/browse/CXF-8116 > Project: CXF > Issue Type: Bug > Components: Bus, Documentation, JAX-RS, OSGi >Affects Versions: 3.2.7 >Reporter: Marco Tenti >Priority: Major > > Hi, i really need a full example for integrate the webjars "swaggerui" on > OSGI Camel CXF Project. > I followed the documentation and add the webjars swagger-ui on compile mode > on my pom.xml > I don't know why but my "Swagger2Feature" generate only the swagger.json > endpoint and never load the SwaggerUi page. > Here the blueprint.xml configuration i'm try to use: > {code:xml} > address="${https.serviceHost}:${https.servicePort}/cxf/my/rest" > id="rsServerTestServiceEndpointSSL" > loggingFeatureEnabled="true" loggingSizeLimit="20" > serviceClass="bug.test.endpoint.TestEndpoint" > staticSubresourceResolution="true"> > > > > > > > > > > > > > > > > > > class="org.apache.cxf.jaxrs.swagger.Swagger2Feature"> > value="${https.serviceHost}:${https.servicePort}"/> > value="${https.serviceHost}:${https.servicePort}/cxf/my/rest"/> > > > > > > > {code} > i even get this exception , but i don't know how resolve: > {code} > org.apache.cxf.interceptor.Fault: Direct self-reference leading to cycle > (through reference chain: > org.apache.cxf.message.MessageContentsList[1]->org.apache.cxf.jaxrs.swagger.SyntheticServletConfig["servletContext"]->io.undertow.servlet.spec.ServletContextImpl["deployment"]->io.undertow.servlet.core.DeploymentImpl["deploymentInfo"]->io.undertow.servlet.api.DeploymentInfo["classLoader"]->org.apache.camel.core.osgi.utils.BundleDelegatingClassLoader["bundle"]->org.apache.felix.framework.BundleImpl["bundle"]) > while invoking public javax.ws.rs.core.Response > io.swagger.jaxrs.listing.ApiListingResource.getListing(javax.ws.rs.core.Application,javax.servlet.ServletConfig,javax.ws.rs.core.HttpHeaders,javax.ws.rs.core.UriInfo,java.lang.String) > with params > [org.apache.cxf.jaxrs.swagger.Swagger2Feature$DefaultApplication@7fc8f668, > org.apache.cxf.jaxrs.swagger.SyntheticServletConfig@470a7e15, > org.apache.cxf.jaxrs.impl.HttpHeadersImpl@237f91e8, > org.apache.cxf.jaxrs.impl.UriInfoImpl@1ade3492, json]. > at > org.apache.cxf.service.invoker.Ab