glassfish
  1. glassfish
  2. GLASSFISH-18661

cannot access admin console after enabled Secure Admin

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0_b36
    • Component/s: grizzly-kernel
    • Labels:
      None
    • Environment:

      Hosted Linux

      Description

      On Hosted Linux:
      build and start a fresh GF
      start a fresh domain
      asadmin change-admin-password
      asadmin enable-secure-admin
      restart

      Accessing console using localhost on local machine is fine.

      Accessing console using real hostname not localhost, there will be different results:

      • when accessing from some machines, after accept the certificates and accept the option of "confirm security exception", the login page shows correctly, but after input username/pwd, the 'common tasks' page never end loading, it is always blank.
      • when from some other machines, even the login page cannot shown.
      • when from other machines, everything is ok.

      There are lots of errors in GF server log:
      2012-04-24T01:45:07.342-0700|WARNING|44.0|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=55;_ThreadName=Thread-2;|StandardWrapperValve[FacesServlet]: PWC1406: Servlet.service() for servlet FacesServlet threw exception
      org.glassfish.grizzly.PendingWriteQueueLimitExceededException: Max queued data limit exceeded: 34321>32768
      at org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter.checkQueueSize(AbstractNIOAsyncQueueWriter.java:617)
      at org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter.writeQueueRecord(AbstractNIOAsyncQueueWriter.java:280)
      at org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter.write(AbstractNIOAsyncQueueWriter.java:219)

      Also in server log:
      [#|2012-04-23T22:45:08.332-0700|INFO|44.0|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=10;_ThreadName=Thread-2;|Grizzly Framework 2.2.4 started in: 327ms - bound to [/0.0.0.0:8,080]|#]

      Confirmed with Oleksiy Stashok.

        Activity

        Hide
        Wilson Tian added a comment -

        This issue was found in latest 4.0 trunk.
        Should be assigned to Oleksiy Stashok. However I didn't have privilege to reassign or edit the issue.

        Show
        Wilson Tian added a comment - This issue was found in latest 4.0 trunk. Should be assigned to Oleksiy Stashok. However I didn't have privilege to reassign or edit the issue.
        Hide
        Anissa Lam added a comment -

        Have discussed this with Alexey, he has idea of what maybe the problem. Assign to him.

        Show
        Anissa Lam added a comment - Have discussed this with Alexey, he has idea of what maybe the problem. Assign to him.
        Hide
        oleksiys added a comment -
        Show
        oleksiys added a comment - related Grizzly issue http://java.net/jira/browse/GRIZZLY-1260
        Hide
        Ryan Lubke added a comment -

        This should be resolved in 4.0_b36. If, after testing, this is not the case, please re-open.

        Show
        Ryan Lubke added a comment - This should be resolved in 4.0_b36. If, after testing, this is not the case, please re-open.

          People

          • Assignee:
            oleksiys
            Reporter:
            Wilson Tian
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: