如何在Jboss中配置数据源
Jun 07, 2016 pm 05:06 PM数据源配置:在jboss/doc/examples/jca,如果你的是mysql数据库,则选mysql-ds.xml
数据源配置:在jboss/doc/examples/jca,如果你的是mysql数据库,则选mysql-ds.xml
数据源的起名必须遵守规定,如mysql-ds.xml,即所有数据源的后缀名都必须是ds.xml结尾的.
把数据库驱动包拷贝到配置项的lib目录下.如default/lib
然后把数据源的配置文件放到deploy目录下面.重启jobss即可.
然后可以进到jboss的管理页面进行管理.注意在这里进行更改的话,是只有这一次运行期间才是有效的,如果关闭了则失效了,如果要永久性的生效的话,那么只能在ds.xml配置文件中进行更改。

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

How does Go language implement the addition, deletion, modification and query operations of the database?

Detailed tutorial on establishing a database connection using MySQLi in PHP

Comparison of similarities and differences between MySQL and PL/SQL

How does Hibernate implement polymorphic mapping?

iOS 18 adds a new 'Recovered' album function to retrieve lost or damaged photos

Analysis of the basic principles of MySQL database management system

An in-depth analysis of how HTML reads the database

Tips and practices for handling Chinese garbled characters in databases with PHP
