port 8181 is the default pax-web port on Karaf ... so maybe you have another Karaf running?
regards, Achim 2016-11-02 16:28 GMT+01:00 Benson Margulies <[email protected]>: > I am trying pax-web outside of Karaf for the first time. I get several > instances of the following warning about the address being in use. I'm > debugging, but does this ring any bells? > > > 1:13:05.703 [CM Configuration Updater (ManagedService Update: > pid=[org.apache.cxf.osgi])] WARN o.e.j.u.component.AbstractLifeCycle > - FAILED default@3cdbe014{HTTP/1.1}{0.0.0.0:8181}: > java.net.BindException: Address already in use > java.net.BindException: Address already in use > at sun.nio.ch.Net.bind0(Native Method) ~[na:1.8.0_60] > at sun.nio.ch.Net.bind(Net.java:433) ~[na:1.8.0_60] > at sun.nio.ch.Net.bind(Net.java:425) ~[na:1.8.0_60] > at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java: > 223) > ~[na:1.8.0_60] > at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) > ~[na:1.8.0_60] > at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:321) > ~[org.eclipse.jetty-jetty-server-9.2.17.v20160517.jar:9.2.17.v20160517] > at org.eclipse.jetty.server.AbstractNetworkConnector.doStart( > AbstractNetworkConnector.java:80) > ~[org.eclipse.jetty-jetty-server-9.2.17.v20160517.jar:9.2.17.v20160517] > at org.eclipse.jetty.server.ServerConnector.doStart( > ServerConnector.java:236) > ~[org.eclipse.jetty-jetty-server-9.2.17.v20160517.jar:9.2.17.v20160517] > at org.eclipse.jetty.util.component.AbstractLifeCycle. > start(AbstractLifeCycle.java:68) > [org.eclipse.jetty-jetty-util-9.2.17.v20160517.jar:9.2.17.v20160517] > at org.eclipse.jetty.server.Server.doStart(Server.java:366) > [org.eclipse.jetty-jetty-server-9.2.17.v20160517.jar:9.2.17.v20160517] > at org.eclipse.jetty.util.component.AbstractLifeCycle. > start(AbstractLifeCycle.java:68) > [org.eclipse.jetty-jetty-util-9.2.17.v20160517.jar:9.2.17.v20160517] > at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl$1.start( > JettyServerImpl.java:287) > [org.ops4j.pax.web-pax-web-jetty-4.2.8.jar:na] > at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet( > HttpServiceStarted.java:221) > [org.ops4j.pax.web-pax-web-runtime-4.2.8.jar:na] > at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet( > HttpServiceStarted.java:195) > [org.ops4j.pax.web-pax-web-runtime-4.2.8.jar:na] > at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet( > HttpServiceStarted.java:179) > [org.ops4j.pax.web-pax-web-runtime-4.2.8.jar:na] > at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerServlet( > HttpServiceProxy.java:64) > [org.ops4j.pax.web-pax-web-runtime-4.2.8.jar:na] > at org.apache.cxf.transport.http.osgi.ServletExporter.updated( > ServletExporter.java:92) > [org.apache.cxf-cxf-rt-transports-http-3.1.4.jar:3.1.4] > at org.apache.felix.cm.impl.helper.ManagedServiceTracker. > updated(ManagedServiceTracker.java:189) > [org.apache.felix-org.apache.felix.configadmin-1.8.10.jar:na] > at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService( > ManagedServiceTracker.java:152) > [org.apache.felix-org.apache.felix.configadmin-1.8.10.jar:na] > at org.apache.felix.cm.impl.helper.ManagedServiceTracker. > provideConfiguration(ManagedServiceTracker.java:85) > [org.apache.felix-org.apache.felix.configadmin-1.8.10.jar:na] > at org.apache.felix.cm.impl.ConfigurationManager$ > ManagedServiceUpdate.provide(ConfigurationManager.java:1453) > [org.apache.felix-org.apache.felix.configadmin-1.8.10.jar:na] > at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run( > ConfigurationManager.java:1409) > [org.apache.felix-org.apache.felix.configadmin-1.8.10.jar:na] > at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:141) > [org.apache.felix-org.apache.felix.configadmin-1.8.10.jar:na] > at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:109) > [org.apache.felix-org.apache.felix.configadmin-1.8.10.jar:na] > at java.lang.Thread.run(Thread.java:745) [na:1.8.0_60] > > -- > -- > ------------------ > OPS4J - http://www.ops4j.org - [email protected] > > --- > You received this message because you are subscribed to the Google Groups > "OPS4J" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Apache Member 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/> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> Software Architect / Project Manager / Scrum Master -- -- ------------------ OPS4J - http://www.ops4j.org - [email protected] --- You received this message because you are subscribed to the Google Groups "OPS4J" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
