Hi i am trying to connect to db2 on As400 using the connection pooling
mechanism provided with Web sphere 5.0

I am using WSAD5.0 development environment to test my application and
i keep getting the error below

Here is the catch though, Once i see the error, if i rebuild the whole
project again WITHOUT STOPPING the server. I am able to get the
connection. Can some one please shed some input into this
pleaseeeeeeeeeeeeeeeeee.

[2/19/04 11:06:53:528 EST] 5018ddf4 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.getConnec tion(WSRdbDataSource.java:409)
at com.ibm.ws.rsadapter.spi.WSManagedConnectionFactor yImpl.createManagedConnection(WSManagedConnectionF actoryImpl.java:558)
at com.ibm.ejs.j2c.poolmanager.FreePool.createManaged ConnectionWithMCWrapper(FreePool.java:1170)
__________________________________________________ _____

[2/19/04 11:06:53:548 EST] 5018ddf4 ConnectionMan E J2CA0020E: The
Connection Pool Manager could not allocate a Managed Connection:
javax.resource.spi.ResourceAllocationException
at com.ibm.ejs.j2c.poolmanager.FreePool.createManaged ConnectionWithMCWrapper(FreePool.java:1223)
at com.ibm.ejs.j2c.poolmanager.FreePool.createOrWaitF orConnection(FreePool.java:957)
at com.ibm.ejs.j2c.poolmanager.PoolManager.reserve(Po olManager.java:1408)
at com.ibm.ejs.j2c.ConnectionManager.allocateMCWrappe r(ConnectionManager.java:589)

__________________________________________________ _________
--- Begin backtrace for Nested Throwables
java.lang.NullPointerException
at com.ibm.ws.rsadapter.spi.WSRdbDataSource.getConnec tion(WSRdbDataSource.java:409)
at com.ibm.ws.rsadapter.spi.WSManagedConnectionFactor yImpl.createManagedConnection(WSManagedConnectionF actoryImpl.java:558)
at com.ibm.ejs.j2c.poolmanager.FreePool.createManaged ConnectionWithMCWrapper(FreePool.java:1170)
at com.ibm.ejs.j2c.poolmanager.FreePool.createOrWaitF orConnection(FreePool.java:957)
at com.ibm.ejs.j2c.poolmanager.PoolManager.reserve(Po olManager.java:1408)