RE : Re: Is there a way to start 2 Http service on 2 different port?

2010-02-01 Thread Cotonéa Loic
You're right. However some port forwarding firewall rules can be a work around to the ip binding problem. For the moment, I think that I will simply use 2 Osgi container: one for the frontend web application, and another one for the backend web application. Le 2 févr. 2010 06:55, "Rob Walker" a

Re: Is there a way to start 2 Http service on 2 different port?

2010-02-01 Thread Rob Walker
If I understand you correctly, as well as the problem of different ports, and Richard's point on how to tell which HttpService to register aliases with (which could be worked around by convention that the HttpService publishes it's port as a service property - something I think we mod'd the ori

Re: Embed-Dependency equivalent for just BND

2010-02-01 Thread Craig Ching
On Mon, Feb 1, 2010 at 11:07 PM, Stuart McCulloch wrote: > Well -exportcontents should never inline anything - it only updates the > list > of exported packages. > I think something else was going on, I've successfully used > Include-Resource, Bundle-ClassPath > and -exportcontents to embed JARs

Re: Embed-Dependency equivalent for just BND

2010-02-01 Thread Stuart McCulloch
On 2 February 2010 12:48, Craig Ching wrote: > On Mon, Feb 1, 2010 at 10:41 PM, Stuart McCulloch > wrote: > > > On 2 February 2010 04:00, Ching, Craig wrote: > > > > > > wrt. automatically setting the Export-Package list from the packages in > > embedded jar > > neither the bundleplugin or Bnd

Re: Embed-Dependency equivalent for just BND

2010-02-01 Thread Craig Ching
> > > one last thing: for dynamic wrapping of jars take a look at > http://wiki.ops4j.org/display/paxurl/Wrap+Protocol > > Yeah, I had this working, but I'd implemented it at runtime and had to manually install the resulting bundle and start the dependent bundles and ended up not liking that soluti

Re: Embed-Dependency equivalent for just BND

2010-02-01 Thread Craig Ching
On Mon, Feb 1, 2010 at 10:41 PM, Stuart McCulloch wrote: > On 2 February 2010 04:00, Ching, Craig wrote: > > > wrt. automatically setting the Export-Package list from the packages in > embedded jar > neither the bundleplugin or Bnd Tool do this - the bundleplugin sets > Export-Package to > be th

Re: Embed-Dependency equivalent for just BND

2010-02-01 Thread Craig Ching
On Mon, Feb 1, 2010 at 10:28 PM, Stuart McCulloch wrote: > On 2 February 2010 04:00, Ching, Craig wrote: > > > The Embed-Dependency instruction is specific to the maven-bundle-plugin > because > the Bnd Tool does not know anything about Maven or its artifact dependency > graph. > > Think of it a

Re: Embed-Dependency equivalent for just BND

2010-02-01 Thread Stuart McCulloch
On 2 February 2010 12:41, Stuart McCulloch wrote: > On 2 February 2010 04:00, Ching, Craig wrote: > >> Hi all, >> >> You could probably say this is off-topic for this list and more of a BND >> issue, but I know that there is a lot of BND knowledge here and I want to >> mimic what the maven bundl

Re: Embed-Dependency equivalent for just BND

2010-02-01 Thread Stuart McCulloch
On 2 February 2010 04:00, Ching, Craig wrote: > Hi all, > > You could probably say this is off-topic for this list and more of a BND > issue, but I know that there is a lot of BND knowledge here and I want to > mimic what the maven bundle plugin does with pure BND as much as I can. I > need the

Re: Embed-Dependency equivalent for just BND

2010-02-01 Thread Stuart McCulloch
On 2 February 2010 04:00, Ching, Craig wrote: > Hi all, > > You could probably say this is off-topic for this list and more of a BND > issue, but I know that there is a lot of BND knowledge here and I want to > mimic what the maven bundle plugin does with pure BND as much as I can. I > need the

Embed-Dependency equivalent for just BND

2010-02-01 Thread Ching, Craig
Hi all, You could probably say this is off-topic for this list and more of a BND issue, but I know that there is a lot of BND knowledge here and I want to mimic what the maven bundle plugin does with pure BND as much as I can. I need the functionality of maven bundle plugin's "Embed-Dependency

RE: Is there a way to start 2 Http service on 2 different port?

2010-02-01 Thread Loïc Cotonea
Richard has summarized my potential responses :) Here the reason why: My aim is to have 2 web application in the same OSGI container (1 OSGI container consumes less memory than 2 OSGI container). The first application is dedicated to public http requests, and the second application is dedicated

Embed-Dependency equivalent in plain ol' BND

2010-02-01 Thread Craig Ching
Hi all, You could probably say this is off-topic for this list and more of a BND issue, but I know that there is a lot of BND knowledge here and I want to mimic what the maven bundle plugin does with pure BND as much as I can. I need the functionality of maven bundle plugin’s “Embed-Dependency”

Re: Is there a way to start 2 Http service on 2 different port?

2010-02-01 Thread Charles Moulliard
So. Let's wait Loic feedback ;-) Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com twitter : http://twitter.com/cmoulliard Linkedlin : http://www.linkedin.com/in/charlesmoulliard Apache Camel Group : http://ww

Re: Is there a way to start 2 Http service on 2 different port?

2010-02-01 Thread Richard S. Hall
On 2/1/10 11:19, Charles Moulliard wrote: Loic, There is an alternative to Apache Felix HTTP Service. You can use PAX Web osgi bundles to configure one or several jetty instances. Here is the doc : http://wiki.ops4j.org/display/paxweb/Advanced+Jetty+Configuration but What would you like to do

Re: Is there a way to start 2 Http service on 2 different port?

2010-02-01 Thread Charles Moulliard
Loic, There is an alternative to Apache Felix HTTP Service. You can use PAX Web osgi bundles to configure one or several jetty instances. Here is the doc : http://wiki.ops4j.org/display/paxweb/Advanced+Jetty+Configuration but What would you like to do with two separate HTTP instances (using a di

Re: Is there a way to start 2 Http service on 2 different port?

2010-02-01 Thread Richard S. Hall
On 2/1/10 10:15, Charles Moulliard wrote: Hi Loïc, You can change the port number. It is explained here : http://felix.apache.org/site/apache-felix-http-service.html Section : Configuration Properties The service can both be configured using OSGi environment properties and using Configuratio

Re: Is there a way to start 2 Http service on 2 different port?

2010-02-01 Thread Charles Moulliard
Hi Loïc, You can change the port number. It is explained here : http://felix.apache.org/site/apache-felix-http-service.html Section : Configuration Properties The service can both be configured using OSGi environment properties and using Configuration Admin. The service PID for this service is

Is there a way to start 2 Http service on 2 different port?

2010-02-01 Thread Loïc Cotonea
Hi everybody, My web application is using an http service that listen on a network port. This port is reserved to frontend communication. However, I would know if there is a way to open a second http service on another network port to serve some backend http requests? Thanks Loïc

Re: IPOJO integration with Eclipse problem

2010-02-01 Thread Dimitris Karteris
I followed the instructions and everything worked fine! The tricky thing here is to force the re-build of the project! thanx for your time Clement, ~dkart On Sat, Jan 30, 2010 at 10:38 AM, Clement Escoffier wrote: > Hi, > > So, I looked to the project. The issue comes from a Manifest errror. Th