jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anil K. Kotha" <An...@2xprime.com>
Subject Mbean status of the ManagedConnectionPool
Date Tue, 30 Sep 2008 05:49:15 GMT
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.

 

            

            

 

            

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message