wood burning stoves 2.0*
The moose likes Struts and the fly likes How to read database continously? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to read database continously?" Watch "How to read database continously?" New topic
Author

How to read database continously?

Joseph Bashir
Ranch Hand

Joined: Jun 16, 2004
Posts: 41
I am builing an auction website using Struts framework. I need to update data in the database and retrieve data from database continously in order to update the satatus of items (i.e., which items have reached the closing date/time, which bidder have won the bid etc...).

I have written a class for this which does the above mentioned job. Each time any page is accessed on my website this class is called first. This result in java.lang.OutOfMemoryError. Below is the detail of this error:


Please help me to resolve this issue.


Joseph Bashir
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to read database continously?
 
Similar Threads
Problem creating an image from a remote url
java.lang.OutOfMemoryError
Error in Running Servlet online
Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error
What jar file contains sun.net.smtp.SmtpClient?