In particular no one ever got around to getting tomcat to use our
thread pools, it currently manages its own threads. It would probably
be a fairly simple project for someone who knows their way around
tomcat to get the connectors to use an external thread pool.
thanks
david jencks
On Mar 25, 2009, at 4:02 AM, viola.lu wrote:
In G admin console, there is a monitoring porlet on the left
navigation panel
which can display your local or remote server statistics information
such as
tomcat ajp connector, web connector Transaction Manager or web
modules:
TomcatAJPConnector
Active Request Count 0
Busy Threads Current 1
Busy Threads Max 25
Busy Threads Min 0
Bytes Received 0
Bytes Sent 0
Error Count 0
Open Connections Current 0
Open Connections Max 0
Open Connections Min 0
Request Time Count 0
Request Time MaxTime 0
Request Time MinTime 0
Request Time TotalTime 0
TomcatWebConnector
Active Request Count 0
Busy Threads Current 4
Busy Threads Max 6
Busy Threads Min 0
Bytes Received 198
Bytes Sent 689926
Error Count 1
Open Connections Current 0
Open Connections Max 0
Open Connections Min 0
Request Time Count 107
Request Time MaxTime 9578
Request Time MinTime 0
Request Time TotalTime 24856
TomcatWebSSLConnector
Active Request Count 0
Busy Threads Current 0
Busy Threads Max 0
Busy Threads Min 0
Bytes Received 0
Bytes Sent 0
Error Count 0
Open Connections Current 0
Open Connections Max 0
Open Connections Min 0
Request Time Count 0
Request Time MaxTime 0
Request Time MinTime 0
Request Time TotalTime 0
if you want to set web http connector thread usage, you can edit
section
<module name="org.apache.geronimo.configs/tomcat6/2.1.4/car"> in file
$g_install_dir/var/config/config.xml ,if you want to set datasource
thread
pool, you can set "Connection Pool Parameters" when create
datasource via
"services"->"Database Pools" , for JMS Resource thread pool , you
can set
"basic configuration setting" for JMS provider, "Connection Pool
Parameters"
for connection factory via "services"->"JMS resources"
Hope it can help you, thanks.
jklcom99 wrote:
Thanks Jack,
Is there a way that we can check for thread usage in the console?
Jack Cai wrote:
I looked through the code to see how ConnectorThreadPool and
DefaultThreadPool are actually used. It seems that
ConnectorThreadPool is
used by
org.apache.geronimo.connector.work.GeronimoWorkManagerGBean in
JCA,
and DefaultThreadPool is used by Jetty and System-database. So their
names
are misleading in some sense. You cannot expect that the
ConnectorThreadPool
has any link with Tomcat's web connector. Hope this helps.
-Jack
2009/3/12 jklcom99 <[email protected]>
I'm running 3/2/09 2.1.4-SNAPSHOT.
Geronimo console is reporting zero usages for both
ConnectorThreadPool
and
DefaultThreadPool even with our application running.
ConnectorThreadPool is set to 30 Max
DefaultThreadPool is set to 200 min and 500 max
Thank you
--
View this message in context:
http://www.nabble.com/Geronom-2.1.4%2C-Thread-Pools-are-reporting-zero-usage-tp22461310s134p22461310.html
Sent from the Apache Geronimo - Users mailing list archive at
Nabble.com.
--
View this message in context:
http://www.nabble.com/Geronom-2.1.4%2C-Thread-Pools-are-reporting-zero-usage-tp22461310s134p22694398.html
Sent from the Apache Geronimo - Users mailing list archive at
Nabble.com.