ORA-01013: User Requested Cancel Of Current Operation

 

How To Handle Error Java.sql.SQLException: ORA-01013: User Requested Cancel Of Current Operation [ID 788246.1]

--------------------------------------------------------------------------------
 
  修改时间 29-OCT-2010     类型 HOWTO     状态 PUBLISHED  

In this Document
  Goal
  Solution

 

--------------------------------------------------------------------------------

 

Applies to:
Oracle Communications Order and Service Management - Version: 2.5.2 to 7.0.1 - Release: 2.5 to 7.0.0


Goal
This note describes how to handle the following ORA-1013 error when it appears in the OSM WebLogic server log:

<600108> : ORA-01013: user requested cancel of current operation

com.mslv.oms.handler.InternalErrorException: ORA-01013: user requested cancel of current operation
: ORA-01013: user requested cancel of current operation

at com.mslv.oms.handler.a.processRequest(Unknown Source)
at com.mslv.oms.jsp.processor.RequestProcessorSupport.processRequest(Unknown Source)
at com.mslv.oms.jsp.processor.RequestProcessorSupport.a(Unknown Source)
at com.mslv.oms.jsp.processor.QueryResultsProcessor.d(Unknown Source)
at com.mslv.oms.jsp.processor.QueryResultsProcessor.processRequest(Unknown Source)
Truncated. see log file for complete stacktrace
java.sql.SQLException: ORA-01013: user requested cancel of current operation

at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:207)

Solution
JDBC pool oms_pool has the following parameter to deal with this:
'Statement Timeout: '

For example, a setting of 60 will mean that whenever there is request from sessions in oms_pool, the session will set up a timer of 60 seconds. If the request can't finish within 60 seconds, the timer will be triggered and inform. the database to stop this request. As a result, the database duly complies.

Generally we should set up this parameter 'Statement Timeout: ' for all JDBC pools in OSM WebLogic domain, doing so will prevent JDBC sessions from hanging.

JDBC pool 'Statement Timeout: ' should always be greater than JTA of BEA domain.

If you run into ORA-01013, you can:

1. Analyze what the request should be, should it be finished with 'Statement Timeout: '? Is performance tuning needed?

2. Increase 'Statement Timeout: ' to quickly resolve the problem, you may need to increase JTA as well.


 相关的

 

--------------------------------------------------------------------------------
产品
--------------------------------------------------------------------------------

•More Applications > Industry Solutions > Communications > Oracle Communications Order and Service Management
关键字
--------------------------------------------------------------------------------
JAVA.SQL.SQLEXCEPTION; OMS; THROWSQLEXCEPTION; WEBLOGIC; PERFORMANCE TUNING; TIME OUT
错误
--------------------------------------------------------------------------------
ORA-1013; 1013 ERROR

 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/9252210/viewspace-681965/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/9252210/viewspace-681965/

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值