`

JDBC driver does not support XA, hence cannot be a participant in two-phase

阅读更多
weblogic配置数据库连接池及连接后发布应用,登录应用后,控制台报错:
--------------------------------------------------------------------------------
nested within:
--------------------------------------------------------------------------------
weblogic.transaction.RollbackException: Could not prepare resource 'weblogic.jdb
c.wrapper.JTSXAResourceImpl
JDBC driver does not support XA, hence cannot be a participant in two-phase comm
it. To force this participation, set the EnableTwoPhaseCommit property on the co
rresponding JDBCTxDataSource property, to true. Pool = TestPool - with nested ex
ception:
[javax.transaction.xa.XAException: JDBC driver does not support XA, hence cannot
be a participant in two-phase commit. To force this participation, set the Enab
leTwoPhaseCommit property on the corresponding JDBCTxDataSource property, to tru
e. Pool = TestPool]
       at weblogic.transaction.internal.TransactionImpl.throwRollbackException(
TransactionImpl.java:1644)
       at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(Se
rverTransactionImpl.java:296)
       at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTran
sactionImpl.java:217)
       at weblogic.ejb20.internal.MDListener.execute(MDListener.java:404)
       at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.
java:308)
       at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:273)
       at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2550)
       at weblogic.jms.client.JMSSession.execute(JMSSession.java:2470)
       at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
       at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
.>

解决方法:
配置你的tx Data Source   .选上   Emulate   Two-Phase   Commit   for   non-XA   Driver和Row Prefetch Enabled
分享到:
评论

相关推荐

    Analysis of Single-Phase SPWM Inverter

    The project will be commenced by a basic understanding of the circuitry of the SPWM Inverter, the components used in its design and the reason for choosing such components in this circuitry....

    Secure Template Protection In Touch-less Based Fingeprint Verification System

    In this paper, we propose a variant of MRP, namely Multiple Random Projections-Support Vector Machine (MRP-SVM). The MRP’s template protection characteristics are inherited by MRP-SVM due to ...

    Universal-USB-Installer

    a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or ...

    Simulink models with YALMIP components___HardTarget_yalmip_YALMI

    To begin with some parts of a Simulink model are compiled for performance and this compiler does not support code which involves object oriented code. Hence it fails when it encounters any kind of ...

    计算机网络第六版答案

    Hence, it becomes possible for the attacker to issue a command to all the nodes, that target a single node (for example, all nodes in the botnet might be commanded by the attacker to send a TCP SYN ...

    hibernate-shards.jar

    in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful. (For example, a function in a ...

    Coupled-Field Analysis Guide

    fields) that interact to solve a global engineering problem, hence, we often refer to a coupled-field analysis as a multiphysics analysis.When the input of one field analysis depends on the results ...

    微软内部资料-SQL性能优化3

    In a multigranular locking environment, there must be a way to effectively overcome this scenario. Intent lock is the answer to this problem. Intent Lock Intent Lock is the term used to mean placing ...

    Google C++ Style Guide(Google C++编程规范)高清PDF

    More complex inline functions may also be put in a .h file for the convenience of the implementer and callers, though if this makes the .h file too unwieldy you can instead put that code in a ...

    Cavity engineering of two-dimensional perovskites and inherent light-matter interaction

    Two-dimensional (2D) perovskites are hybrid layered materials in which the inorganic lattice of an octahedron is sandwiched by organic layers. They behave as a quantum-well structure exhibiting large ...

    A Unified Framework for the Study of Anti-Windup Designs

    and performance, and robustness issues are problems in their own right and hence not detailed here. The main result is the unification of existing schemes for AWBT compensation under a general ...

    wind_media_library_3_0_3.rar_tornado 2.2_tornado 2.2.1_tornado i

    WindML3.0补丁 ... This is a not a complete WIND MEDIA LIBRARY 3.0 product and hence it is necessary that WIND MEDIA LIBRARY (aka WindML) 3.0 be installed prior to the installation of this product.

    WizFlow网页编辑

    in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful. (For example, a function in a ...

    Program.Design.2.0

    Because program design 1.0 does not design the integration of software structure and software behavior, very likely it will never be able to actually form an integrated whole of a software system....

    The N-way Toolbox for MATLAB ver. 3.10

    WHERE DOES THE TOOLBOX WORK? The toolbox has been tested on matlab 7.3 in Windows XP/Vista only. The toolbox uses features that are not compatible with matlab 4.x, so if you have matlab 4.x you should...

    人脸识别 L-Softmax

    and excellent performance, the component does not explicitly encourage discriminative learning of features. In this paper, we propose a generalized large-margin softmax (L-Softmax) loss which ...

    C 语言编缉神经网络工具

    NEURAL NETWORK PC TOOLS SOFTWARE USER'S ... present in the file, the current version of hinton.exe does not portray the bias weights. This will be changed in the next version of hinton.exe. ...

    OS X and iOS Kernel Programming

    The book was written for anyone interested in Apple’s iOS and Mac OS X operating systems, with a focus on practical kernel development, especially driver devel. Regardless of whether you are a ...

    【优质】英语专八听力特殊词汇.pdf

    - A be identical to / with B - both A and B are... - neither A nor B is not - A agrees with B in - A is the same with B - A and B share the same - A and B share no difference in - is shared between A ...

Global site tag (gtag.js) - Google Analytics