File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes EJB3 Time out Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB3 Time out Problem" Watch "EJB3 Time out Problem" New topic
Author

EJB3 Time out Problem

Ola Daniel
Ranch Hand

Joined: Jul 27, 2005
Posts: 105
I am trying to process about 20,000 records. I will be making several calls per record with my database (an oracle database). My transaction times out way before I finish processing my records.

Can someone please advice me on how best to handle such a large volume of data without a time out. Kindly point me in the right direction on how best to handle such large records. I am attempting to see if i can process 400,000 records at a time. Help please.

P.s.
I dont want to break my transaction into bits and pieces if i donot have to.


SCJP 1.4, SCWCD 1.4
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
- Martin Fowler et al, Refactoring: Improving the Design of Existing Code, 1999
Edvins Reisons
Ranch Hand

Joined: Dec 11, 2006
Posts: 364
Transaction timeouts are configurable. A Google search on "JTA timeout" may help you find out how to configure them for your environment; for example, this configuration reference came up first in the search results.
nandkishor rao
Ranch Hand

Joined: May 24, 2006
Posts: 53
Yes, the same thing is happening with me I am still trying on that.
But the default time out is 1 day for MDBs. But don't know why its always timed out in between.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB3 Time out Problem