Hi,
I am using Spring 2.0 with Hibernate 3.2 and Tomcat 6.0.16. When I first deploy the code I am getting loads of these errors when attempting to contact the DB, Oracle RDBMS 10.2.0.3:
Code:
Caused by: java.lang.NullPointerException
at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:788)
at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:95)
I think this may be connected to a transaction issue I am also seeing in the logs:
Code:
Caused by: org.hibernate.TransactionException: Transaction not successfully started
at org.hibernate.transaction.JDBCTransaction.rollback(JDBCTransaction.java:149)
This is fixed by attempting to create an order in the DB then restarting the tomcat server (strangely just restarting the server does not fix it). Has anyone come across this before and can offer any advice?