-->
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.  [ 2 posts ] 
Author Message
 Post subject: org.hibernate.TransactionException: JDBC commit failed
PostPosted: Wed Dec 02, 2009 7:20 am 
Beginner
Beginner

Joined: Sat Nov 07, 2009 10:31 am
Posts: 22
hi,
i dont know whether this is right place to discuss.
i m getting org.hibernate.TransactionException: JDBC commit failed exception
when i access the methods after one day (server still running).
and if i restart the server then its working fine..
this is the my datasource configuration to connection pool configuration also.. in spring
i m using jpa.
my doubt is that connection are not getting created after some hours .

Quote:
<bean id="dataSource" class="oracle.jdbc.pool.OracleDataSource" >
<property name="explicitCachingEnabled" value="true"/>
<property name="URL" value="jdbc:oracle:thin:@10.155.14.3:1521:SF"></property>
<property name="password" value="stg_full_srm_app"></property>
<property name="user" value="stg_full_srm_app"></property>
<property name="connectionCachingEnabled" value="true" />
<property name="connectionCacheProperties">
<props>
<prop key="MinLimit">5</prop>
<prop key="MaxLimit">50</prop>
<prop key="InitialLimit">5</prop>
<prop key="InactivityTimeout">1800</prop>
<prop key="AbandonedConnectionTimeout">900</prop>
</props>
</property>
</bean>



how actually the connection are created and pooled and getting used..?

please let me the solution .. its urgent

Thanks,
jana

_________________
Jana


Top
 Profile  
 
 Post subject: Re: org.hibernate.TransactionException: JDBC commit failed
PostPosted: Wed Dec 02, 2009 9:47 am 
Beginner
Beginner

Joined: Sat Nov 07, 2009 10:31 am
Posts: 22
please some help.. regarding the above..

_________________
Jana


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

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.