关键词不能为空

当前您在: 主页 > 英语 >

wareUnderstanding the OALL8 is in an Inconsistent State Exceptio

作者:高考题库网
来源:https://www.bjmy2z.cn/gaokao
2021-01-28 17:45
tags:

ware-公羊

2021年1月28日发(作者:wolf是什么意思)



Master Note: Understanding the


944692.1]




修改时间



21-FEB-2011


类型



HOWTO


状态



PUBLISHED



In this Document




Goal




Solution




1. Generic exception




2. JDBC code




3. Relationship to




4. Causes




4.1. Cause due to earlier problem that gave an error or exception




4.1.1. Preceding exception: interException, Cause: Unpublished JDBC Bug


4390875




4.1.2. Preceding exception: Bigger type length than Maximum, Cause: JDBC Bug 3923624




4.1.3. Preceding exception: emoryError




4.1.4. Preceding exception: No more data to read from socket, Cause: Database Bug 5851267




4.1.5. Preceding exception: No more data to read from socket, Cause: Database Bug 5364143




4.2. Cause due to earlier problem that did not give an error or exception




4.2.1. Sharing a connection between threads




4.2.2. Insufficient memory




4.3. Cause not due to earlier problem




4.3.1. JDBC syntax, Note 370271.1




5. No cause found and no earlier problem found




5.1. Test with JDBC 11.2




5.2. Keep looking for an earlier problem




5.3. Provide a reproducible test case




6. Possible workarounds




6.1. If the exception does not cause a problem ignore it




6.2. Validate connection before borrowing from pool




6.3. Catch exception, get new connection, and redo whatever failed




References




Applies to:



JDBC - Version: 10.1.0.2 to 11.1.0.7 - Release: 10.1 to 11.1


Information in this document applies to any platform.


Goal


Over the past couple of years you have occasionally seen the exception


inconsistent state


from a large standalone Java application. The exceptions were intermittent and could not be


reproduced at will. You were not able to identify a cause for any of the occurrences of the


exception. You ask if there is any information that will help you to understand this exception.



Solution


1. Generic exception




11.1. It indicates that an internal inconsistency has been detected in the JDBC connection but


it does not provide information on what caused the inconsistency. The exception no longer


occurs in JDBC 11.2.



2. JDBC code


At a particular point in the JDBC code that handles a connection's communication between


client and server, the JDBC code determines if an OALL8 object used by the connection is in a


inconsistent state by checking the value of the


of the class




First the code sets receiveState to zero. Then communication occurs between client and


server. Then the code checks to see if receiveState is still is zero. It is expected to still be zero.


If receiveState is still zero then no inconsistency has been detected in the connection and


processing continues. If, however, receiveState is no longer zero (which is unexpected) the


OALL8 object is considered to be in an inconsistent state and the


state




The


changed the value of receiveState to a non-zero value. That


code that reports the


receiveState is not zero when it should be zero.




The following code snippets were obtained from the . They show where the



code to raise the exception no longer exists in JDBC 11.2.0.1.



JDBC 10.2.0.3:


if(receiveState != 0)


{


receiveState = 0;


qlException(447);


}


();



JDBC 11.1.0.7:


if(receiveState != 0)


{


receiveState = 0;


qlException(getConnectionDu ringExceptionHand


ling(), 447);


}


();



JDBC 11.2.0.1:


if(receiveState != 0)


receiveState = 0;


();



The


line in ties (in oracle/jdbc/driver).



ORA-17447=OALL8 is in an inconsistent state



3. Relationship to


In a number of service requests for an





The JDBC Frequently Asked Questions (FAQ) at


/technetwork/database/enterprise- edition/



provides the following explanation.




What does




The Thin driver throws this exception when it reads something from the RDBMS that it did not


expect. This means that the protocol engine in the Thin driver and the protocol engine in the


RDBMS are out of synch. There is no way to recover from this error. The connection is dead.


You should try to close it, but that will probably fail too.




If you get a reproducible test case that generates this error, please file a TAR with Oracle


Global Support. Be sure to specify the exact version numbers of the JDBC driver and the


RDBMS, including any patches.



4. Causes


In the vast majority of cases where a cause has been identified, that cause was not directly


responsible for the


