File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Object Relational Mapping and the fly likes Struts2 + Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Struts2 + Hibernate" Watch "Struts2 + Hibernate" New topic

Struts2 + Hibernate

Ivar sol

Joined: Aug 18, 2009
Posts: 3
Hi i am using Hibernate to insert bulk records/ query bulk records at a time.

All works well but suddenly after some time error comes up saying that cannot open connection/TNS listener not listening in the middle of the application.
What does it mean?

Error i get is :

My program is like this, this function is called in a loop more than 1000 times,however i get error at the 10th row if i use Oracle 10g XE,
and on around 100th row if i use Oracle 10g.
All previous take out coorect data/ insert data in database.but after some time this error creeps in

Please suggest what is going wrong.
Ivar sol

Joined: Aug 18, 2009
Posts: 3
And i am using Tomcat 6 server
subject: Struts2 + Hibernate
Similar Threads
strtus 2 application error
java.lang.NoSuchMethodError: com.opensymphony.xwork2.ActionContext.get(Ljava/lang/Object;)Ljava/lang
The requested list key 'trngList' could not be resolved as a collection/array/map/enumeration/iterat
java.lang.ClassNotFoundException: javax.persistence.JoinTable
Struts2 annotation in JBoss 4.0.5.GA