glassfish
  1. glassfish
  2. GLASSFISH-17860

PortUnification exception seen in server.log when Console is accessed remotely.

    Details

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

      OS : Windows 2008 server
      browser : ff 8.0.1
      GF 3.1.2 b12

      Description

      When Admin Console is accessed from a remote browser after changing admin password to non empty password and secure-admin enabled, when we do any domain related operations from the Console, like changing passwords, creating password aliases etc, the below PortUnification exception is seen in the server.log. There are no error messages or exceptions seen in Console.
      Steps to reproduce:
      --install GF
      --start domain1.
      --from remote browser access console, access is denied, and login screen displayed.
      --change-admin-password using CLI, enable-secure-admin and restart.
      --from the remote browser provide the username/password and login. Console is loaded.
      Now in the console try to change the domain password, or create a password alias and save.
      The changes are saved, but server.log has the below Exception:

      [#|2011-11-30T15:48:23.495-0800|INFO|glassfish3.1.2|javax.enterprise.system.core
      .security.com.sun.enterprise.security.auth.realm|_ThreadID=17;_ThreadName=Thread
      -2;|SEC1117: Realm [admin-realm] successfully updated.|#]

      [#|2011-11-30T15:48:39.165-0800|WARNING|glassfish3.1.2|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=25;_ThreadName=Thread-2;|GRIZZLY0059: PortUnification exception.
      java.io.IOException: An existing connection was forcibly closed by the remote host
      at sun.nio.ch.SocketDispatcher.read0(Native Method)
      at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:25)
      at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:202)
      at sun.nio.ch.IOUtil.read(IOUtil.java:175)
      at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:243)
      at com.sun.grizzly.util.Utils.readWithTemporarySelector(Utils.java:152)
      at com.sun.grizzly.portunif.PUReadFilter.execute(PUReadFilter.java:245)
      at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultPro
      tocolChain.java:137)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.jav
      a:104)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.jav
      a:90)
      at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java
      :79)
      at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextT
      ask.java:54)
      at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.
      java:59)
      at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadP
      ool.java:532)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool
      .java:513)
      at java.lang.Thread.run(Thread.java:662)

      #]

      [#|2011-11-30T15:49:11.825-0800|INFO|glassfish3.1.2|null|_ThreadID=26;_ThreadNam
      e=Thread-2;|Domain Pinged: release.glassfish.oracle.com|#]

        Issue Links

          Activity

          Hide
          srinik76 added a comment -

          Tried with latest build workspace in linux ubunut, remote machine solaris, firefox not able to reproduce.

          Will try to find a windows machine and try to reproduce this.

          Show
          srinik76 added a comment - Tried with latest build workspace in linux ubunut, remote machine solaris, firefox not able to reproduce. Will try to find a windows machine and try to reproduce this.
          Hide
          srinik76 added a comment -

          Tried in windows xp machine, not able to reproduce. No PortUnification error in server.log

          Show
          srinik76 added a comment - Tried in windows xp machine, not able to reproduce. No PortUnification error in server.log
          Hide
          shaline added a comment -

          I tried on the nightly build dated b13-12-04-2011 on windows 2008 server, and was able to see this issue again. Found that this issue is not tied up with Domain tasks only, after enabling secure admin and accessing console from a remote browser, this Exception shows up in the server.log often while doing any operation in the console, like creating instances, domain passwords, open close Help windows etc.

          Show
          shaline added a comment - I tried on the nightly build dated b13-12-04-2011 on windows 2008 server, and was able to see this issue again. Found that this issue is not tied up with Domain tasks only, after enabling secure admin and accessing console from a remote browser, this Exception shows up in the server.log often while doing any operation in the console, like creating instances, domain passwords, open close Help windows etc.
          Hide
          Jason Lee added a comment -

          This seems like a network-level issue to me and not a console issue.

          Show
          Jason Lee added a comment - This seems like a network-level issue to me and not a console issue.
          Hide
          oleksiys added a comment -
          Show
          oleksiys added a comment - Grizzly issue: http://java.net/jira/browse/GRIZZLY-1153
          Hide
          oleksiys added a comment -

          will be fixed with Grizzly 1.9.43 integration

          Show
          oleksiys added a comment - will be fixed with Grizzly 1.9.43 integration

            People

            • Assignee:
              oleksiys
              Reporter:
              shaline
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: