연동환경
서버 |
OS | CentOS Linux release 7.5.1804 |
DATABASE | Goldilocks 3.1.15 r25159 |
|
WEBSERVER | JEUS 6 |
JEUS 설치는 아래 URL 을 참고해주세요.
http://mozi.tistory.com/128?category=990186
JEUS 에 GOLDILOCKS 등록
1. goldilocks6.jar 파일을 JEUS 의 lib/datasource 폴더에 복사합니다.
$ cp $GOLDILOCKS_HOME/lib/goldilocks6.jar $JEUS_HOME/lib/datasource/
2. config/sh/JEUSMain.xml 파일에 GOLDILOCKS 를 등록합니다.
... </node> <resource> <data-source> <database> <vendor>others</vendor> <export-name>GOLDILOCKS</export-name> <data-source-class-name>jeus.jdbc.driver.blackbox.BlackboxConnectionPoolDataSource</data-source-class-name> <data-source-type>ConnectionPoolDataSource</data-source-type> <property> <name>DriverClassName</name> <type>java.lang.String</type> <value>sunje.goldilocks.jdbc.GoldilocksDriver </value> </property> <property> <name>URL</name> <type>java.lang.String</type> <value>jdbc:goldilocks://192.168.0.50:22581/test?alternate_servers=192.168.0.50:22580</value> </property> <property> <name>User</name> <type>java.lang.String</type> <value>TEST</value> </property> <property> <name>Password</name> <type>java.lang.String</type> <value>test</value> </property> <connection-pool> <pooling> <min>2</min> <max>30</max> <step>1</step> <period>3600000</period> </pooling> </connection-pool> </database> </data-source> </resource> <application> ...
'Database > Goldilocks' 카테고리의 다른 글
[GOLDILOCKS] ODBC - SQLSetCursorName, SQLGetCursorName 사용법 (0) | 2018.07.01 |
---|---|
[GOLDILOCKS] ODBC - SQLSetConnectAttr, SQLGetConnectAttr 사용법 (0) | 2018.07.01 |
[GOLDILOCKS] ODBC - SQLPrepare, SQLBindParameter, SQLExecute, SQLRowCount 사용법 (0) | 2018.06.22 |
[GOLDILOCKS] ODBC - SQLExecDirect 사용법 (0) | 2018.06.22 |
[GOLDILOCKS] ODBC - SQLConnect, SQLDisconnect 사용법 (0) | 2018.06.22 |