Hi,

this is actually quite easy :-)

You just need to configure the jetty.xml file which should be placed
in the etc folder.
Since I'm not sure which version of Servicemix you're using and
therefore which version of Karaf
I don't know if it's already placed there by the time you start your
Servicemix.

There is also some Documentation for support of extended configuration
http://team.ops4j.org/wiki/display/paxweb/Advanced+Jetty+Configuration
see "using external jetty.xml file" on how to get this going :-)

Just in case you also need special ContextHandler support take a look
at "Adding specialized ContextHandlers"

Regards, Achim

2011/7/25 Shamik Bandopadhyay <[email protected]>:
> Hi,
>
>  I'm using embedded jetty server in servicemix OSGi framework. I've a
> requirement of two ports for the same web application. I can configure
> jetty.xml to have two connectors which listens to two ports. But not sure
> how to do it when ops4j web is used underneath. Servicemix is using ops4j
> web and the only placeholder is the following :
>
> org.osgi.service.http.port=8011
>
> It only allows a single port number.
>
> I've seen a similar requirement being raised a while back. The issue was
> resolved saying that the feature is already supported with jetty.xml. The
> link provided in the resolution is dead and I'm not able to find any
> document related to this.
>
> http://team.ops4j.org/browse/PAXWEB-184
> Any pointer will be highly appreciated.
>
> - Thanks
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general
>
>



-- 
--
*Achim Nierbeck*


Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
Committer & Project Lead
blog <http://notizblog.nierbeck.de/>

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to