Joined: Fri May 21, 2004 2:59 am Posts: 12
|
I am using Hibernate with Jboss and PostgreSQL.
In connection pooling I am using DBCPConnectionProvider class.
In hibernate.properties I have given as follows
hibernate.connection.provider_class = net.sf.hibernate.connection.DBCPConnectionProvider
and I have specified the other relevant parameters.
In this case I am getting the following error
16:29:34,018 FATAL [DBCPConnectionProvider] could not instantiate DBCP connection pool
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:394)
at java.lang.Integer.parseInt(Integer.java:476)
at net.sf.hibernate.connection.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:77)
at net.sf.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:83)
at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:64)
at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1091)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:737)
How to map the DBCP here.
Kindly help me in this regard.
----------------------
Manohar
|
|