Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Help with SPDY on embedded Jetty

Hi Wesley,

as said your code works fine, after I did this single line change. I could connect to the server via firefox and chrome. Both used spdy as expected. So I guess your problems arise due to the way you load the npn jar. I also noticed that you're using quite an old npn jar. Make sure you're using the npn jar that suits your JVM:

http://www.eclipse.org/jetty/documentation/current/npn-chapter.html#npn-openjdk-versions

Cheers,
Thomas

Am 7/24/13 4:49 PM, schrieb Wesley Hales:
I should also mention that I had to comment out the throwing of an
exception in NPNServerConnectionFactory.
I had to remove line 58 "throw new IllegalStateException("NextProtoNego
not on bootloader");" because when jetty is embedded in a parent
server/container, npn is loaded and NextProtoNego.class.getClassLoader()
evaluates to to true instead of null.
I then tried to write my own system classloader and load the npn jar as
a URLClassLoader with something like:
JarFile jarFile = new JarFile(pathToJar);
URL[] urls = { new URL("jar:file:" + pathToJar+"!/") };
URLClassLoader cl = new URLClassLoader(urls,
context.getClassLoader().getSystemClassLoader());
context.setClassLoader(cl);

but there is no way to set the classloader
on context.getClassLoader().getSystemClassLoader().
I know this might be getting into weeds that I don't need to venture
into at all. But like I said in my first post, the npn jar is loaded in
the parent server before jetty is started. So I'm not sure if it is
getting loaded properly when embedded starts - but I see no errors.


