Can you have two servlets referring to the same Spring configuration (via
the context parameter) which defines two endpoints (possibly reusing the
same service bean) ?

cheers, Sergey


On Fri, Nov 12, 2010 at 4:59 PM, Conficio <[email protected]> wrote:

>
> Thanks Willem for the reply.
>
> I'm not sure how I make the Servlets start one by one. I certainly don't
> want to make them single threaded ;-)
>
> As mentioned I can't even get the single Servlet with a
>
>   <init-param>
>      <param-name>config-location</param-name>
>      <param-value>/WEB-INF/private.xml</param-value>
>    </init-param>
>
> working. It does not seem to publish any services, despite the fact that it
> does log about publishing the services.
>
> I was thinking if multiple bus IDs would be a solution/workaround. It
> appears the Abstract Servlet does accept a bus.id as init param. In that
> case would I need to create each bus in the spring config in order to give
> it it's ID?
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/separate-CXFServlet-for-private-API-s-tp3261355p3262404.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>

Reply via email to