今天用JBOSS进行测试时,connect 连接关闭报错 一般情况下 jboss会自动关闭连接的,代码里面也加了关闭连接的代码 ,但是还是出现 Closing a connection for you. Please close them yourself: org.jboss.resource 。
解决方法:JBOSS 4.0以上 jboss-4.0.5.GA\server\default\deploy/jbossjca-service.xml
将文件当中的
<mbean code="org.jboss.resource.connectionmanager.CachedConnectionManager"
name="jboss.jca:service=CachedConnectionManager">
<depends optional-attribute-name="TransactionManagerServiceName">jboss:service=TransactionManager</depends>
<!-- Enable connection close debug monitoring -->
<attribute name="Debug">true</attribute>
将红色部分的true 改为false
这样jboss就不会报错了
分享到:
相关推荐
例如,在更新user表时,开发者可能会遇到“Cannot delete or update a parent row: a foreign key constraint fails”的错误信息。这通常是因为在更新主表记录时,没有相应地更新从表中依赖的外键字段值,违背了...
Unit 1: Overview of the Closing Activities................................................1 Month-End and Year-End Closing Processes ............................................2 Unit 2: The Financial...
2.5.2 Add a New Account for Yourself ...................................................39 2.6.1 Choosing the Perfect Theme .................................40 2.6.2 Where to Find Awesome Themes.........
1. **Form.Close()**: 这是最基础的关闭窗口的方法,通过调用窗体的Close方法,可以触发窗体的Closing事件。 2. **Me.Close()**: 这是另一种常见的关闭当前窗体的方式,它也是调用了Form.Close()方法。 3. **...
As you can imagine, it’s a lot more efficient and fun to have a computer search for the records you need than it is to search for them yourself. Opening, searching in, and closing dozens of files ...
- `"a"`:追加模式,文件存在则在末尾添加,不存在则创建。 - `"r+"`、`"w+"`、`"a+"`:读写模式,分别对应上述模式,可同时读写。 3. **文件指针** `fopen()`函数返回一个文件指针,这是对文件的一种抽象表示,...
A brand new Connection Center that supports drag and drop, manual arrangement of items, resizable columns in list view, column-based sorting, and easier group management. Settings import from the ...
(A)单项填空从A、B、C、D四个选项中,选出可以填入空白处的最佳选项。 21. _______ enjoyable music programme on Channel 3! A. How B. How an C. What D. What an 22. ---What are the police doing there? ---...
Why Choose a Server When You Can Have Them All? Section 16.6. Summary Part IV: Further Directions Chapter 17. Adding Value at the Edge Section 17.1. Content Filtering Section 17.2. ...
Whether you’re a hobbyist or a professional programmer, whether you are doing it for fun or for profit, it’s time to learn more about developing for Android. This book will help you get started. ...
1.2 Main characteristics, context and reasons for developing a new language....................4 1.2.1 Languages that influenced Go.......................................................................
41 Review_for_closing
- A network connection and the TCP/IP networking software installed for the Network Tests Pro version only: - A serial port loop back plug for the serial port test. - A parallel port loop back plug...
Microsoft Remote Desktop is designed to help you get your work done wherever you are. You can connect to remote PCs or applications and be productive as if these resources were running locally. ...
The Way to Go,: A Thorough Introduction to the Go Programming Language 英文书籍,已Cross the wall,从Google获得书中源代码,分享一下。喜欢请购买正版。 目录如下: Contents Preface......................
CurrPorts v2.10 ... o /close command-line parameter - Close a connection from command-line * Version 1.08: o Fixed columns order bug. * Version 1.07: o New option: Resolve the remote...
NULL 博文链接:https://ouyida3.iteye.com/blog/1144326
CHAPTER 4 SQL in a Nutshell . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 4.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 4.2 Logging ...
When closing a firmware update messagebox by pressing [ Esc ], the firmware update was still executed. Fixed. Connect to Cortex-M4 of STM32H7x5/x7 series devices, when M7 boot is deactivated, fixed...