users@glassfish.java.net

Re: Monitor busy thread count - glassfish 3.0.1

From: <forums_at_java.net>
Date: Fri, 31 Aug 2012 13:44:10 -0500 (CDT)

Tom, Thanks, you are correct, it gives asadmin> get
server.thread-pools.thread-pool.http-thread-pool.*
server.thread-pools.thread-pool.http-thread-pool.classname=com.sun.grizzly.http.StatsThreadPool
server.thread-pools.thread-pool.http-thread-pool.idle-thread-timeout-seconds=900
server.thread-pools.thread-pool.http-thread-pool.max-queue-size=4096
server.thread-pools.thread-pool.http-thread-pool.max-thread-pool-size=45
server.thread-pools.thread-pool.http-thread-pool.min-thread-pool-size=2
server.thread-pools.thread-pool.http-thread-pool.name=http-thread-pool But I
can see I got messsed up in the names, what I am looking for is the number of
busy threads, according to
http://docs.oracle.com/cd/E19798-01/821-1751/ablvc/index.html there should
exist variables like server.thread-pool.orb.threadpool.http-thread-pool.*,
but asadmin> get server.thread-pool.orb.threadpool.thread-pool-1.*
com.sun.enterprise.admin.cli.CommandException: remote failure: Dotted name
path server.thread-pool.orb.threadpool.thread-pool-1.* not found. the orb
object does not seem to exist. This should contain statistics. I can't figure
out what I'm missing here Thanks Niels

--
[Message sent by forum member 'boldt']
View Post: http://forums.java.net/node/889729