Hi On Tue, Nov 23, 2010 at 3:32 PM, Michael Illgner < [email protected]> wrote:
> Hi Sergey > Thanks for the answer > > So for a "quick" solution with the existing version we have to unpack > the single bundle distribution and patch the required files or build > our own version from the maven repository ? > > I'd probably go for patching the single bundle distro. If you can afford working with the trunk (1.3-SNAPSHOT) then it would be even better :-). The idea was that if a user specifies an 'org.apache.cxf.ws.config.external' or 'org.apache.cxf.rs.config.external' property pointing to a classpath resource, then DSW handlers would use BusFactory to create a Bus from this external config and then may be set it as a default one, before creating a service endpoint or proxy. cheers, Sergey 2010/11/23 Sergey Beryozkin <[email protected]>: > > Hi Michael, David > > > > sorry for a delay. At the moment it is basically impossible to reuse the > > low-level CXF Jetty configuration; perhaps some configuration can be done > at > > the pax level. > > We;ve been talking about the possibility of enhancing the DSW so that it > > could also load existing CXF configuration resources where some bits > which > > are not easily expressible via intents can be configured. > > I might give it a go - but I'll need to find some time for working on > it... > > cheers, Sergey > > > > On Tue, Nov 23, 2010 at 3:15 PM, Michael Illgner < > > [email protected]> wrote: > > > >> No one with an idea ? > >> How can I increase the number of worker threads in the embedded server ? > >> > >> 2010/11/22 David Bosschaert <[email protected]>: > >> > Hi Michael, > >> > > >> > I have never tried this at all and this might very well fall into the > >> > area where Sergey suggested to provide external configuration to > >> > DOSGi. > >> > Sergey would you have any thoughts here? > >> > > >> > Cheers, > >> > > >> > David > >> > > >> > On 22 November 2010 10:18, Michael Illgner > >> > <[email protected]> wrote: > >> >> Hi folks > >> >> I am using the version 1.2 single-bundle-distribution for exposing an > >> >> OSGi service as a webservice and it is working like a charm. But I > >> >> have some difficulties configuring the embedded jetty server, e.g. > for > >> >> increasing the number of worker threads, possible incoming > >> >> connections, using HTTPS etc. I have found this documentation > >> >> http://cxf.apache.org/docs/jetty-configuration.html but I do not > >> >> understand how to apply this information for the single bundle > >> >> distribution. > >> >> Do I have to unpack the distribution files and change some of the > >> >> "internal" files (default-web.xml) ? > >> >> Is there any simple example for jetty configuration available ? > >> >> > >> >> Thanks in advance > >> >> Michael > >> >> > >> > > >> > > >
