grizzly
  1. grizzly
  2. GRIZZLY-1254

This error occurs occasionally for no apparent reason, causing glassfish does not deliver all packets.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.47
    • Fix Version/s: 1.9.49
    • Component/s: ajp
    • Labels:
      None
    • Environment:

      Glassfish 3.1.2 build 23 Apache/2.2.9 mod_jk/1.2.32 Windows 2003 Server x64

      Description

      [#|2012-04-14T20:36:21.593-0500|SEVERE|glassfish3.1.2|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=1333;_ThreadName=Thread-2;|GRIZZLY0051: ProcessorTask exception.
      java.lang.IndexOutOfBoundsException
      at java.nio.Buffer.checkBounds(Buffer.java:559)
      at java.nio.HeapByteBuffer.get(HeapByteBuffer.java:143)
      at com.sun.grizzly.util.InputReader.read(InputReader.java:216)
      at com.sun.grizzly.http.ajp.AjpInputBuffer.ensureAvailable(AjpInputBuffer.java:210)
      at com.sun.grizzly.http.ajp.AjpInputBuffer.readAjpMessageHeader(AjpInputBuffer.java:79)
      at com.sun.grizzly.http.ajp.AjpProcessorTask.parseRequest(AjpProcessorTask.java:107)
      at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:706)
      at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)
      at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)
      at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.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(AbstractThreadPool.java:532)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      at java.lang.Thread.run(Thread.java:722)

      #]

      The log file is full of this error, several of these messages per second. The only way to stop it is going to: "server config \ network config \ protocols \ jk-connector \ HTTP modify" Max Connections value and SAVE. However, no matter how high the value set, this error will occur at some moment.

        Activity

        lflince created issue -
        lflince made changes -
        Field Original Value New Value
        Attachment glassfish-jk.properties.txt [ 49728 ]
        Attachment domain.xml [ 49729 ]
        lflince made changes -
        Attachment httpd.conf [ 49730 ]
        oleksiys made changes -
        Attachment grizzly-http-ajp.jar [ 49733 ]
        lflince made changes -
        Attachment server.log [ 49741 ]
        oleksiys made changes -
        Attachment grizzly-http-ajp.jar [ 49733 ]
        oleksiys made changes -
        Attachment grizzly-http-ajp.jar [ 49742 ]
        lflince made changes -
        Attachment log.7z [ 49743 ]
        lflince made changes -
        Attachment log2.zip [ 49745 ]
        oleksiys made changes -
        Attachment grizzly-http-ajp.jar [ 49742 ]
        oleksiys made changes -
        Attachment grizzly-http-ajp.jar [ 49748 ]
        oleksiys made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.9.49 [ 15707 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            lflince
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: