You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2016/01/06 09:46:39 UTC
[jira] [Commented] (KARAF-4248) Cannot start HTTP service
[ https://issues.apache.org/jira/browse/KARAF-4248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15085218#comment-15085218 ]
Jean-Baptiste Onofré commented on KARAF-4248:
---------------------------------------------
It's normal: if you just install the http feature, but you don't have any application that use it, the Jetty connectors are not started.
For instance, install the webconsole feature, and the HTTP port will be bound.
> Cannot start HTTP service
> -------------------------
>
> Key: KARAF-4248
> URL: https://issues.apache.org/jira/browse/KARAF-4248
> Project: Karaf
> Issue Type: Bug
> Components: karaf-feature
> Affects Versions: 4.0.3
> Environment: apache-karaf-4.0.3.tar.gz
> mac os x yosemite (10.10.5) and ubuntu 12.04
> Reporter: Lijun Liao
>
> After the installation of feature http, the TCP port 8181 for HTTP will not be opened.
> Command:
> karaf@root()> feature:install http
> Log:
> 2016-01-06 09:23:42,430 | INFO | pool-40-thread-1 | log | 74 - org.eclipse.jetty.util - 9.2.10.v2015031
> 0 | Logging initialized @46923ms
> 2016-01-06 09:23:42,501 | INFO | pool-40-thread-1 | JettyFactoryImpl | 86 - org.ops4j.pax.web.pax-web-jetty - 4.2.3 | SPDY not available, creating standard ServerConnector for Http
> 2016-01-06 09:23:42,508 | INFO | pool-40-thread-1 | JettyServerImpl | 86 - org.ops4j.pax.web.pax-web-jetty - 4.2.3 | Pax Web available at [0.0.0.0]:[8181]
> Output of OS-shell:
> dummy:apache-karaf-4.0.3 foo$ lsof -i -n -P | grep java
> java 23005 foo 29u IPv6 0x8ea42b064e5b46d1 0t0 TCP *:61260 (LISTEN)
> java 23005 foo 51u IPv6 0x8ea42b064e5b41d1 0t0 TCP 127.0.0.1:61261 (LISTEN)
> java 23005 foo 97u IPv6 0x8ea42b064e5b3cd1 0t0 TCP *:1099 (LISTEN)
> java 23005 foo 98u IPv6 0x8ea42b066f22d7d1 0t0 TCP *:44444 (LISTEN)
> java 23005 foo 105u IPv6 0x8ea42b065644f2d1 0t0 TCP *:8101 (LISTEN)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)