Tag: VisualVM

  • Java EE6 Stress test by Adam Bien

    Interesting thing about system.out.println how huge bottleneck it creates being used while asking db through RESTful webservice. This article pushed me to experiment by my own with VisualVM and JMeter. Both are great tools.

    (About VisualVM, yesterday I’ve made a complaint about it, but today I’ve got notification to upgrade Visual sampler what really helped and turned this tool into very handy stuff;)

  • Glassfish, jmx, jconsole, apps active sessions

    We put lately more attention to monitoring and tuning our systems – mainly db.  I tried to refresh in mind how to check active sessions on jvm for specified app. I’ve experimented with VisualVM, but it didn’t satisfied me. I simply does not work out-of-the-box. After registering jmx remote host, I could not expand apps list…

    I need something more standard and working then that. I’ve run “jconsole”  (attached to each jdk copy).

    Then I’ve connected to:  myFavouriteAppsserver.com:8686

    and under the path: com.sun.appserv/Manager/myAwesomeAppName/server/Attributes

    I’ve found to variables: activeSessions and sessionCount. Take a look