find JBoss / Wildfly application server
./jboss-cli.sh
Install module containing the JDBC Driver. Specify the module name and the location where the jdbc driver has been downloaded:
module add --name=org.postgres --resources=/tmp/postgresql-9.3-1101.jdbc41.jar --dependencies=javax.api,javax.transaction.api
Now install the JDBC Driver on the application server:
/subsystem=datasources/jdbc-driver=postgres:add(driver-name="postgres",driver-module-name="org.postgres",driver-class-name=org.postgresql.Driver)
Finally install the datasource which will connect to the default "postgres" database on localhost:
data-source add --jndi-name=java:/PostGreDS --name=PostgrePool --connection-url=jdbc:postgresql://localhost/postgres --driver-name=postgres --user-name=postgres --password=postgres
ref:
http://www.mastertheboss.com/jboss-server/jboss-datasource/configuring-a-datasource-with-postgresql-and-jboss-wildfly
分享到:
相关推荐
libmodbus最新版,解决了原资源中configure.js运行错误
How to Configure User Status in mySAP SRM.pdf
2.11 更新BIN 以成功测试 放下下载
./configure --prefix=/usr/local/gcc --enable-threads=posix --disable-checking --disable-multilib --enable-languages=c,c++ --with-gmp=/usr/local/gmp --with-mpfr=/usr/local/mpfr --with-mpc=/usr/local/...
配置(configure) 编译(make) 安装(make install) 安装方法: 具体的安装方法一般作者都会给出文档,这里说明配置(configure)的prefix选项 以安装supersparrow-0.0.0为例,我们打算把他安装到目录 /usr/local/...
./configure --prefix=/usr/local/gcc --enable-threads=posix --disable-checking --disable-multilib --enable-languages=c,c++ --with-gmp=/usr/local/gmp --with-mpfr=/usr/local/mpfr --with-mpc=/usr/local/...
*Install and configure PostgreSQL on Windows *Administer your database and manage data *Create VB.NET, Visual C++, and Java applications *Migrate from Microsoft Access to PostgreSQL
聊天 这是您与其他人聊天的站点。 链接到网站安装# Install ... sudo apt-key add -sudo apt-get updatesudo apt-get install postgresql-9.6# Configure databasesudo su - postgrespsqlCREATE USER chat_admin WITH
../configure --prefix=/usr/local/gcc-5.4.0 --enable-threads=posix --disable-checking --disable-multilib --enable-languages=c,c++ --with-gmp=/usr/local/gmp-4.3.2 --with-mpfr=/usr/local/mpfr-2.4.2 --...
It is necessary to run a pre-configure script, to create the platform specific tools required by configure (execute in the dev/ directory created by cvs checkout): ./setup_configure This script runs ...
NULL 博文链接:https://taink.iteye.com/blog/510076
in some filter, I use NDK to implement to make it more efficient Setup Install Android NDK and properly configure it: http://goo.gl/koTCb Get a clean clone of this project, import the library in ...
这里我们执行的时候有时会出现这样的提示:-bash: ./configure: Permission denied 这句话是提醒我们权限不够,仔细看一下会发现configure没有x(执行)权限,这里我们要执行: chmod +x ./configure 即可,这句指令的...
配置文件
linux 安装包, 1、确认安装zlib和readline yum -y install readline-devel yum -y install zlib-devel ..../configure --prefix=/usr/local/sbin/postgresql 3、执行安装 make install
./configure make sudo make install 加载扩展 CREATE EXTENSION pg_snapshot_too_old; 配置扩展 全局配置 更新/etc/postgresql/9.4/main/postgresql.conf文件并添加以下内容: pg_snapshot_too_old_enabled = ...
openCV4.6.0+android-ndk-r22-windows-x86_64编译的arm64-v8a动、静态库 ...CSDN审核可能较慢,如无法下载,可以过段时间再回来看下 仅供相关爱好者交流使用,请于下载24小时内删除
/use/lib//usr/lib/libdb-4.2.so: could not read symbols: File in wrong format Notice: Following unknown configure options were used: usr/bin/ld: cannot find -lltdl /usr/bin/ld: cannot find -...
同步 node.js 的同步、阻塞 libpq 绑定..../configure --prefix=/path/to/pgsql make make install 安装 npm install pg-sync 例子 var pgsync = require ( 'pg-sync' ) ; var client = new pgsync . Client
Configure parameters and change default settings for a PostgreSQL server Leverage the logging mechanism to identify errors and suboptimal queries Use replication to scale horizontally Set up backup ...