I've recently used CXF JaxRS to create an OSGi R7 remote services
distribution provider [1][2]. It currently extends the
CXFNonSpringJaxrsServlet [3], and creates a new servlet for each
exported endpoint.
I would prefer not to do this...rather I would like to create a single
servlet and
FYI: OSGI R7 Remote Services [1] defines 4 new standard intents:
osgi.basic, osgi.async, osgi.private, and osgi.confidential.
Scott
[1]
https://osgi.org/specification/osgi.cmpn/7.0.0/service.remoteservices.html#i1693415
On 4/17/2018 12:03 AM, nino martinez wael wrote:
Hi
Im wondering
:
Mainly you just need to make sure it uses the same Bus, I believe. What
OSGi container? Why are you registering the server yourself? CXF has good
support for OSGi already.
On Tue, Mar 20, 2018 at 2:37 PM Scott Lewis <sle...@composent.com> wrote:
Thanks James,
I'm using the OSGi HttpS
add all the providers you want. You can check out Microbule for inspiration:
https://github.com/Microbule/microbule
On Tue, Mar 20, 2018 at 1:34 PM Scott Lewis <sle...@composent.com> wrote:
I'm programmatically using cxf in an osgi environment. I'm using the
servlet
, Mar 20, 2018 at 1:34 PM Scott Lewis <sle...@composent.com> wrote:
I'm programmatically using cxf in an osgi environment. I'm using the
servlet class: org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet,
and want to create and an impl of javax.ws.rs.core.Configurable to
register extension
:37 PM Scott Lewis <sle...@composent.com> wrote:
Thanks James,
I'm using the OSGi HttpService and registering a
CXFNonSpringJaxrsServlet instance at runtime. I don't quite understand
how to use the JaxrsServerBeanFactory with the HttpService/servlet. By
chance do you have an e
I'm programmatically using cxf in an osgi environment. I'm using the
servlet class: org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet,
and want to create and an impl of javax.ws.rs.core.Configurable to
register extensions (e.g. json support, etc).
Is there a cxf jaxrs impl of
described.
Thanksinadvance,
Scott
Den lør. 20. okt. 2018 kl. 23:32 skrev Scott Lewis :
Hi,
Using OSGi HttpService, if I register more than one instance of
CXFNonSpringJaxrsServlet...i.e. at different aliases...then I get an
exception. For example if I have two aliases
'/foo' -> instanc
around this?
Scott
On 10/21/2018 9:53 AM, Scott Lewis wrote:
On 10/21/2018 2:38 AM, David Karlsen wrote:
If you have separate CxfBus'es per servlet it should work AFAIK.
It seems that by default in the superclass
org.apache.cxf.transport.servlet.CXFNonSpringServlet.init(ServletConfig
Scott Lewis :
Separate bus instances are created for the CXFNonSpringServlets init,
but what apparently blows up is the create/use/start of more than one
org.apache.cxf.endpoint.ServerImpl instance at: at
org.apache.cxf.endpoint.ServerImpl.start(ServerImpl.java:123).
Any insights on how to avoid
Hi,
Using OSGi HttpService, if I register more than one instance of
CXFNonSpringJaxrsServlet...i.e. at different aliases...then I get an
exception. For example if I have two aliases
'/foo' -> instance 1 of CXFNonSpringJaxrsServlet
'/bar' -> instance 2 of CXFNonSpringJaxrsServlet
on the
Hi Folks,
There's a new version of the ECF JaxRS Distribution Provider [1]. This
provider implements OSGi R7 Remote Services [2] via the JaxRS support in
Apache CXF 3.3 or Jersey 2.28.
In practice, this means that any JaxRS-annotated service can be exported
as a Remote Service in any
Howdy,
I'm extending this class:
org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet extends
CXFNonSpringServlet.
I would like to be able to do a similar thing to what was done by JB
with CXFNonSpringServlet but rather by extending CXFNonSpringJaxrsServlet.
Currently, as shown here [1],
I'm trying to use CXF with Bndtools 4.3. Bndtools has a launcher that
by default sets the start level of all bundles to the same value.
When I use this launcher to start an app that uses CXF I get
ClassNotFoundExceptions such as these:
Exception in thread
Hi JB,
On 11/5/2019 11:24 PM, Jean-Baptiste Onofré wrote:
Hi,
Do you really ned the JAXRS servlet ?
Starting from CXF NonSpring Servlet, you can mimic the JAXRS servlet.
I know. In fact I'm already doing that, but it's a pain to have that
extra code in my codebase that I'm not at all
On 11/5/2019 11:23 PM, Jean-Baptiste Onofré wrote:
Hi Scott,
Do you have cxf-jaxrs bundle installed and corresponding packages imported ?
Yes. Should have said that.
Thanks,
Scott
if there are any issues with it.
Colm.
On Wed, Nov 6, 2019 at 7:18 PM Scott Lewis wrote:
Hi JB,
On 11/5/2019 11:24 PM, Jean-Baptiste Onofré wrote:
Hi,
Do you really ned the JAXRS servlet ?
Starting from CXF NonSpring Servlet, you can mimic the JAXRS servlet.
I know. In fact I'm already doing
17 matches
Mail list logo