users@glassfish.java.net

questions on threads...

From: Russ Petruzzelli <Russ.Petruzzelli_at_Sun.COM>
Date: Tue, 19 Aug 2008 17:03:44 -0700

Running a few virtual users on my web application: login/logout.
While monitoring the application server (9.0u1) with jconsole I see a
four SSL worker threads blocking with very high counts...on (seemingly)
th e wrong ports.
(my http-listeners are configured with 4 acceptor threads.)
Questions:
Why would an SSL thread be looking at my non-SSL port (8080)?
And ....
Blocking is a bad thing, is it not?

Thanks,
Russ

    =-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-==-
    Name: httpSSLWorkerThread-8080-0
    State: WAITING on
    com.sun.enterprise.web.portunif.PortUnificationPipeline_at_5069e62e
    Total blocked: 20,531 Total waited: 14,611

    Stack trace:
    java.lang.Object.wait(Native Method)
    java.lang.Object.wait(Object.java:485)
    com.sun.enterprise.web.connector.grizzly.LinkedListPipeline.getTask(LinkedListPipeline.java:291)
    com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:104)
    =-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-==-
    Name: httpSSLWorkerThread-8080-1
    State: WAITING on
    com.sun.enterprise.web.portunif.PortUnificationPipeline_at_5069e62e
    Total blocked: 20,738 Total waited: 14,653

    Stack trace:
    java.lang.Object.wait(Native Method)
    java.lang.Object.wait(Object.java:485)
    com.sun.enterprise.web.connector.grizzly.LinkedListPipeline.getTask(LinkedListPipeline.java:291)
    com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:104)
    =-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-==-
    Name: httpSSLWorkerThread-8080-2
    State: WAITING on
    com.sun.enterprise.web.portunif.PortUnificationPipeline_at_5069e62e
    Total blocked: 19,703 Total waited: 14,631

    Stack trace:
    java.lang.Object.wait(Native Method)
    java.lang.Object.wait(Object.java:485)
    com.sun.enterprise.web.connector.grizzly.LinkedListPipeline.getTask(LinkedListPipeline.java:291)
    com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:104)

    =-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-==-
    Name: httpSSLWorkerThread-8080-3
    State: WAITING on
    com.sun.enterprise.web.portunif.PortUnificationPipeline_at_5069e62e
    Total blocked: 20,063 Total waited: 14,625

    Stack trace:
    java.lang.Object.wait(Native Method)
    java.lang.Object.wait(Object.java:485)
    com.sun.enterprise.web.connector.grizzly.LinkedListPipeline.getTask(LinkedListPipeline.java:291)
    com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:104)
    =-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-==-
    Name: httpSSLWorkerThread-8080-4
    State: WAITING on
    com.sun.enterprise.web.portunif.PortUnificationPipeline_at_5069e62e
    Total blocked: 19,572 Total waited: 14,259

    Stack trace:
    java.lang.Object.wait(Native Method)
    java.lang.Object.wait(Object.java:485)
    com.sun.enterprise.web.connector.grizzly.LinkedListPipeline.getTask(LinkedListPipeline.java:291)
    com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:104)
    =-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-==-




        <http-listener acceptor-threads="4" address="10.5.185.103" blocking-enabled="false" default-virtual-server="server" enabled="true" family="inet" id="http-listener-1" port="8080" security-enabled="false" server-name="" xpowered-by="true">
          <property name="proxiedProtocols" value="ws/tcp"/>
          <property name="cometSupport" value="true"/>
        </http-listener>
        <http-listener acceptor-threads="4" address="10.5.185.103" blocking-enabled="false" default-virtual-server="server" enabled="true" family="inet" id="http-listener-2" port="8181" security-enabled="true" server-name="" xpowered-by="true">
          <ssl cert-nickname="s1as" client-auth-enabled="false" ssl2-enabled="false" ssl3-enabled="true" tls-enabled="true" tls-rollback-enabled="true"/>
        </http-listener>