You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Tobias Wunden <to...@entwinemedia.com> on 2012/02/15 13:40:26 UTC

HttpService not opening a port

Dear all,

Using Apache Felix 4.0.2, I have deployed the following bundles:

  ID|State      |Level|Name
   0|Active     |    0|System Bundle (4.0.2)
   1|Active     |    6|Apache Felix Bundle Repository (1.6.6)
   2|Active     |    6|Apache Felix Gogo Command (0.12.0)
   3|Active     |    6|Apache Felix Gogo Runtime (0.10.0)
   4|Active     |    6|Apache Felix Gogo Shell (0.10.0)
   5|Active     |    1|osgi.cmpn (4.2.0.200908310645)
   6|Active     |    1|osgi.enterprise (4.2.0.201003190513)
   7|Active     |    1|Apache Felix Configuration Admin Service (1.2.8)
   8|Active     |    1|OPS4J Pax ConfMan - Properties Loader (0.2.2)
   9|Active     |    1|OPS4J Pax Logging - API (1.6.4)
  10|Active    |    1|OPS4J Pax Logging - Service (1.6.4)
  11|Active    |    1|Apache Felix Declarative Services (1.6.0)
  12|Active    |    1|Apache Felix Http Bundle (2.2.0)
  13|Active    |    1|Apache Felix Web Management Console (3.1.8)

The problem I am facing is that the HttpService does not open a port (verified using netstat). If I replace the HttpBundle with the new Lightweight HTTP Service Complete bundle, Port 8080 is being opened and the management console is reachable.

Am I missing anything obvious?

Thanks,
Tobias
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: HttpService not opening a port

Posted by Tobias Wunden <to...@entwinemedia.com>.
Hi Jerome,

thanks for the quick answer! I read on the HttpService documentation page [1] that the "Apache Felix Http Bundle" is all-in-one, therefore I assumed that it would include all the other bundles listed (including jetty): "org.apache.felix.http.bundle - All in one bundle that includes all of the above.".

Thanks!
Tobias

[1]  http://felix.apache.org/site/apache-felix-http-service.html

On 15.02.2012, at 13:42, jerome moliere wrote:

> Hi Tobias,
> as far as I can see you forgot to put in place the jetty bundle..;
> You have  the API but no implementation so no port bound.....
> 
> HTH
> J.MOLIERE - Mentor/J
> auteur Eyrolles
> blog: http://romjethoughts.blogspot.com
> OSGi book available now!!!
> 
> 
> 
> 2012/2/15 Tobias Wunden <to...@entwinemedia.com>:
>> Dear all,
>> 
>> Using Apache Felix 4.0.2, I have deployed the following bundles:
>> 
>>  ID|State      |Level|Name
>>   0|Active     |    0|System Bundle (4.0.2)
>>   1|Active     |    6|Apache Felix Bundle Repository (1.6.6)
>>   2|Active     |    6|Apache Felix Gogo Command (0.12.0)
>>   3|Active     |    6|Apache Felix Gogo Runtime (0.10.0)
>>   4|Active     |    6|Apache Felix Gogo Shell (0.10.0)
>>   5|Active     |    1|osgi.cmpn (4.2.0.200908310645)
>>   6|Active     |    1|osgi.enterprise (4.2.0.201003190513)
>>   7|Active     |    1|Apache Felix Configuration Admin Service (1.2.8)
>>   8|Active     |    1|OPS4J Pax ConfMan - Properties Loader (0.2.2)
>>   9|Active     |    1|OPS4J Pax Logging - API (1.6.4)
>>  10|Active    |    1|OPS4J Pax Logging - Service (1.6.4)
>>  11|Active    |    1|Apache Felix Declarative Services (1.6.0)
>>  12|Active    |    1|Apache Felix Http Bundle (2.2.0)
>>  13|Active    |    1|Apache Felix Web Management Console (3.1.8)
>> 
>> The problem I am facing is that the HttpService does not open a port (verified using netstat). If I replace the HttpBundle with the new Lightweight HTTP Service Complete bundle, Port 8080 is being opened and the management console is reachable.
>> 
>> Am I missing anything obvious?
>> 
>> Thanks,
>> Tobias
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: HttpService not opening a port

Posted by jerome moliere <je...@gmail.com>.
Hi Tobias,
as far as I can see you forgot to put in place the jetty bundle..;
You have  the API but no implementation so no port bound.....

HTH
J.MOLIERE - Mentor/J
auteur Eyrolles
blog: http://romjethoughts.blogspot.com
OSGi book available now!!!



2012/2/15 Tobias Wunden <to...@entwinemedia.com>:
> Dear all,
>
> Using Apache Felix 4.0.2, I have deployed the following bundles:
>
>  ID|State      |Level|Name
>   0|Active     |    0|System Bundle (4.0.2)
>   1|Active     |    6|Apache Felix Bundle Repository (1.6.6)
>   2|Active     |    6|Apache Felix Gogo Command (0.12.0)
>   3|Active     |    6|Apache Felix Gogo Runtime (0.10.0)
>   4|Active     |    6|Apache Felix Gogo Shell (0.10.0)
>   5|Active     |    1|osgi.cmpn (4.2.0.200908310645)
>   6|Active     |    1|osgi.enterprise (4.2.0.201003190513)
>   7|Active     |    1|Apache Felix Configuration Admin Service (1.2.8)
>   8|Active     |    1|OPS4J Pax ConfMan - Properties Loader (0.2.2)
>   9|Active     |    1|OPS4J Pax Logging - API (1.6.4)
>  10|Active    |    1|OPS4J Pax Logging - Service (1.6.4)
>  11|Active    |    1|Apache Felix Declarative Services (1.6.0)
>  12|Active    |    1|Apache Felix Http Bundle (2.2.0)
>  13|Active    |    1|Apache Felix Web Management Console (3.1.8)
>
> The problem I am facing is that the HttpService does not open a port (verified using netstat). If I replace the HttpBundle with the new Lightweight HTTP Service Complete bundle, Port 8080 is being opened and the management console is reachable.
>
> Am I missing anything obvious?
>
> Thanks,
> Tobias
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org