You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by "Anil K. Kotha" <An...@2xprime.com> on 2008/09/30 07:49:15 UTC
Mbean status of the ManagedConnectionPool
Hi All,
I am using jackrabbit 1.4 on jboss4.
The following are the configuration parameters I specified
in jcr-ds.xml file.
<max-pool-size>200</max-pool-size>
<min-pool-size>1</min-pool-size>
<idle-timeout-minutes>1</idle-timeout-minutes>
1) Get the session from the jackrabbit.
2) Do some operations.
3) Use session.logout() to close the session.
My question is:
1) session.logout() will close the
connection immediately?
If yes I am not able to see the increased ConnectionDestroyedCount. I am
able to see the change value of the variable only after one minute. Why
is it happening like this?
I have also checked the status of
the session using session.isLive() method, it is returning false.
2) If session.logout() is not
closing the connection, then what is the method I have to use?
3) If I increase the max-pool-size,
does it result any perfromace issue?
I am checking the status of the datascource of the jcr from
the following URL:
http://localhost:8080/jmx-console/HtmlAdaptor?action=inspectMBean&name=j
boss.jca%3Aservice%3DManagedConnectionPool%2Cname%3Djcr%2Flocal
Thanks in advance.
Thanks,
Anilk.