Hey Michael,
Ensure that http service port is not in use (8181). If http service is not 
present the logs about that occurs earlier, during Karaf startup.

Best regards,
Lukasz Dywicki
--
Code-House
http://code-house.org

Wiadomość napisana przez Michael Szalay w dniu 22 mar 2012, o godz. 07:56:

> Hi all
> 
> I have a non-reproducable problem with pax-web. Sometimes, the httpService 
> does not start with this message:
> 
> 2012-03-19 18:50:29,111 | INFO  | rint Extender: 2 | HttpServiceFactoryImpl   
>         | .internal.HttpServiceFactoryIm​pl   33 | 69 - 
> org.ops4j.pax.web.pax-web-runt​ime - 1.0.7 | Binding bundle: 
> [com.szalay.football.app [115]] to http service
> 2012-03-19 18:50:29,115 | INFO  | rint Extender: 2 | HttpServiceFactoryImpl   
>         | .internal.HttpServiceFactoryIm​pl   40 | 69 - 
> org.ops4j.pax.web.pax-web-runt​ime - 1.0.7 | Unbinding bundle: 
> [com.szalay.football.app [115]]
> 2012-03-19 18:50:29,118 | INFO  | rint Extender: 2 | HttpServiceFactoryImpl   
>         | .internal.HttpServiceFactoryIm​pl   33 | 69 - 
> org.ops4j.pax.web.pax-web-runt​ime - 1.0.7 | Binding bundle: 
> [com.szalay.football.app [115]] to http service
> 2012-03-19 18:50:29,119 | WARN  | rint Extender: 2 | HttpServiceStopped       
>         | vice.internal.HttpServiceStopp​ed  142 | 69 - 
> org.ops4j.pax.web.pax-web-runt​ime - 1.0.7 | Http service has already been 
> stopped
> 2012-03-19 18:50:29,119 | WARN  | rint Extender: 2 | HttpServiceStopped       
>         | vice.internal.HttpServiceStopp​ed   45 | 69 - 
> org.ops4j.pax.web.pax-web-runt​ime - 1.0.7 | Http service has already been 
> stopped
> 
> Its not reproducable, sometimes it starts, sometimes it does not. I'm using 
> the servlet whiteboard model to bind my servlets to the HttpService, but I 
> also had the problem when using the HttpService api directly.
> 
> Anyone knows something about this?
> 
> Regards Michael
> 
> --
> Michael Szalay
> Senior Software Engineer
> 
> basis06 AG, Birkenweg 61, CH-3013 Bern - Fon +41 31 311 32 22
> http://www.basis06.ch - source of smart business

Reply via email to