I am using WSAD5.0 as
IDE and i am trying to use connection pooling mechanism avialble out of the box. when i deploy the application using WSAD development environment, and try to connect to DB, i get the following error
Here is the catch...if i rebuild my project with out stopping the already running server and run my application. Everything works fine. So it is only the very first time i deploy my application. I will really appreciate if some one can shed some input into this.
FreePool E J2CA0046E: Method createManagedConnectionWithMCWrapper caught an exception during creation of the ManagedConnection for resource jdbc/v84dwnlodDS, throwing ResourceAllocationException. Original exception: java.lang.NullPointerException
at com.ibm.ws.rsadapter.spi.WSRdbDataSource.getConnection(WSRdbDataSource.java:409)
at com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl.createManagedConnection(WSManagedConnectionFactoryImpl.java:558)
at com.ibm.ejs.j2c.poolmanager.FreePool.createManagedConnectionWithMCWrapper(FreePool.java:1170)
at com.ibm.ejs.j2c.poolmanager.FreePool.createOrWaitForConnection(FreePool.java:957)
at com.ibm.ejs.j2c.poolmanager.PoolManager.reserve(PoolManager.java:1408)
at com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java:589)
at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java:392)
at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java:206)
at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java:182)
[2/18/04 13:45:07:787 EST] 28eb47ab ConnectionMan E J2CA0020E: The Connection Pool Manager could not allocate a Managed Connection: javax.resource.spi.ResourceAllocationException