No I meant, did you check with netstat that the port 8081 is not already taken by another process ?

Do you have something else in the log ?

Regards
JB

On 11/18/2014 10:20 AM, Srikanth Hugar wrote:
Port is not bound in centos, but its is fine  in windows with same jetty
connectors available in jetty.XML

On 18-Nov-2014 2:45 pm, "Jean-Baptiste Onofré" <[email protected]
<mailto:[email protected]>> wrote:

    Don't you have the port already bound ?

    Regards
    JB

    On 11/18/2014 10:11 AM, Srikanth Hugar wrote:

        I have a very strange problem, pax-web jetty is not getting
        started in
        cent-os, but same works fine in windows. What could be the issue?

        Please find the logs


        *Cent-OS*
        08:08:46.658 [FelixStartLevel] INFO
           o.a.k.f.internal.__FeaturesServiceImpl - Installing feature
        spring
        3.2.8.RELEASE-1.0.0-SNAPSHOT
        08:08:51.967 [FelixStartLevel] INFO
        o.a.a.b.c.__BlueprintContainerImpl -
        Bundle org.apache.karaf.features.__command is waiting for namespace
        handlers [http://karaf.apache.org/__xmlns/shell/v1.1.0
        <http://karaf.apache.org/xmlns/shell/v1.1.0>]
        08:08:52.128 [FelixStartLevel] INFO
        o.a.a.b.c.__BlueprintContainerImpl -
        Bundle org.apache.karaf.shell.console is waiting for dependencies
        [(objectClass=org.apache.__felix.service.threadio.__ThreadIO),
        (objectClass=org.apache.felix.__service.command.__CommandProcessor)]
        08:08:52.227 [Blueprint Extender: 2] INFO
           o.a.a.b.c.__BlueprintContainerImpl - Bundle
        org.apache.karaf.shell.console is waiting for dependencies
        [(objectClass=org.apache.__felix.service.command.__CommandProcessor)]
        08:08:52.260 [FelixStartLevel] INFO
        o.a.a.b.c.__BlueprintContainerImpl -
        Bundle org.apache.karaf.instance.__command is waiting for namespace
        handlers [http://karaf.apache.org/__xmlns/shell/v1.1.0
        <http://karaf.apache.org/xmlns/shell/v1.1.0>]
        08:08:52.270 [FelixStartLevel] INFO
        o.a.a.b.c.__BlueprintContainerImpl -
        Bundle org.apache.karaf.jaas.command is waiting for namespace
        handlers
        [http://karaf.apache.org/__xmlns/shell/v1.1.0
        <http://karaf.apache.org/xmlns/shell/v1.1.0>]
        08:08:52.446 [Blueprint Extender: 3] INFO
           o.a.k.s.s.i.__SecuredCommandConfigTransforme__r - Generating
        command ACL
        config org.apache.karaf.command.acl.__feature into service ACL
        configs
        [org.apache.karaf.service.acl.__command.feature.uninstall,
        org.apache.karaf.service.acl.__command.feature.install]
        08:08:52.453 [Blueprint Extender: 3] INFO
           o.a.k.s.s.i.__SecuredCommandConfigTransforme__r - Generating
        command ACL
        config org.apache.karaf.command.acl.__jaas into service ACL configs
        [org.apache.karaf.service.acl.__command.jaas.update]
        08:08:52.457 [Blueprint Extender: 3] INFO
           o.a.k.s.s.i.__SecuredCommandConfigTransforme__r - Generating
        command ACL
        config org.apache.karaf.command.acl.__config into service ACL
        configs
        [org.apache.karaf.service.acl.__command.config.property-set,
        org.apache.karaf.service.acl.__command.config.delete,
        org.apache.karaf.service.acl.__command.config.cancel,
        org.apache.karaf.service.acl.__command.config.update,
        org.apache.karaf.service.acl.__command.config.property-__delete,
        org.apache.karaf.service.acl.__command.config.property-__append,
        org.apache.karaf.service.acl.__command.config.edit]
        08:08:52.473 [Blueprint Extender: 3] INFO
           o.a.k.s.s.i.__SecuredCommandConfigTransforme__r - Generating
        command ACL
        config org.apache.karaf.command.acl.__shell into service ACL configs
        [org.apache.karaf.service.acl.__command.shell.java,
        org.apache.karaf.service.acl.__command.shell.edit,
        org.apache.karaf.service.acl.__command.shell.exec,
        org.apache.karaf.service.acl.__command.shell.new]
        08:08:52.481 [Blueprint Extender: 3] INFO
           o.a.k.s.s.i.__SecuredCommandConfigTransforme__r - Generating
        command ACL
        config org.apache.karaf.command.acl.__system into service ACL
        configs
        [org.apache.karaf.service.acl.__command.system.start-level,
        org.apache.karaf.service.acl.__command.system.shutdown,
        org.apache.karaf.service.acl.__command.system.property]
        08:08:52.497 [Blueprint Extender: 3] INFO
           o.a.k.s.s.i.__SecuredCommandConfigTransforme__r - Generating
        command ACL
        config org.apache.karaf.command.acl.__kar into service ACL configs
        [org.apache.karaf.service.acl.__command.kar.install,
        org.apache.karaf.service.acl.__command.kar.uninstall]
        08:08:52.503 [Blueprint Extender: 3] INFO
           o.a.k.s.s.i.__SecuredCommandConfigTransforme__r - Generating
        command ACL
        config org.apache.karaf.command.acl.__bundle into service ACL
        configs
        [org.apache.karaf.service.acl.__command.bundle.install,
        org.apache.karaf.service.acl.__command.bundle.uninstall,
        org.apache.karaf.service.acl.__command.bundle.update,
        org.apache.karaf.service.acl.__command.bundle.restart,
        org.apache.karaf.service.acl.__command.bundle.start,
        org.apache.karaf.service.acl.__command.bundle.stop,
        org.apache.karaf.service.acl.__command.bundle.watch,
        org.apache.karaf.service.acl.__command.bundle.refresh]
        08:08:53.021 [FelixStartLevel] INFO  org.apache.aries.jmx.core -
        Starting JMX OSGi agent


        *Windows*
        13:31:18.131 [FelixStartLevel] INFO
           o.o.p.web.service.internal.__Activator - EventAdmin support
        is not
        available, no servlet events will be posted!
        13:31:18.133 [FelixStartLevel] INFO
           o.o.p.web.service.internal.__Activator - LogService support
        enabled, log
        events will be created.
        13:31:18.135 [FelixStartLevel] INFO
           o.o.p.web.service.internal.__Activator - Pax Web started
        13:31:18.182 [FelixStartLevel] INFO
        o.a.a.b.c.__BlueprintContainerImpl -
        Bundle org.apache.karaf.http.command is waiting for namespace
        handlers
        [http://karaf.apache.org/__xmlns/shell/v1.1.0
        <http://karaf.apache.org/xmlns/shell/v1.1.0>]
        13:31:18.332 [FelixStartLevel] INFO
        o.a.a.b.c.__BlueprintContainerImpl -
        Bundle org.apache.karaf.web.command is waiting for namespace
        handlers
        [http://karaf.apache.org/__xmlns/shell/v1.1.0
        <http://karaf.apache.org/xmlns/shell/v1.1.0>]
        13:31:18.363 [FelixStartLevel] INFO
        o.a.a.b.c.__BlueprintContainerImpl -
        Bundle org.apache.karaf.config.__command is waiting for
        namespace handlers
        [http://karaf.apache.org/__xmlns/shell/v1.1.0
        <http://karaf.apache.org/xmlns/shell/v1.1.0>]
        13:31:18.376 [FelixStartLevel] INFO
        o.a.a.b.c.__BlueprintContainerImpl -
        Bundle org.apache.karaf.shell.ssh is waiting for namespace handlers
        [http://karaf.apache.org/__xmlns/shell/v1.1.0
        <http://karaf.apache.org/xmlns/shell/v1.1.0>]
        13:31:18.385 [Blueprint Extender: 1] INFO
           o.a.a.b.c.__BlueprintContainerImpl - Bundle
        org.apache.karaf.shell.console is waiting for dependencies
        [(objectClass=org.apache.__felix.service.command.__CommandProcessor)]
        13:31:18.403 [Blueprint Extender: 3] INFO
           o.a.k.s.s.i.__SecuredCommandConfigTransforme__r - Generating
        command ACL
        config org.apache.karaf.command.acl.__feature into service ACL
        configs
        [org.apache.karaf.service.acl.__command.feature.uninstall,
        org.apache.karaf.service.acl.__command.feature.install]
        13:31:18.438 [FelixStartLevel] INFO
        o.a.a.b.c.__BlueprintContainerImpl -
        Bundle org.apache.karaf.instance.__command is waiting for namespace
        handlers [http://karaf.apache.org/__xmlns/shell/v1.1.0
        <http://karaf.apache.org/xmlns/shell/v1.1.0>]
        13:31:18.453 [FelixStartLevel] INFO
        o.a.a.b.c.__BlueprintContainerImpl -
        Bundle org.apache.karaf.jaas.command is waiting for namespace
        handlers
        [http://karaf.apache.org/__xmlns/shell/v1.1.0
        <http://karaf.apache.org/xmlns/shell/v1.1.0>]
        13:31:18.459 [Blueprint Extender: 3] INFO
           o.a.k.s.s.i.__SecuredCommandConfigTransforme__r - Generating
        command ACL
        config org.apache.karaf.command.acl.__jaas into service ACL configs
        [org.apache.karaf.service.acl.__command.jaas.update]
        13:31:18.510 [Blueprint Extender: 3] INFO
           o.a.k.s.s.i.__SecuredCommandConfigTransforme__r - Generating
        command ACL
        config org.apache.karaf.command.acl.__config into service ACL
        configs
        [org.apache.karaf.service.acl.__command.config.property-set,
        org.apache.karaf.service.acl.__command.config.delete,
        org.apache.karaf.service.acl.__command.config.cancel,
        org.apache.karaf.service.acl.__command.config.update,
        org.apache.karaf.service.acl.__command.config.property-__delete,
        org.apache.karaf.service.acl.__command.config.property-__append,
        org.apache.karaf.service.acl.__command.config.edit]
        13:31:18.527 [FelixStartLevel] INFO
        o.a.a.b.c.__BlueprintContainerImpl -
        Bundle org.apache.karaf.diagnostic.__command is waiting for
        namespace
        handlers [http://karaf.apache.org/__xmlns/shell/v1.1.0
        <http://karaf.apache.org/xmlns/shell/v1.1.0>]
        13:31:18.617 [FelixStartLevel] INFO
        o.a.a.b.c.__BlueprintContainerImpl -
        Bundle org.apache.karaf.log.command is waiting for namespace
        handlers
        [http://karaf.apache.org/__xmlns/shell/v1.1.0
        <http://karaf.apache.org/xmlns/shell/v1.1.0>]
        13:31:18.638 [Blueprint Extender: 3] INFO
           o.a.k.s.s.i.__SecuredCommandConfigTransforme__r - Generating
        command ACL
        config org.apache.karaf.command.acl.__shell into service ACL configs
        [org.apache.karaf.service.acl.__command.shell.java,
        org.apache.karaf.service.acl.__command.shell.edit,
        org.apache.karaf.service.acl.__command.shell.exec,
        org.apache.karaf.service.acl.__command.shell.new]
        13:31:18.649 [FelixStartLevel] INFO
        o.a.a.b.c.__BlueprintContainerImpl -
        Bundle org.apache.karaf.service.__command is waiting for namespace
        handlers [http://karaf.apache.org/__xmlns/shell/v1.1.0
        <http://karaf.apache.org/xmlns/shell/v1.1.0>]
        13:31:18.691 [FelixStartLevel] INFO
        o.a.a.b.c.__BlueprintContainerImpl -
        Bundle org.apache.karaf.package.__command is waiting for namespace
        handlers [http://karaf.apache.org/__xmlns/shell/v1.1.0
        <http://karaf.apache.org/xmlns/shell/v1.1.0>]
        13:31:18.699 [pool-147-thread-1] INFO
        org.eclipse.jetty.server.__Server -
        jetty-8.1.14.v20131031
        13:31:18.701 [Blueprint Extender: 3] INFO
           o.a.k.s.s.i.__SecuredCommandConfigTransforme__r - Generating
        command ACL
        config org.apache.karaf.command.acl.__system into service ACL
        configs
        [org.apache.karaf.service.acl.__command.system.start-level,
        org.apache.karaf.service.acl.__command.system.shutdown,
        org.apache.karaf.service.acl.__command.system.property]
        13:31:18.759 [Blueprint Extender: 3] INFO
           o.a.k.s.s.i.__SecuredCommandConfigTransforme__r - Generating
        command ACL
        config org.apache.karaf.command.acl.__kar into service ACL configs
        [org.apache.karaf.service.acl.__command.kar.uninstall,
        org.apache.karaf.service.acl.__command.kar.install]
        13:31:18.787 [Blueprint Extender: 3] INFO
           o.a.k.s.s.i.__SecuredCommandConfigTransforme__r - Generating
        command ACL
        config org.apache.karaf.command.acl.__bundle into service ACL
        configs
        [org.apache.karaf.service.acl.__command.bundle.install,
        org.apache.karaf.service.acl.__command.bundle.uninstall,
        org.apache.karaf.service.acl.__command.bundle.update,
        org.apache.karaf.service.acl.__command.bundle.restart,
        org.apache.karaf.service.acl.__command.bundle.start,
        org.apache.karaf.service.acl.__command.bundle.stop,
        org.apache.karaf.service.acl.__command.bundle.watch,
        org.apache.karaf.service.acl.__command.bundle.refresh]
        13:31:19.391 [Blueprint Extender: 2] INFO
           o.a.sshd.common.util.__SecurityUtils - BouncyCastle not
        registered,
        using the default JCE provider
        13:31:19.669 [pool-147-thread-1] INFO
           o.e.jetty.util.ssl.__SslContextFactory - Enabled Protocols
        [SSLv2Hello,
        SSLv3, TLSv1, TLSv1.1, TLSv1.2] of [SSLv2Hello, SSLv3, TLSv1,
        TLSv1.1,
        TLSv1.2]
        13:31:19.808 [pool-147-thread-1] INFO
           o.e.jetty.server.__AbstractConnector - Started
        [email protected].__0.0:8081
        <http://[email protected]:8081>
        <http://[email protected].__0.0:8081
        <http://[email protected]:8081>>
        13:31:19.839 [pool-147-thread-1] INFO
           o.e.jetty.util.ssl.__SslContextFactory - Enabled Protocols
        [SSLv2Hello,
        SSLv3, TLSv1, TLSv1.1, TLSv1.2] of [SSLv2Hello, SSLv3, TLSv1,
        TLSv1.1,
        TLSv1.2]
        13:31:19.848 [pool-147-thread-1] INFO
           o.e.jetty.server.__AbstractConnector - Started
        [email protected].__0.0:9081
        <http://[email protected]:9081>
        <http://[email protected].__0.0:9081
        <http://[email protected]:9081>>
        13:31:19.857 [pool-147-thread-1] INFO
           o.o.p.w.s.j.internal.__JettyServerImpl - Pax Web available at
        [0.0.0.0]:[8081]
        13:31:19.860 [pool-147-thread-1] INFO
           o.o.p.w.s.j.internal.__JettyServerImpl - Pax Web available at
        [0.0.0.0]:[9081]


    --
    Jean-Baptiste Onofré
    [email protected] <mailto:[email protected]>
    http://blog.nanthrax.net
    Talend - http://www.talend.com


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to