-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Transaction not started error
PostPosted: Tue Jul 22, 2008 11:09 am 
Newbie

Joined: Tue Jul 22, 2008 10:21 am
Posts: 1
Location: Belfast
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?

_________________
Thanks,
Stephen Rogers


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.