responsible for another problem and the


consequence of the earlier problem. Some examples of causes follow.




If an earlier problem is found, whether or not it is a problem documented below, resolve the


earlier problem and determine if the



4.1. Cause due to earlier problem that gave an error or exception


4.1.1. Preceding exception: interException, Cause: Unpublished


JDBC Bug 4390875


This issue is described in


Note 549409.1



Driver.




Unpublished JDBC Bug 4390875 causes a interException when executing a


certain query. When the same Statement and Connection on which the


interException occurred is used to execute another query that query fails with





Unpublished Bug 4390875 is described in


Note 4390875.8



NullPointerException from JDBC Thin getString() with invalid AL32UTF8 characters


is fixed in JDBC 11.1.0.6.



4.1.2. Preceding exception: Bigger type length than Maximum, Cause: JDBC Bug


3923624


This issue is described in


Note 371815.1


'PROTOCOL EXCEPTION' FOLLOWED BY 'OALL8


IS IN AN INCONSISTENT STATE' WHEN USING JDBC 10.1.0.3/10.1.0.4 and has been


reported in a number of service requests.




Unpublished JDBC Bug 3923624 causes a


is followed by an




Unpublished Bug 3923624 is described in


Note 3923624.8


Bug 3923624 - SQLException



JDBC 10.1.0.4 and JDBC 10.2.0.1.




The reference to unpublished Bug 4048311 GETTING


MAXIMUM


Unpublished Bug 4048311 in an internal bug and it reports the issue occurring in JDBC


10.1.0.4. It is a duplicate of unpublished Bug 3923624 which is fixed in JDBC 10.1.0.4. So


unpublished Bug 4048311 both occurs in and is fixed in JDBC 10.1.0.4. This is possible if the


issue occurs in an early, internal JDBC 10.1.0.4 and is fixed in a later, production JDBC


10.1.0.4.



4.1.3. Preceding exception: emoryError

ware-公羊


ware-公羊


ware-公羊


ware-公羊


ware-公羊


ware-公羊


ware-公羊


ware-公羊



本文更新与2021-01-28 17:45,由作者提供,不代表本网站立场,转载请注明出处:https://www.bjmy2z.cn/gaokao/580927.html

Understanding the OALL8 is in an Inconsistent State Exceptio的相关文章

  • 余华爱情经典语录,余华爱情句子

    余华的经典语录——余华《第七天》40、我不怕死,一点都不怕,只怕再也不能看见你——余华《第七天》4可是我再也没遇到一个像福贵这样令我难忘的人了,对自己的经历如此清楚,

    语文
  • 心情低落的图片压抑,心情低落的图片发朋友圈

    心情压抑的图片(心太累没人理解的说说带图片)1、有时候很想找个人倾诉一下,却又不知从何说起,最终是什么也不说,只想快点睡过去,告诉自己,明天就好了。有时候,突然会觉得

    语文
  • 经典古训100句图片大全,古训名言警句

    古代经典励志名言100句译:好的药物味苦但对治病有利;忠言劝诫的话听起来不顺耳却对人的行为有利。3良言一句三冬暖,恶语伤人六月寒。喷泉的高度不会超过它的源头;一个人的事

    语文
  • 关于青春奋斗的名人名言鲁迅,关于青年奋斗的名言鲁迅

    鲁迅名言名句大全励志1、世上本没有路,走的人多了自然便成了路。下面是我整理的鲁迅先生的名言名句大全,希望对你有所帮助!当生存时,还是将遭践踏,将遭删刈,直至于死亡而

    语文
  • 三国群英单机版手游礼包码,三国群英手机单机版攻略

    三国群英传7五神兽洞有什么用那是多一个武将技能。青龙飞升召唤出东方的守护兽,神兽之一的青龙。玄武怒流召唤出北方的守护兽,神兽之一的玄武。白虎傲啸召唤出西方的守护兽,

    语文
  • 不收费的情感挽回专家电话,情感挽回免费咨询

    免费的情感挽回机构(揭秘情感挽回机构骗局)1、牛牛(化名)向上海市公安局金山分局报案,称自己为了挽回与女友的感情,被一家名为“实花教育咨询”的情感咨询机构诈骗4万余元。

    语文