eclipse-ee4j / glassfish

Eclipse GlassFish
https://eclipse-ee4j.github.io/glassfish/
386 stars 144 forks source link

Monitoring stats are not avaliable when RCM is enabled #6116

Closed glassfishrobot closed 15 years ago

glassfishrobot commented 16 years ago

After enabling RCM, all monitoring stats show a value of zero.

Environment

Operating System: All Platform: Sun

Affected Versions

[9.1peur2]

glassfishrobot commented 6 years ago
glassfishrobot commented 16 years ago

@glassfishrobot Commented jfarcand said: Re-assign to Alexey for investigation.

glassfishrobot commented 16 years ago

@glassfishrobot Commented oleksiys said: hi,

can you pls. write the instruction, how I can reproduce the issue?

Thank you.

glassfishrobot commented 16 years ago

@glassfishrobot Commented binujohn@java.net said: Instructions on how to enable RCM can be found at http://weblogs.java.net/blog/jfarcand/archive/2007/06/improving_ajax_1.html.

Note that the property to set is rcmSupport instead of enableRCM.

Refer to #6115. RCM support does not take effect if the proxiedProtocols property is set. To reproduce the bug, comment out the proxiedProtocols property.

To view the monitoring stats, set WEB-CONTAINER monitoring to HIGH. The value of the various monitored stats show up as zero.

glassfishrobot commented 16 years ago

@glassfishrobot Commented oleksiys said: I've downloaded latest v2.1 promoted (b51) and enabled RCM according to the blog. Set the property "com.sun.enterprise.web.connector.grizzly.displayConfiguration=true"

Checked, that RCM pipeline was really enabled. Grizzly configuration for port 8080 maxThreads: 5 minThreads: 2 ByteBuffer size: 4096 useDirectByteBuffer: false useByteBufferView: false maxHttpHeaderSize: 8192 maxKeepAliveRequests: 250 keepAliveTimeoutInSeconds: 30 Static File Cache enabled: false Stream Algorithm : com.sun.enterprise.web.connector.grizzly.algorithms.NoParsingAlgorithm Pipeline : com.sun.enterprise.web.ara.IsolationPipeline Round Robin Selector Algorithm enabled: false Round Robin Selector pool size: 1 recycleTasks: true Asynchronous Request Processing enabled: false|#]

deployed the testing servlet and made a several requests from browser. The monitoring values have been changed

RequestCount : 2 ErrorCount: 0 ServiceTime: 2 milliseconds ProcessingTime: 2 milliseconds MaxTime: 2 milliseconds

Did you mean that monitoring values? If yes, can you pls. try the GFv2.1 build I've mentioned?

glassfishrobot commented 15 years ago

@glassfishrobot Commented oleksiys said: any update?

glassfishrobot commented 15 years ago

@glassfishrobot Commented binujohn@java.net said: I tried the latest version of GF, V2.1b60b and the issue has been resolved.

glassfishrobot commented 16 years ago

@glassfishrobot Commented Was assigned to oleksiys

glassfishrobot commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA GLASSFISH-6116

glassfishrobot commented 16 years ago

@glassfishrobot Commented Reported by binujohn@java.net

glassfishrobot commented 15 years ago

@glassfishrobot Commented Marked as cannot reproduce on Tuesday, December 9th 2008, 2:50:39 am