通过网页执行长存储过程
我有一个在 Weblogic 10.3.3 上运行的 Web 应用程序(使用 Struts 1.x),它读取文件并将数据输入到数据库(Oracle 11g DB)。而且通过这个 Web 应用程序,我可以在数据库中运行存储过程。现在的问题是,对存储过程进行一些更改后,需要相当长的时间才能完成执行(25-40 分钟)。
现在将加载运行存储过程的页面,即使存储过程完成后(通过会话浏览器检查),页面仍处于加载状态,有时会显示超时错误。
有没有办法让网页运行需要很长时间(60 分钟)才能完成的存储过程?我应该更改应用程序代码或 Weblogic 设置吗?
感谢您的回复。
I have this web application (using Struts 1.x) running on Weblogic 10.3.3 that read files and input the data to a database (Oracle 11g DB). And also through this web application, I can run a stored procedure in the database. The problem is now after a few changes on the stored procedure, it requires a pretty long time to finish executing (25-40 minutes).
The page to run the stored procedure now will load, and even after the stored procedure has finished (checked through session browser), the page will still in loading state and after sometimes it will display timeout error.
Is there any way for a web page to run a stored procedure that takes long time to finish (60 minutes)? Should I make changes to the application code or the Weblogic setting?
Thanks for the responses.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你永远不应该让用户等待。当我上次处理这个问题时:
You should never ever ever ever leave the user waiting. When I last dealt with that: