[jboss-user] [JCA/JBoss] - Re: InUseConnections > MaxPoolSize... is this possible?
Sancheski
do-not-reply at jboss.com
Wed Sep 19 03:34:14 EDT 2007
Here is de ds
<?xml version="1.0" encoding="UTF-8"?>
<connection-factories>
<no-tx-connection-factory>
<!-- Where to bind the datasource, under the "java:/" prefix -->
<jndi-name>LdapConnector</jndi-name>
<rar-name>10xxxx.ear#ldap-connector.rar</rar-name>
<connection-definition>com.hp.som.connector.CapabilityConnectionFactory</connection-definition>
<config-property name="ldapContextFactory" type="java.lang.String">com.sun.jndi.ldap.LdapCtxFactory</config-property>
<config-property name="providerUrl" type="java.lang.String">ldap://10.31.21.83:389/</config-property>
<config-property name="securityAuthentication" type="java.lang.String">SIMPLE</config-property>
<config-property name="securityPrincipal" type="java.lang.String">uid=admin, ou=Administrators, ou=TopologyManagement, o=NetscapeRoot</config-property>
<config-property name="securityCredentials" type="java.lang.String">admin</config-property>
<!-- The minimum number of connections a pool should hold -->
<min-pool-size>1</min-pool-size>
<!-- The maximum number of connections for a pool -->
<max-pool-size>3</max-pool-size>
<!-- The maximum time in milliseconds to block while waiting for a connection -->
<!-- before throwing an exception. Note that this blocks only while waiting -->
<!-- for a permit for a connection, and will never throw an exception if -->
<!-- creating a new connection takes an inordinately long time -->
<blocking-timeout-millis>3000</blocking-timeout-millis>
<!-- The maximum time in minutes a connection may be idle before being closed -->
<idle-timeout-minutes>0</idle-timeout-minutes>
<background-validation>true</background-validation>
<background-validation-minutes>1</background-validation-minutes>
</no-tx-connection-factory>
</connection-factories>
Hope it is helpful,
Thanks
David
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085884#4085884
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085884
More information about the jboss-user
mailing list