[jira] [Resolved] (CXF-7512) Swagger UI does not work for CXF-DOSGi mutli bundle distro
[ https://issues.apache.org/jira/browse/CXF-7512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Beryozkin resolved CXF-7512. --- Resolution: Fixed "swagger-ui" is part of the resource path to the root, so not sure making it configurable was needed. The existing resolver is already iterating over all the bundles, so I simply updated it to check the local entry if no user-provided maven coordinates were available, if found it would be preferred over the default Maven based location > Swagger UI does not work for CXF-DOSGi mutli bundle distro > -- > > Key: CXF-7512 > URL: https://issues.apache.org/jira/browse/CXF-7512 > Project: CXF > Issue Type: Bug >Reporter: Christian Schneider >Assignee: Sergey Beryozkin > > In karaf the swagger UI works fine but not in the multi bundle distro. > The bug is in org.apache.cxf.jaxrs.swagger.OsgiSwaggerUiResolver. There the > swagger UI is detected. Unfortunately the detection is based on the bundle > location and only works for maven uri based deployments. As the mutli bundle > distro is deployed using files it fails. > I will change the detection to scan for the swagger webbundle by detecting > the signature resource /META-INF/resources/swagger-ui. This approach should > make the detection more robust regarding different packagings and deployments. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (CXF-7510) SSE integration abruptly fails with no indication why
[ https://issues.apache.org/jira/browse/CXF-7510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16191073#comment-16191073 ] Sergey Beryozkin commented on CXF-7510: --- Hi John - can you please attach a test project, Andriy may spot something... > SSE integration abruptly fails with no indication why > - > > Key: CXF-7510 > URL: https://issues.apache.org/jira/browse/CXF-7510 > Project: CXF > Issue Type: Bug >Reporter: John D. Ament > > https://lists.apache.org/thread.html/10d99c0d013a3d23361a3898171e7bd2b311a509349433db3b6cacaa@%3Cusers.cxf.apache.org%3E > has more details > Intermittently, when bootstrapping CXF + CDI, the integration for SSE will > fail. When it fails, there's no log messages indicating the issue, however > attempts to invoke any rest endpoint will give a warning like: > {code} > Sep 17, 2017 7:50:33 PM org.apache.cxf.transport.servlet.ServletController > invoke > WARNING: Can't find the request for http://my-hostname:4403/rest's Observer > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (CXF-7510) SSE integration abruptly fails with no indication why
[ https://issues.apache.org/jira/browse/CXF-7510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16191123#comment-16191123 ] John D. Ament commented on CXF-7510: I'll see if I can put something together. It is easiest to replicate in a unit test. If I point you to an existing github repo would that work for you? > SSE integration abruptly fails with no indication why > - > > Key: CXF-7510 > URL: https://issues.apache.org/jira/browse/CXF-7510 > Project: CXF > Issue Type: Bug >Reporter: John D. Ament > > https://lists.apache.org/thread.html/10d99c0d013a3d23361a3898171e7bd2b311a509349433db3b6cacaa@%3Cusers.cxf.apache.org%3E > has more details > Intermittently, when bootstrapping CXF + CDI, the integration for SSE will > fail. When it fails, there's no log messages indicating the issue, however > attempts to invoke any rest endpoint will give a warning like: > {code} > Sep 17, 2017 7:50:33 PM org.apache.cxf.transport.servlet.ServletController > invoke > WARNING: Can't find the request for http://my-hostname:4403/rest's Observer > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (CXF-7510) SSE integration abruptly fails with no indication why
[ https://issues.apache.org/jira/browse/CXF-7510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16191169#comment-16191169 ] Sergey Beryozkin commented on CXF-7510: --- Sure, please paste a link, that may work for [~reta] > SSE integration abruptly fails with no indication why > - > > Key: CXF-7510 > URL: https://issues.apache.org/jira/browse/CXF-7510 > Project: CXF > Issue Type: Bug >Reporter: John D. Ament > > https://lists.apache.org/thread.html/10d99c0d013a3d23361a3898171e7bd2b311a509349433db3b6cacaa@%3Cusers.cxf.apache.org%3E > has more details > Intermittently, when bootstrapping CXF + CDI, the integration for SSE will > fail. When it fails, there's no log messages indicating the issue, however > attempts to invoke any rest endpoint will give a warning like: > {code} > Sep 17, 2017 7:50:33 PM org.apache.cxf.transport.servlet.ServletController > invoke > WARNING: Can't find the request for http://my-hostname:4403/rest's Observer > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (CXF-7510) SSE integration abruptly fails with no indication why
[ https://issues.apache.org/jira/browse/CXF-7510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16191242#comment-16191242 ] Andriy Redko commented on CXF-7510: --- Thanks [~johndament]. We should be able to discover the features automatically, I will try to reproduce the problem as well. > SSE integration abruptly fails with no indication why > - > > Key: CXF-7510 > URL: https://issues.apache.org/jira/browse/CXF-7510 > Project: CXF > Issue Type: Bug >Reporter: John D. Ament > > https://lists.apache.org/thread.html/10d99c0d013a3d23361a3898171e7bd2b311a509349433db3b6cacaa@%3Cusers.cxf.apache.org%3E > has more details > Intermittently, when bootstrapping CXF + CDI, the integration for SSE will > fail. When it fails, there's no log messages indicating the issue, however > attempts to invoke any rest endpoint will give a warning like: > {code} > Sep 17, 2017 7:50:33 PM org.apache.cxf.transport.servlet.ServletController > invoke > WARNING: Can't find the request for http://my-hostname:4403/rest's Observer > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Assigned] (CXF-7510) SSE integration abruptly fails with no indication why
[ https://issues.apache.org/jira/browse/CXF-7510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andriy Redko reassigned CXF-7510: - Assignee: Andriy Redko > SSE integration abruptly fails with no indication why > - > > Key: CXF-7510 > URL: https://issues.apache.org/jira/browse/CXF-7510 > Project: CXF > Issue Type: Bug >Reporter: John D. Ament >Assignee: Andriy Redko > > https://lists.apache.org/thread.html/10d99c0d013a3d23361a3898171e7bd2b311a509349433db3b6cacaa@%3Cusers.cxf.apache.org%3E > has more details > Intermittently, when bootstrapping CXF + CDI, the integration for SSE will > fail. When it fails, there's no log messages indicating the issue, however > attempts to invoke any rest endpoint will give a warning like: > {code} > Sep 17, 2017 7:50:33 PM org.apache.cxf.transport.servlet.ServletController > invoke > WARNING: Can't find the request for http://my-hostname:4403/rest's Observer > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (CXF-7510) SSE integration in CDI abruptly fails with no indication why
[ https://issues.apache.org/jira/browse/CXF-7510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andriy Redko updated CXF-7510: -- Summary: SSE integration in CDI abruptly fails with no indication why (was: SSE integration abruptly fails with no indication why) > SSE integration in CDI abruptly fails with no indication why > > > Key: CXF-7510 > URL: https://issues.apache.org/jira/browse/CXF-7510 > Project: CXF > Issue Type: Bug >Reporter: John D. Ament >Assignee: Andriy Redko > > https://lists.apache.org/thread.html/10d99c0d013a3d23361a3898171e7bd2b311a509349433db3b6cacaa@%3Cusers.cxf.apache.org%3E > has more details > Intermittently, when bootstrapping CXF + CDI, the integration for SSE will > fail. When it fails, there's no log messages indicating the issue, however > attempts to invoke any rest endpoint will give a warning like: > {code} > Sep 17, 2017 7:50:33 PM org.apache.cxf.transport.servlet.ServletController > invoke > WARNING: Can't find the request for http://my-hostname:4403/rest's Observer > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (CXF-7226) Getting
[ https://issues.apache.org/jira/browse/CXF-7226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16191407#comment-16191407 ] Atle Tokle commented on CXF-7226: - I tried the solution from [~niralo] on my system with weblogic 12.2.1.2.0, but had no success. Then I found an alternative solution on oracle support using wlst to do almost the same, but it include also another setting that I was not able to find from the admin console. replace user, password, url and mydomain with relevant data for your system and run these commands from wlst. {code} connect('user','password','url') domainConfig() edit() cd('CdiContainer/mydomain') startEdit() set('ImplicitBeanDiscoveryEnabled',0) // 1 to enable 0 to disable set('Policy','Disabled') // 'Enabled' to enable 'Disabled' to disable validate() save() activate(block="true") {code} The case from oracle support also had an alternative solution, to keep CDI active on the server, but disable it in each deploy using this config in weblogic.xml {code} Disabled {code} I have not verified that yet > Getting --- > > Key: CXF-7226 > URL: https://issues.apache.org/jira/browse/CXF-7226 > Project: CXF > Issue Type: Bug > Components: Core >Affects Versions: 2.7.8 > Environment: Weblogic 12.2.1.2 >Reporter: Nir Alon > > Hi, > We have the below problem during start of weblogic version 12.2.1.2 > Same application is deployed successfully on weblogic 12.1.3 and tomcat. > we experience the problem with CXF 2.7.8 and also with the latest CXF version. > Also same error appears on our services which used @resource annotation. > resource-env-ref > 'org.apache.cxf.jaxrs.interceptor.AttachmentInputInterceptor/supportedTypes' > declared in the standard descriptor or annotation has no JNDI name mapped to > it. The resource-env-ref must be mapped to a JNDI name using the > resource-env-description element of the weblogic proprietary descriptor or > corresponding annotation.> > resource-env-ref 'cxf' declared in the standard descriptor or annotation has > no JNDI name mapped to it. The resource-env-ref must be mapped to a JNDI name > using the resource-env-description element of the weblogic proprietary > descriptor or corresponding annotation.> > resource-env-ref > 'org.apache.cxf.service.factory.FactoryBeanListenerManager/bus' declared in > the standard descriptor or annotation has no JNDI name mapped to it. The > resource-env-ref must be mapped to a JNDI name using the > resource-env-description element of the weblogic proprietary descriptor or > corresponding annotation.> > resource-env-ref > 'org.apache.cxf.jaxws.context.WebServiceContextResourceResolver/bus' declared > in the standard descriptor or annotation has no JNDI name mapped to it. The > resource-env-ref must be mapped to a JNDI name using the > resource-env-description element of the weblogic proprietary descriptor or > corresponding annotation.> > resource-env-ref 'org.apache.cxf.bus.managers.WorkQueueManagerImpl/bus' > declared in the standard descriptor or annotation has no JNDI name mapped to > it. The resource-env-ref must be mapped to a JNDI name using the > resource-env-description element of the weblogic proprietary descriptor or > corresponding annotation.> > resource-env-ref 'org.apache.cxf.ws.policy.PolicyEngineImpl/bus' declared in > the standard descriptor or annotation has no JNDI name mapped to it. The > resource-env-ref must be mapped to a JNDI name using the > resource-env-description element of the weblogic proprietary descriptor or > corresponding annotation.> > resource-env-ref 'org.apache.cxf.binding.corba.runtime.OrbConfigurer/bus' > declared in the standard descriptor or annotation has no JNDI name mapped to > it. The resource-env-ref must be mapped to a JNDI name using the > resource-env-description element of the weblogic proprietary descriptor or > corresponding annotation.> > resource-env-ref 'org.apache.cxf.catalog.OASISCatalogManager/bus' declared in > the standard descriptor or annotation has no JNDI name mapped to it. The > resource-env-ref must be mapped to a JNDI name using the > resource-env-description element of the weblogic proprietary descriptor or > corresponding annotation.> > resource-env-ref 'org.apache.cxf.bus.managers.BindingFactoryManagerImpl/bus' > declared in the standard descriptor or annotation has no JNDI name mapped to > it. The resource-env-ref must be mapped to a JNDI name using the > resource-env-description element of the weblogic proprietary descriptor or > corresponding annotation.> > resource-env-ref 'org.apache.cxf.ws.rm.RMManager/bus' declared in the > standard descriptor or annotation has no JNDI name mapped to it. The > resour