On Wed, Jul 24, 2013 at 7:29 AM, Wesley Hales <wesleyhales@xxxxxxxxx
<mailto:wesleyhales@xxxxxxxxx>> wrote:

    Thanks for the quick response! When I change to the correct protocol
    (npn) I see this error on first page load in Chrome:
    ERR_SOCKET_NOT_CONNECTED
    then on subsequent requests I get:
    ERR_EMPTY_RESPONSE

    Firefox gives me:
    The connection was reset
    The connection to the server was reset while the page was loading.

    It's like the connection is getting cut off somewhere. Any ideas?


    On Wed, Jul 24, 2013 at 4:03 AM, Thomas Becker <tbecker@xxxxxxxxxxx
    <mailto:tbecker@xxxxxxxxxxx>> wrote:

        Hi Wesley,

        at a first glimpse your setup looks fine. Besides that in the
        logs your connector is shown as SSL-http:

        ServerConnector@694f85a7{SSL-__http/1.1}{127.0.0.1:8443
        <http://127.0.0.1:8443> <http://127.0.0.1:8443>}

        So I gave your code a try and had the same issue with a valid
        npn setup via bootclasspath. So I had a closer look and found
        the problem:

        Replace:

                 SslConnectionFactory ssl = new
        SslConnectionFactory(__sslContextFactory, "http/1.1");

        with:
        SslConnectionFactory ssl = new
        SslConnectionFactory(__sslContextFactory,npn.__getProtocol());

        And it should work fine. The connector should be marked as
        SSL-npn in the logs now and chrome should connect via SPDY.

        Cheers,
        Thomas

        Am 7/24/13 1:29 AM, schrieb Wesley Hales:

            Hello - Working with the latest Jetty 9.0.4 and trying to
            get SPDY
            support working. I have been successful with WebSockets
            handlers working
            with this same code, but when I render a test page to test
            for SPDY, it
            is not upgrading the connection. So I stripped out all the
            WebSocket
            config and am just trying to get SPDY working by itself -
            here is the
            code for that:


            QueuedThreadPool threadPool = new QueuedThreadPool();
                              threadPool.setMaxThreads(500);

                              NextProtoNego.debug = true;

                              server = new Server(threadPool);
                              server.manage(threadPool);
                              server.setDumpAfterStart(__false);
                              server.setDumpBeforeStop(__false);


                              // Common HTTP configuration
                              HttpConfiguration config = new
            HttpConfiguration();
                              config.setSecurePort(8443);
                              config.addCustomizer(new
            ForwardedRequestCustomizer());
                              config.addCustomizer(new
            SecureRequestCustomizer());
                              config.setSendServerVersion(__true);
            //                config.setOutputBufferSize(__32768);
                              config.setSecureScheme("https"__);



                              // Http Connector
                              HttpConnectionFactory http = new
            HttpConnectionFactory(config);


                              ServerConnector httpConnector = new
            ServerConnector(server,http);
                              httpConnector.setPort(8081);
                              httpConnector.setIdleTimeout(__10000);
                              httpConnector.setHost("127.0.__0.1");
                              server.addConnector(__httpConnector);

                              // SSL configurations
                              SslContextFactory sslContextFactory = new
            SslContextFactory();

              sslContextFactory.__setKeyStorePath("keystore");

              sslContextFactory.__setTrustStorePath("keystore");

            sslContextFactory.__setKeyStorePassword("OBF:__1vny1zlo1x8e1vnw1vn61x8g1zlu1v__n4");

            sslContextFactory.__setKeyManagerPassword("OBF:__1u2u1wml1z7s1z7a1wnl1u2g");

            sslContextFactory.__setTrustStorePassword("OBF:__1vny1zlo1x8e1vnw1vn61x8g1zlu1v__n4");

                              sslContextFactory.setProtocol(__"TLSv1");

              sslContextFactory.__setIncludeProtocols("TLSv1");

              sslContextFactory.__setEndpointIdentificationAlgor__ithm("");

                              sslContextFactory.__setExcludeCipherSuites(
                                      "SSL_RSA_WITH_DES_CBC_SHA",
                                      "SSL_DHE_RSA_WITH_DES_CBC_SHA"__,
                                      "SSL_DHE_DSS_WITH_DES_CBC_SHA"__,
                                      "SSL_RSA_EXPORT_WITH_RC4_40___MD5",
                                      "SSL_RSA_EXPORT_WITH_DES40___CBC_SHA",

              "SSL_DHE_RSA_EXPORT_WITH___DES40_CBC_SHA",

              "SSL_DHE_DSS_EXPORT_WITH___DES40_CBC_SHA");


                              // Spdy Connector

              SPDYServerConnectionFactory.__checkNPNAvailable();

                              PushStrategy push = new
            ReferrerPushStrategy();
                              HTTPSPDYServerConnectionFactor__y spdy2 = new
            HTTPSPDYServerConnectionFactor__y(2,config,push);
                              spdy2.setInputBufferSize(8192)__;
                              spdy2.setInitialWindowSize(__32768);

                              HTTPSPDYServerConnectionFactor__y spdy3 = new
            HTTPSPDYServerConnectionFactor__y(3,config,push);
                              spdy3.setInputBufferSize(8192)__;

                              NPNServerConnectionFactory npn = new
            NPNServerConnectionFactory(__spdy3.getProtocol(),spdy2.__getProtocol(),http.__getProtocol());
                              npn.setDefaultProtocol(http.__getProtocol());
                              npn.setInputBufferSize(1024);


                              SslConnectionFactory ssl = new
            SslConnectionFactory(__sslContextFactory,"http/1.1");

                              ServerConnector spdyConnector = new
            ServerConnector(server,ssl,__npn,spdy3,spdy2,http);
                              spdyConnector.setPort(8443);
                              spdyConnector.setHost("127.0.__0.1");
                              server.addConnector(__spdyConnector);

                              HandlerCollection handlers = new
            HandlerCollection();
                              ContextHandlerCollection contexts = new
            ContextHandlerCollection();
                              RequestLogHandler requestLogHandler = new
            RequestLogHandler();

                              context = new ContextHandler(server,"/");
                              context.setContextPath("/");

            context.setResourceBase("__standalone/deployments/__onslyde-hosted.war/");
                              context.setHandler(new ResourceHandler());

                              contexts.addHandler(context);

                              handlers.setHandlers(new Handler[] {
            contexts, new
            DefaultHandler(), requestLogHandler });

                              StatisticsHandler stats = new
            StatisticsHandler();
                              stats.setHandler(handlers);

                              server.setHandler(stats);

                              DeploymentManager deployer = new
            DeploymentManager();
                              deployer.setContexts(contexts)__;
                              server.addBean(deployer);

                              HashLoginService login = new
            HashLoginService();
                              login.setName("Test Realm");
                              login.setConfig("etc/realm.__properties");
                              server.addBean(login);

                              NCSARequestLog requestLog = new
            AsyncNCSARequestLog();

              requestLog.setFilename("jetty___logs/jetty-yyyy_mm_dd.log");
                              requestLog.setExtended(true);
                              requestLogHandler.__setRequestLog(requestLog);

                              server.start();
                              server.dumpStdErr();

            The source is from SPDYServer in the embedded exaamples.
            I am using the same keystore from the jetty source code, and I
            configured /etc/hosts to point to "jetty.mortbay.org
            <http://jetty.mortbay.org>
            <http://jetty.mortbay.org>". The certificate is trusted and
            everything

            matches up in my browser. I'm able to pull up a test page
            with one image
            and one script file using
            https://jetty.mortbay.org:__8443/spdy.html
            <https://jetty.mortbay.org:8443/spdy.html> - but
            I am not seeing any spdy connections in
            chrome's
            chrome://net-internals/#__events&q=type:SPDY_SESSION%__20is:active
            utility. I only get SSL connections.

            Here is my console log from the server which is embedding Jetty:

            15:48:23,767 WARN

            [org.eclipse.jetty.spdy.__server.__NPNServerConnectionFactory]
            (MSC
            service thread 1-9) NextProtoNego not from bootloader
            classloader:
            ModuleClassLoader for Module
            "deployment.onslyde-hosted.__war:main" from
            Service Module Loader
            15:48:23,791 INFO  [org.eclipse.jetty.server.__Server] (MSC
            service thread
            1-9) jetty-9.0.4.v20130625
            15:48:23,806 INFO
              [org.eclipse.jetty.server.__handler.ContextHandler]
            (MSC service thread 1-9) Started
            o.e.j.s.h.ContextHandler@__2551701{/,file:/Users/__wesleyhales/dev/onslyde/__target/onslyde-hosted/,__AVAILABLE}
            15:48:23,816 INFO
              [org.eclipse.jetty.server.__ServerConnector] (MSC
            service thread 1-9) Started
            ServerConnector@35c070cd{HTTP/__1.1}{127.0.0.1:8081
            <http://127.0.0.1:8081> <http://127.0.0.1:8081>}

            15:48:23,925 INFO
              [org.eclipse.jetty.server.__ServerConnector] (MSC
            service thread 1-9) Started
            ServerConnector@694f85a7{SSL-__http/1.1}{127.0.0.1:8443
            <http://127.0.0.1:8443>
            <http://127.0.0.1:8443>}


            I know it says "NextProtoNego not from bootloader
            classloader" in the
            log, but I am starting a server which then starts jetty
            internally. The
            NPN jar is included on the parent server start and this is
            the only way
            I know how to get Jetty access to this jar.
            -Xbootclasspath/p:$SERVER___HOME/npn-boot-1.1.0.v20120525.__jar
            I tried System classloading it before server start, but had
            no success.
            Is there any way to do this correctly on an embedded Jetty
            server using
            server.start()?

            Here's my Jetty logs:

            ========= HTTP/1.1 HTTP/1.1 npn
            org.eclipse.jetty.server.__Server@2c2b0c9a - STARTED
               += qtp564322865{STARTED,8<=25<=__200,i=1,q=0} - STARTED
               |   +- 104 qtp564322865-104-selector-0 RUNNABLE @
            sun.nio.ch.PollArrayWrapper.__poll0(Native Method)
               |   +- 105 qtp564322865-105-selector-1 RUNNABLE @
            sun.nio.ch.PollArrayWrapper.__poll0(Native Method)
               |   +- 106 qtp564322865-106-selector-2 RUNNABLE @
            sun.nio.ch.PollArrayWrapper.__poll0(Native Method)
               |   +- 107 qtp564322865-107-selector-3 RUNNABLE @
            sun.nio.ch.PollArrayWrapper.__poll0(Native Method)
               |   +- 108 qtp564322865-108-selector-4 RUNNABLE @
            sun.nio.ch.PollArrayWrapper.__poll0(Native Method)
               |   +- 109 qtp564322865-109-selector-5 RUNNABLE @
            sun.nio.ch.PollArrayWrapper.__poll0(Native Method)
               |   +- 110 qtp564322865-110-selector-6 RUNNABLE @
            sun.nio.ch.PollArrayWrapper.__poll0(Native Method)
               |   +- 111 qtp564322865-111-selector-7 RUNNABLE @
            sun.nio.ch.PollArrayWrapper.__poll0(Native Method)
               |   +- 113
            qtp564322865-113-acceptor-0-__ServerConnector@35c070cd{HTTP/__1.1}{127.0.0.1:8081
            <http://127.0.0.1:8081>
            <http://127.0.0.1:8081>} RUNNABLE @

            sun.nio.ch
            <http://sun.nio.ch>.__ServerSocketChannelImpl.__accept0(Native
            Method)
               |   +- 114
            qtp564322865-114-acceptor-1-__ServerConnector@35c070cd{HTTP/__1.1}{127.0.0.1:8081
            <http://127.0.0.1:8081>
            <http://127.0.0.1:8081>} BLOCKED @

            sun.nio.ch
            <http://sun.nio.ch>.__ServerSocketChannelImpl.__accept(__ServerSocketChannelImpl.java:__210)
               |   +- 115
            qtp564322865-115-acceptor-2-__ServerConnector@35c070cd{HTTP/__1.1}{127.0.0.1:8081
            <http://127.0.0.1:8081>
            <http://127.0.0.1:8081>} BLOCKED @

            sun.nio.ch
            <http://sun.nio.ch>.__ServerSocketChannelImpl.__accept(__ServerSocketChannelImpl.java:__210)
               |   +- 116
            qtp564322865-116-acceptor-3-__ServerConnector@35c070cd{HTTP/__1.1}{127.0.0.1:8081
            <http://127.0.0.1:8081>
            <http://127.0.0.1:8081>} BLOCKED @

            sun.nio.ch
            <http://sun.nio.ch>.__ServerSocketChannelImpl.__accept(__ServerSocketChannelImpl.java:__210)
               |   +- 118 qtp564322865-118-selector-0 RUNNABLE @
            sun.nio.ch.PollArrayWrapper.__poll0(Native Method)
               |   +- 119 qtp564322865-119-selector-1 RUNNABLE @
            sun.nio.ch.PollArrayWrapper.__poll0(Native Method)
               |   +- 120 qtp564322865-120-selector-2 RUNNABLE @
            sun.nio.ch.PollArrayWrapper.__poll0(Native Method)
               |   +- 121 qtp564322865-121-selector-3 RUNNABLE @
            sun.nio.ch.PollArrayWrapper.__poll0(Native Method)
               |   +- 122 qtp564322865-122-selector-4 RUNNABLE @
            sun.nio.ch.PollArrayWrapper.__poll0(Native Method)
               |   +- 123 qtp564322865-123-selector-5 RUNNABLE @
            sun.nio.ch.PollArrayWrapper.__poll0(Native Method)
               |   +- 124 qtp564322865-124-selector-6 RUNNABLE @
            sun.nio.ch.PollArrayWrapper.__poll0(Native Method)
               |   +- 125 qtp564322865-125-selector-7 RUNNABLE @
            sun.nio.ch.PollArrayWrapper.__poll0(Native Method)
               |   +- 126
            qtp564322865-126-acceptor-0-__ServerConnector@694f85a7{SSL-__http/1.1}{127.0.0.1:8443
            <http://127.0.0.1:8443>
            <http://127.0.0.1:8443>} RUNNABLE @

            sun.nio.ch
            <http://sun.nio.ch>.__ServerSocketChannelImpl.__accept0(Native
            Method)
               |   +- 127
            qtp564322865-127-acceptor-1-__ServerConnector@694f85a7{SSL-__http/1.1}{127.0.0.1:8443
            <http://127.0.0.1:8443>
            <http://127.0.0.1:8443>} BLOCKED @

            sun.nio.ch
            <http://sun.nio.ch>.__ServerSocketChannelImpl.__accept(__ServerSocketChannelImpl.java:__210)
               |   +- 128
            qtp564322865-128-acceptor-2-__ServerConnector@694f85a7{SSL-__http/1.1}{127.0.0.1:8443
            <http://127.0.0.1:8443>
            <http://127.0.0.1:8443>} BLOCKED @

            sun.nio.ch
            <http://sun.nio.ch>.__ServerSocketChannelImpl.__accept(__ServerSocketChannelImpl.java:__210)
               |   +- 129
            qtp564322865-129-acceptor-3-__ServerConnector@694f85a7{SSL-__http/1.1}{127.0.0.1:8443
            <http://127.0.0.1:8443>
            <http://127.0.0.1:8443>} BLOCKED @

            sun.nio.ch
            <http://sun.nio.ch>.__ServerSocketChannelImpl.__accept(__ServerSocketChannelImpl.java:__210)
               |   +- 130 qtp564322865-130 TIMED_WAITING @
            sun.misc.Unsafe.park(Native Method) IDLE
               += ServerConnector@35c070cd{HTTP/__1.1}{127.0.0.1:8081
            <http://127.0.0.1:8081>
            <http://127.0.0.1:8081>} - STARTED

               |   +~ org.eclipse.jetty.server.__Server@2c2b0c9a - STARTED
               |   +~ qtp564322865{STARTED,8<=25<=__200,i=1,q=0} - STARTED
               |   +=
            org.eclipse.jetty.util.thread.__ScheduledExecutorScheduler@__2525dc6a
            - STARTED
               |   +- org.eclipse.jetty.io
            <http://org.eclipse.jetty.io>.__ArrayByteBufferPool@12849767
               |   += HttpConnectionFactory@3eeff4b0__{HTTP/1.1} - STARTED
               |   |   +-
            HttpConfiguration@7ba96f17{__32768,8192/8192,https://:8443,__[ForwardedRequestCustomizer@__30bc8e6e,
            SecureRequestCustomizer@__2b2af0c1]}
               |   +=
            org.eclipse.jetty.server.__ServerConnector$__ServerConnectorManager@__1024250b
            - STARTED
               |   |   +-
            org.eclipse.jetty.io
            <http://org.eclipse.jetty.io>.__SelectorManager$__ManagedSelector@34fbfd74
            keys=0
            selected=0 id=0
               |   |   |   +-
            org.eclipse.jetty.io
            <http://org.eclipse.jetty.io>.__SelectorManager$__ManagedSelector.select(__SelectorManager.java:444)
               |   |   |   +- sun.nio.ch.PollSelectorImpl@__42aaaa58 keys=0
               |   |   +-
            org.eclipse.jetty.io
            <http://org.eclipse.jetty.io>.__SelectorManager$__ManagedSelector@52959999
            keys=0
            selected=0 id=1
               |   |   |   +-
            org.eclipse.jetty.io
            <http://org.eclipse.jetty.io>.__SelectorManager$__ManagedSelector.select(__SelectorManager.java:444)
               |   |   |   +- sun.nio.ch.PollSelectorImpl@__6ec7b34a keys=0
               |   |   +-
            org.eclipse.jetty.io
            <http://org.eclipse.jetty.io>.__SelectorManager$__ManagedSelector@78cbf817
            keys=0
            selected=0 id=2
               |   |   |   +-
            org.eclipse.jetty.io
            <http://org.eclipse.jetty.io>.__SelectorManager$__ManagedSelector.select(__SelectorManager.java:444)
               |   |   |   +- sun.nio.ch.PollSelectorImpl@__434c104c keys=0
               |   |   +-
            org.eclipse.jetty.io
            <http://org.eclipse.jetty.io>.__SelectorManager$__ManagedSelector@36c21018
            keys=0
            selected=0 id=3
               |   |   |   +-
            org.eclipse.jetty.io
            <http://org.eclipse.jetty.io>.__SelectorManager$__ManagedSelector.select(__SelectorManager.java:444)
               |   |   |   +- sun.nio.ch.PollSelectorImpl@__77d7e3ce keys=0
               |   |   +-
            org.eclipse.jetty.io
            <http://org.eclipse.jetty.io>.__SelectorManager$__ManagedSelector@7ead26d9
            keys=0
            selected=0 id=4
               |   |   |   +-
            org.eclipse.jetty.io
            <http://org.eclipse.jetty.io>.__SelectorManager$__ManagedSelector.select(__SelectorManager.java:444)
               |   |   |   +- sun.nio.ch.PollSelectorImpl@__3bb65db1 keys=0
               |   |   +-
            org.eclipse.jetty.io
            <http://org.eclipse.jetty.io>.__SelectorManager$__ManagedSelector@41c12e17
            keys=0
            selected=0 id=5
               |   |   |   +-
            org.eclipse.jetty.io
            <http://org.eclipse.jetty.io>.__SelectorManager$__ManagedSelector.select(__SelectorManager.java:444)
               |   |   |   +- sun.nio.ch.PollSelectorImpl@__4bd7c30b keys=0
               |   |   +-
            org.eclipse.jetty.io
            <http://org.eclipse.jetty.io>.__SelectorManager$__ManagedSelector@42462e13
            keys=0
            selected=0 id=6
               |   |   |   +-
            org.eclipse.jetty.io
            <http://org.eclipse.jetty.io>.__SelectorManager$__ManagedSelector.select(__SelectorManager.java:444)
               |   |   |   +- sun.nio.ch.PollSelectorImpl@__161a8e7e keys=0
               |   |   +-
            org.eclipse.jetty.io
            <http://org.eclipse.jetty.io>.__SelectorManager$__ManagedSelector@2980fd88
            keys=0
            selected=0 id=7
               |   |       +-
            org.eclipse.jetty.io
            <http://org.eclipse.jetty.io>.__SelectorManager$__ManagedSelector.select(__SelectorManager.java:444)
               |   |       +- sun.nio.ch.PollSelectorImpl@__344294e4 keys=0
               |   +- sun.nio.ch
            <http://sun.nio.ch>.__ServerSocketChannelImpl[/127.__0.0.1:8081
            <http://127.0.0.1:8081>
            <http://127.0.0.1:8081>]

               +=
            ServerConnector@694f85a7{SSL-__http/1.1}{127.0.0.1:8443
            <http://127.0.0.1:8443>
            <http://127.0.0.1:8443>} - STARTED

               |   +~ org.eclipse.jetty.server.__Server@2c2b0c9a - STARTED
               |   +~ qtp564322865{STARTED,8<=25<=__200,i=1,q=0} - STARTED
               |   +=
            org.eclipse.jetty.util.thread.__ScheduledExecutorScheduler@__61106114
            - STARTED
               |   +- org.eclipse.jetty.io
            <http://org.eclipse.jetty.io>.__ArrayByteBufferPool@7f3d1f89
               |   += SslConnectionFactory@5e19ca2{__SSL-http/1.1} - STARTED
               |   |   +=
            SslContextFactory@1ef252b2(__keystore,keystore) - STARTED
               |   +=
            NPNServerConnectionFactory@__371333fd{npn,HTTP/1.1,[spdy/3,
            spdy/2, HTTP/1.1]} - STARTED
               |   += HTTPSPDYServerConnectionFactor__y@4dba434a{spdy/3}
            - STARTED
               |   |   +-
            HttpConfiguration@7ba96f17{__32768,8192/8192,https://:8443,__[ForwardedRequestCustomizer@__30bc8e6e,
            SecureRequestCustomizer@__2b2af0c1]}
               |   += HTTPSPDYServerConnectionFactor__y@7f97d723{spdy/2}
            - STARTED
               |   |   +-
            HttpConfiguration@7ba96f17{__32768,8192/8192,https://:8443,__[ForwardedRequestCustomizer@__30bc8e6e,
            SecureRequestCustomizer@__2b2af0c1]}
               |   +~ HttpConnectionFactory@3eeff4b0__{HTTP/1.1} - STARTED
               |   +=
            org.eclipse.jetty.server.__ServerConnector$__ServerConnectorManager@__49ad7c46
            - STARTED
               |   |   +-
            org.eclipse.jetty.io
            <http://org.eclipse.jetty.io>.__SelectorManager$__ManagedSelector@1cb9fd74
            keys=0
            selected=0 id=0
               |   |   |   +-
            org.eclipse.jetty.io
            <http://org.eclipse.jetty.io>.__SelectorManager$__ManagedSelector.select(__SelectorManager.java:444)
               |   |   |   +- sun.nio.ch.PollSelectorImpl@__13927e1e keys=0
               |   |   +-
            org.eclipse.jetty.io
            <http://org.eclipse.jetty.io>.__SelectorManager$__ManagedSelector@7695ed9b
            keys=0
            selected=0 id=1
               |   |   |   +-
            org.eclipse.jetty.io
            <http://org.eclipse.jetty.io>.__SelectorManager$__ManagedSelector.select(__SelectorManager.java:444)
               |   |   |   +- sun.nio.ch.PollSelectorImpl@__14222914 keys=0
               |   |   +-
            org.eclipse.jetty.io
            <http://org.eclipse.jetty.io>.__SelectorManager$__ManagedSelector@4eb6ea5f
            keys=0
            selected=0 id=2
               |   |   |   +-
            org.eclipse.jetty.io
            <http://org.eclipse.jetty.io>.__SelectorManager$__ManagedSelector.select(__SelectorManager.java:444)
               |   |   |   +- sun.nio.ch.PollSelectorImpl@__3e7a21d keys=0
               |   |   +-
            org.eclipse.jetty.io
            <http://org.eclipse.jetty.io>.__SelectorManager$__ManagedSelector@5c441feb
            keys=0
            selected=0 id=3
               |   |   |   +-
            org.eclipse.jetty.io
            <http://org.eclipse.jetty.io>.__SelectorManager$__ManagedSelector.select(__SelectorManager.java:444)
               |   |   |   +- sun.nio.ch.PollSelectorImpl@__31e57021 keys=0
               |   |   +-
            org.eclipse.jetty.io
            <http://org.eclipse.jetty.io>.__SelectorManager$__ManagedSelector@4e24a01e
            keys=0
            selected=0 id=4
               |   |   |   +-
            org.eclipse.jetty.io
            <http://org.eclipse.jetty.io>.__SelectorManager$__ManagedSelector.select(__SelectorManager.java:444)
               |   |   |   +- sun.nio.ch.PollSelectorImpl@__491d7b67 keys=0
               |   |   +-
            org.eclipse.jetty.io
            <http://org.eclipse.jetty.io>.__SelectorManager$__ManagedSelector@2e90ccb1
            keys=0
            selected=0 id=5
               |   |   |   +-
            org.eclipse.jetty.io
            <http://org.eclipse.jetty.io>.__SelectorManager$__ManagedSelector.select(__SelectorManager.java:444)
               |   |   |   +- sun.nio.ch.PollSelectorImpl@__17fad974 keys=0
               |   |   +-
            org.eclipse.jetty.io
            <http://org.eclipse.jetty.io>.__SelectorManager$__ManagedSelector@55da5af8
            keys=0
            selected=0 id=6
               |   |   |   +-
            org.eclipse.jetty.io
            <http://org.eclipse.jetty.io>.__SelectorManager$__ManagedSelector.select(__SelectorManager.java:444)
               |   |   |   +- sun.nio.ch.PollSelectorImpl@__435cb28f keys=0
               |   |   +-
            org.eclipse.jetty.io
            <http://org.eclipse.jetty.io>.__SelectorManager$__ManagedSelector@7aceecd5
            keys=0
            selected=0 id=7
               |   |       +-
            org.eclipse.jetty.io
            <http://org.eclipse.jetty.io>.__SelectorManager$__ManagedSelector.select(__SelectorManager.java:444)
               |   |       +- sun.nio.ch.PollSelectorImpl@__299447da keys=0
               |   +- sun.nio.ch
            <http://sun.nio.ch>.__ServerSocketChannelImpl[/127.__0.0.1:8443
            <http://127.0.0.1:8443>
            <http://127.0.0.1:8443>]

               +=
            org.eclipse.jetty.server.__handler.StatisticsHandler@__45f94e89
            - STARTED
               |   +=
            org.eclipse.jetty.server.__handler.HandlerCollection@__72932842
            -
            STARTED
               |       +=
            org.eclipse.jetty.server.__handler.__ContextHandlerCollection@__1b383fd2
            - STARTED
               |       |   +=
            o.e.j.s.h.ContextHandler@__2551701{/,file:/Users/__wesleyhales/dev/onslyde/__target/onslyde-hosted/,__AVAILABLE}
            - STARTED
               |       |       +=
            org.eclipse.jetty.server.__handler.ResourceHandler@__9e601f4
            - STARTED
               |       |       |
               |       |       +> No ClassLoader
               |       +=
            org.eclipse.jetty.server.__handler.DefaultHandler@__5b8a3f3f -
            STARTED
               |       +=
            org.eclipse.jetty.server.__handler.RequestLogHandler@__513e700c
            - STARTED
               |           +=
            org.eclipse.jetty.server.__AsyncNCSARequestLog@2f1681a5 -
            STARTED
               += org.eclipse.jetty.deploy.__DeploymentManager@5a2e4d7f
            - STARTED
               += HashLoginService[Test Realm] - STARTED

            Can anyone tell me why the plain HTML page will not be
            served as SDPY
            enabled? only ssl?


            _________________________________________________
            jetty-users mailing list
            jetty-users@xxxxxxxxxxx <mailto:jetty-users@xxxxxxxxxxx>
            https://dev.eclipse.org/__mailman/listinfo/jetty-users
            <https://dev.eclipse.org/mailman/listinfo/jetty-users>


        _________________________________________________
        jetty-users mailing list
        jetty-users@xxxxxxxxxxx <mailto:jetty-users@xxxxxxxxxxx>
        https://dev.eclipse.org/__mailman/listinfo/jetty-users
        <https://dev.eclipse.org/mailman/listinfo/jetty-users>




    --
    Wesley Hales
    http://www.wesleyhales.com






_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users




Back to the top