Tibero

게시글 보기
작성자 유건데이타 등록일 2015-08-14
제목 weblogic과의 tibero연동

[1] JDBC-Connection Pool-Other 생성
Name DBPOOL 이름 설정
Driver Classname com.tmax.tibero.jdbc.TbDriver
URL jdbc:tibero:thin:@localhost:PORT:SID
// 사용 예 : jdbc:tibero:thin:@127.0.0.1:8629:tibero
Database User Name
Password

[2] JDBC-DataSource 생성
Name , JNDI Name, 바인딩 Connection Pool 설정

[3] Config.xml 자동 적용
config.xml 설정
Name="Tibero_ConnPool" Password="{3DES}q3EJJAAGEco="
Properties="user=sys" Targets="myserver"
URL="jdbc:tibero:thin:@127.0.0.1:8629:tibero"/>
PoolName="Tibero_ConnPool" Targets="myserver"/>
1)tibero-jdbc 드라이버 WEBLOGIC_HOME/server/lib/tibero-jdbc.jar 복사한다.

2)startWebLogic.sh 수정 후 재시작한다.
CLASSPATH=~~:$WL_HOME/server/lib/tibero-jdbc.jar;~~ export CLASSPATH

3) DataSource ds = (DataSource) initCtx.lookup(“tibero”); 이 부분에서 tibero 부분은 Config.xml에서 JNDIName과 일치가 되어야 한다.
* Weblogic 5.x 경우 weblogic.properties 파일의 url, driver 부분을 수정해준다.
url = com.tmax.tibero.jdbc.TbDriver ,
driver = jdbc:tibero:thin:@localhost:9876:tibero

출처:디비가이드넷
Comment
등록된 코멘트가 없습니다.