Results 1 to 2 of 2
Thread: Handling Weblogic server crash
- 01-25-2011, 01:34 PM #1
Member
- Join Date
- Mar 2009
- Posts
- 19
- Rep Power
- 0
Handling Weblogic server crash
Greetings!
Here is my problem. I want to deploy a Java application to a Weblogic server. This application fetches contacts from the database in batches, 100 contacts at a time. When a batch is processed, all the contacts are updated with the status 'Processed' in the database and another 100 contacts are fetched.
Now, my concern is - what happens if the application has processed, lets say, 70 contacts, and then the Weblogic server crashed. I have a startup class defined which will restart my application on server restart. However, since those 70 contacts that were processed were not updated in the database as "Processed", they will be fetched again and processed again which is unacceptable.
What I want is to somehow be able to reinitialize and get my 100 contacts back into the application, without loosing the knowledge of which contacts were and were not processed.
The simplest way I know how this can be done is by updating each contact right after it has been processed. However, this is pretty heavy on the database.
If anyone else has encountered such a problem and knows another way to audit the changes made, or any other way of solving this problem, please share.
Respectfully,
Andrew
- 01-27-2011, 03:42 PM #2
Member
- Join Date
- Jan 2011
- Posts
- 3
- Rep Power
- 0
Similar Threads
-
Migrating Application from weblogic 8.1 to weblogic 10.0 - Urgent
By phanindar in forum Enterprise JavaBeans (EJB)Replies: 3Last Post: 01-07-2011, 08:47 PM -
Facing problem in lucene search with weblogic clustering server
By samirkumar in forum LuceneReplies: 0Last Post: 08-20-2010, 12:24 PM -
I cannot use WebLogic server in Eclipse Europa
By jason.3dmagic in forum EclipseReplies: 1Last Post: 02-17-2010, 11:01 AM -
Problems while getting data from weblogic server when using connection pooling
By jason.3dmagic in forum New To JavaReplies: 12Last Post: 02-17-2010, 07:50 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks