Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2007

Tip: Looking for answers? Try searching our database.

Database insert taking a long time and causing 500 error

Thread view: 
palak123i@gmail.com - 06 Jun 2007 13:31 GMT
Hi,

My requirement is as follows:

Server: Websphere
Framework: Struts

A user will upload excel file. Excel file will have several rows. For
each row, I need to insert one row in oracle database table. And
finally success message is to be shown to the user.

I read the excel file in action class and call a oracle procedure to
insert the records to database.

The issue is that when the size of excel file is large (containing
several records), it is taking a long time to complete insertion and
it shows Internal Server 500 error on the browser. Passing small set
of records to procedure is also not helping.

I think since there is no response from the app server to the client,
this error is coming. Can anybody suggest how to solve this problem?

Thanks in advance,
Palak
steve - 12 Jun 2007 00:36 GMT
> Hi,
>
[quoted text clipped - 20 lines]
> Thanks in advance,
> Palak

yes using my telepathic  abilities , i can imagine your code.

 I have worked out a solution and am now transferring it back to you
telepathically.

If you do not receive the solution then logically it is your problem  as i am
clearly sending from my end.

Steve


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.