Hi everybody,
 
I am working on weblogic 6.1 and have succesfully deployed a BMP.
When i am running my client class, in which i am inserting 4 records into the database only the first 3 records get inserted then i get the following error
 
weblogic.common.ResourceException: No resources available
        at weblogic.common.internal.ResourceAllocator.reserve(ResourceAllocator.
java:533)
        at weblogic.common.internal.ResourceAllocator.reserve(ResourceAllocator.
java:379)
        at weblogic.common.internal.ResourceAllocator.reserveNoWait(ResourceAllo
cator.java:347)
        at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.j
ava:169)
        at weblogic.jdbc.common.internal.ConnectionPool.reserveNoWait(Connection
Pool.java:130)
        at weblogic.jdbcbase.common.internal.RmiDataSource.getPoolConnection(Rmi
DataSource.java:180)
        at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSour
ce.java:49)
        at ejb.bmp.TaxEJB.getConnection(TaxEJB.java:236)
        at ejb.bmp.TaxEJB.ejbCreate(TaxEJB.java:34)
        at ejb.bmp.TaxEJBImpl.ejbCreate(TaxEJBImpl.java:213)
        at java.lang.reflect.Method.invoke(Native Method)
        at weblogic.ejb20.manager.DBManager.create(DBManager.java:408)
        at weblogic.ejb20.internal.EntityEJBHome.create(EntityEJBHome.java:353)
        at ejb.bmp.TaxEJBHomeImpl.create(TaxEJBHomeImpl.java:75)
        at ejb.bmp.TaxEJBHomeImpl_WLSkel.invoke(TaxEJBHomeImpl_WLSkel.java:66)
        at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.ja
va:373)
 
Earlier what was happening was that only one record was being inserted, which got solved after i increased my column width name. But why do i get the above exception. Cud anybody give a clue.

Regards,
Vikramjit Singh,
GTL Ltd.
Ph. 7612929-1059

 

Reply via email to