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
分享到:
相关推荐
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....
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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.
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 ...
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....
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...
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 ...
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. ...
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 ...
- 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 ...