Hi,
I have modified the configuration...
Code:
<bean id="datasource" class="com.mchange.v2.c3p0.ComboPooledDataSource" destroy-method="close" >
<property name="driverClass" value="com.ibm.db2.jcc.DB2Driver"/>
<property name="jdbcUrl" value="jdbc:db2://ipaddress/instance_name"/>
<property name="user" value="xxx"/>
<property name="password" value="xxx"/>
<property name="initialPoolSize" value="15"/>
<property name="minPoolSize" value="15"/>
<property name="maxPoolSize" value="200"/>
</bean>
But still it gets initialized when the first request comes in...
and the first request takes a good deal of time...
Whats wrong with the configuration??