In WebSphere, if you open two parallel database connections, you get a form error:
J2CA0086W: Shared connection MCWrapper id 556e556e Managed connection WSRdbManagedConnectionImpl @ 52365236 Status: STATE_TRAN_WRAPPER_INUSE from the jdbc / abc resource was used within the local transaction boundary.
Our structure allows us to do this (nested transactions, which can be on a separate connection or several named transactions). I saw a lot of links on disabling a switch in WebSphere to enable connection sharing, but no details on how to set this flag. Can someone point me to the steps to achieve this?
In particular, if you see this article: http://www-01.ibm.com/support/docview.wss?rs=180&context=SSEQTP&dc=DB520&dc=D600&dc=DB530&dc=D700&dc=DB500&dc=DB540&dc=DB510&dc=d1=jq=001dc=001dc=001dc=001dc=00_dc=001dc=00_dc = swg21121449 & loc = en_US & cs = utf-8 & lang = en
in the "Problem Solving" section. I want to know how to set the connection pool fuzzy (assuming that it really solves the problem).
What version of IBM WAS are you using? If you have WAS 8, go to Resources-> JDC-> Data Sources-> your data sources → WebSphere Application Server Properties → Data Sources are not Transactional.
Sorry for my English.
, dataSource.getConnection() . jdbc/oracle - . con.close() getConnection()
dataSource.getConnection()
con.close()
getConnection()
Source: https://habr.com/ru/post/1765367/More articles:How to dry the ruby symbol structure needed for Rails - ruby | fooobar.comGetting weird intermittent "unrecognized selector" exceptions in iPhone application - exceptionC # user control redraws slowly - c #Efficient memory storage and retrieval of categorized string literals in C ++ - c ++The most concise syntax J for creating a numerical matrix is jParallelizable jpeg-like compression using only DCT, stages of length coding, is compression / performance possible? - imageПроверка файла CSV - это действительно CSV файл - phpC string literal storage between multiple copies of a process or library - cУстановка конечной точки WebServiceWrapper во время выполнения - flexHow to make Android MediaPlayer () stop when the application is closed? - androidAll Articles