반응형

환경 : tomcat


-> log4sql.jar 파일을

tomcat root / common / lib 밑으로 복사

환경 설정 정보를 보고 싶다면... jar파일을 열어서 보면

core/log/log4sql_configuration.properties 파일의 환경을 수정하면 된다...

이클립스 상에 서버 설정의 Server.xml 파일을 열어
초기 설정 값을 -> 변경설정으로 사용 드라이버 변경

 초기 설정
 <Resource auth="Container" driverClassName="oracle.jdbc.driver.OracleDriver"


 변경 설정
 <Resource auth="Container"  driverClassName="core.log.jdbc.driver.OracleDriver"


Server 를 실행하고 console 로그를 열어보면

/**P*/ 와 같이 분석은 되나...

PL/SQL은 안되는것 같다... -_-... 우린 거의다 PL/SQL인디... -_-ㅋ

즉, 1 row를 insert 하였고, 실행시간은 00.000 -> 측정이 그닥... 후후 너무 빨라서 그런건가 -_-ㅋ




<2011-04-21 10:52:09.458><INFO ><INSERT INTO ACCESS_LOG( PRG_CD, LOGIN_ID, ACCESS_TIME, PROCESS, METHOD, RETURN_JSP, ACCESS_IP )
VALUES('mbs,'mb14',sysdate,'/mbs/mbs.InfoX.do','LIST','/mbr/MbrInfo.jsp','127.0.0.1')>
[2011-04-21 10:52:09] [DEBUG]『msb.service.process.sys.AuthManager:execute(174)』 Elapsed Time [0:00:00.000]
INSERT INTO ACCESS_LOG( PRG_CD, LOGIN_ID, ACCESS_TIME, PROCESS, METHOD, RETURN_JSP, ACCESS_IP )
VALUES( 'mbs' /**P*/, 'mb14' /**P*/,sysdate, '/mbs/mbs.InfoX.do' /**P*/, 'LIST' /**P*/, '/mbr/MbrInfo.jsp' /**P*/, '127.0.0.1' /**P*/)
Query Result[INSERT]: 1row

반응형

'Database' 카테고리의 다른 글

무료 DB 접근 툴  (0) 2019.08.19
무료 ERD 툴 ERMASTER  (0) 2019.08.08
damo 암호화 컬럼 복원시 주의사항  (0) 2017.08.20
Sybase IQ Administrator 사용 Script  (0) 2012.10.18
SQL LITE 사용 프로그램  (0) 2010.04.14
반응형

http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-10201-088211.html



Oracle Database 10g Release 2 JDBC Drivers


You must accept the OTN Development and Distribution License Agreement to download this software.
Accept License Agreement | Decline License Agreement

Oracle Database 10g Release 2 (10.2.0.5) JDBC Drivers

 JavaDoc (4,383,404 bytes)
 README
 
JDBC Thin for All Platforms
 classes12.jar (1,621,582 bytes) - for use with JDK 1.2 and JDK 1.3
 classes12_g.jar (2,070,298 bytes) - same as classes12.jar, except that classes were compiled with "javac -g" and contain some tracing information.
 classes12dms.jar (1,629,454 bytes) - same as classes12.jar, except that it contains additional code`to support Oracle Dynamic Monitoring Service.
 classes12dms_g.jar (2,078,718 bytes) - same as classes12dms.jar except that classes were compiled with "javac -g" and contain some tracing information.
 ojdbc14.jar (1,569,316 bytes) - classes for use with JDK 1.4 and 1.5
 ojdbc14_g.jar (1,965,422 bytes) - same as ojdbc14.jar, except that classes were compiled with "javac -g" and contain some tracing information.
 ojdbc14dms.jar (1,576,882 bytes) - same as ojdbc14.jar, except that it contains additional code`to support Oracle Dynamic Monitoring Service.
 ojdbc14dms_g.jar (1,973,634 bytes) - same as ojdbc14dms.jar, except that classes were compiled with "javac -g" and contain some tracing information.
 demo.tar (604,160 bytes) - contains sample JDBC programs.
 
Note: For platform specific JDBC-OCI libraries See Instant Client


Oracle Database 10g Release 2 (10.2.0.4) JDBC Drivers

 JavaDoc (4,383,404 bytes)
 README
 
JDBC Thin for All Platforms
 classes12.jar (1,609,607 bytes) - for use with JDK 1.2 and JDK 1.3
 classes12_g.jar (2,055,921 bytes) - same as classes12.jar, except that classes were compiled with "javac -g" and contain some tracing information.
 classes12dms.jar (1,617,382 bytes) - same as classes12.jar, except that it contains additional code`to support Oracle Dynamic Monitoring Service.
 classes12dms_g.jar (2,064,313 bytes) - same as classes12dms.jar except that classes were compiled with "javac -g" and contain some tracing information.
 ojdbc14.jar (1,555,682 bytes) - classes for use with JDK 1.4 and 1.5
 ojdbc14_g.jar (1,950,033 bytes) - same as ojdbc14.jar, except that classes were compiled with "javac -g" and contain some tracing information.
 ojdbc14dms.jar (1,563,375 bytes) - same as ojdbc14.jar, except that it contains additional code`to support Oracle Dynamic Monitoring Service.
 ojdbc14dms_g.jar (1,958,237 bytes) - same as ojdbc14dms.jar, except that classes were compiled with "javac -g" and contain some tracing information.
 orai18n.jar (1,646,178 bytes) - NLS classes for use with JDK 1.2, 1.3, 1.4, and 1.5. This jar file replaces the old nls_charset jar/zip files.
 demo.tar (604,160 bytes) - contains sample JDBC programs.
 
Note: For platform specific JDBC-OCI libraries See Instant Client


Oracle Database 10g Release 2 (10.2.0.3) JDBC Drivers

 JavaDoc (4,383,404 bytes)
 README
 
JDBC Thin for All Platforms
 classes12.jar (1,600,090 bytes) - for use with JDK 1.2 and JDK 1.3
 classes12_g.jar (2,044,594 bytes) - same as classes12.jar, except that classes were compiled with "javac -g" and contain some tracing information.
 classes12dms.jar (1,607,745 bytes) - same as classes12.jar, except that it contains additional code`to support Oracle Dynamic Monitoring Service.
 classes12dms_g.jar (2,052,968 bytes) - same as classes12dms.jar except that classes were compiled with "javac -g" and contain some tracing information.
 ojdbc14.jar (1,545,954 bytes) - classes for use with JDK 1.4 and 1.5
 ojdbc14_g.jar (1,938,906 bytes) - same as ojdbc14.jar, except that classes were compiled with "javac -g" and contain some tracing information.
 ojdbc14dms.jar (1,553,561 bytes) - same as ojdbc14.jar, except that it contains additional code`to support Oracle Dynamic Monitoring Service.
 ojdbc14dms_g.jar (1,947,136 bytes) - same as ojdbc14dms.jar, except that classes were compiled with "javac -g" and contain some tracing information.
 orai18n.jar (1,645,114 bytes) - NLS classes for use with JDK 1.2, 1.3, 1.4, and 1.5. This jar file replaces the old nls_charset jar/zip files.
 ons.jar (48,492 bytes) - for use by the pure Java client-side Oracle Notification Services (ONS) deamon.
 demo.tar (604,160 bytes) or demo.zip (529,267 bytes) - contains sample JDBC programs.
 
Note: For platform specific JDBC-OCI libraries See Instant Client


Oracle Database 10g Release 2 (10.2.0.2) JDBC Drivers

 JavaDoc (4,383,404 bytes)
 README
 
JDBC Thin for All Platforms
 classes12.jar (1,594,191 bytes) - for use with JDK 1.2 and JDK 1.3 
 classes12_g.jar (2,038,127 bytes) - same as classes12.jar, except that classes were compiled with "javac -g" and contain some tracing information. 
 classes12dms.jar (1,601,843 bytes) - same as classes12.jar, except that it contains additional code`to support Oracle Dynamic Monitoring Service. 
 classes12dms_g.jar (2,046,467 bytes) - same as classes12dms.jar except that classes were compiled with "javac -g" and contain some tracing information.
 ojdbc14.jar (1,540,457 bytes) - classes for use with JDK 1.4 and 1.5
 ojdbc14_g.jar (1,932,834 bytes) - same as ojdbc14.jar, except that classes were compiled with "javac -g" and contain some tracing information. 
 ojdbc14dms.jar (1,548,006 bytes) - same as ojdbc14.jar, except that it contains additional code`to support Oracle Dynamic Monitoring Service. 
 ojdbc14dms_g.jar (1,940,478 bytes) - same as ojdbc14dms.jar, except that classes were compiled with "javac -g" and contain some tracing information.
 orai18n.jar (1,645,109 bytes) - NLS classes for use with JDK 1.2, 1.3, 1.4, and 1.5. This jar file replaces the old nls_charset jar/zip files. 
 ons.jar (48,492 bytes) - for use by the pure Java client-side Oracle Notification Services (ONS) deamon.
 demo.tar (604,160 bytes) or demo.zip (529,267 bytes) - contains sample JDBC programs.
 
Note: For platform specific JDBC-OCI libraries See Instant Client



Oracle Database 10g Release 2 (10.2.0.1.0) JDBC Drivers

 JavaDoc (4,383,404 bytes)
 README
 
JDBC Thin for All Platforms
 classes12.jar (1,590,491 bytes) - for use with JDK 1.2 and JDK 1.3 
 classes12_g.jar (2,033,507 bytes) - same as classes12.jar, except that classes were compiled with "javac -g" and contain some tracing information. 
 classes12dms.jar (1,598,183 bytes) - same as classes12.jar, except that it contains additional code`to support Oracle Dynamic Monitoring Service. 
 classes12dms_g.jar (2,041,904 bytes) - same as classes12dms.jar except that classes were compiled with "javac -g" and contain some tracing information.
 ojdbc14.jar (1,536,979 bytes) - classes for use with JDK 1.4 and 1.5
 ojdbc14_g.jar (1,928,714 bytes) - same as ojdbc14.jar, except that classes were compiled with "javac -g" and contain some tracing information. 
 ojdbc14dms.jar (1,544,468 bytes) - same as ojdbc14.jar, except that it contains additional code`to support Oracle Dynamic Monitoring Service. 
 ojdbc14dms_g.jar (1,936,765 bytes) - same as ojdbc14dms.jar, except that classes were compiled with "javac -g" and contain some tracing information.
 orai18n.jar (1,551,155 bytes) - NLS classes for use with JDK 1.2, 1.3, 1.4, and 1.5. This jar file replaces the old nls_charset jar/zip files. 
 ons.jar (48,492 bytes) - for use by the pure Java client-side Oracle Notification Services (ONS) deamon.
 demo.tar (604,160 bytes) or demo.zip (529,267 bytes) - contains sample JDBC programs.
 
Note: For platform specific JDBC-OCI libraries See Instant Client

반응형
반응형

잇힝...

변환해 봅시당


1. 무료 PDF 변환 프로그램(한글 파일은 변환이 그닥임..)
   3번과 호화이 될수 있는데 XPS 출력파일을 이 dopdf를 통해 pdf로 변환가능하다고 함...


2. 무료 PDF 변환 프로그램(아주 잘됨)
   - 중간에 오류가 나더라도 오류 난곳 까지는 변환하여 저장해줌..
      나머지 부분만 별도로 처리하면 됨... 아주 굳..


3. MS 제품군의 PDF 저장용 설치 파일(ms office 2007  용임)

반응형
반응형

흠흠흠...

문자열 변환 함수 translate

뭐 쉽게 얘길하면

TRANSLATE("문자열", "찾을집합","변경집합")으로 변환가능.

중요한 것은 찾을 집합에 없는 값은 무조건 그냥 출력한다는 것이다.

ex) SELECT TRANSLATE('ABC-1234-5678', 'abc1234','def5678') FROM DUAL;

즉, 'ABC-1234-5678'에서 찾는 집합 'abc1234'에 매핑되는 값만 'def5678'로 변경된다.

위의 문자열중 매핑 안되는 값은 그냥 출력된다.

매핑 안되는 문자열값 : ABC-5678 이 값들은 찾을 집합에 존재하지 않으므로 그냥 skip하여 출력되며

찾는 집합 변경 집합 
 a
 b
 c
 1
 2 6
 3 7
 4 8

위의 표를 기준으로 볼때 a가 발견되면 d로 변경된다.

아래의 값에서 ABC-는 찾는집합과 변경집합이 없으므로 skip 되며

나머지 값들은 모두 해당 변경 집합으로 변경되어 출력된다.

결과
---------------
ABC-5678-5678

TRANSLATE (string1, search_set, replace_set)

Replaces every instance in string1 of a character from search_set with the corresponding character from replace_set. For example:

    TRANSLATE ('abcd', 'ab', '12') --> '12cd'

If the search set contains more characters than the replace set, then the "trailing" search characters that have no match in the replace set are not included in the result. For example:

    TRANSLATE ('abcdefg', 'abcd', 'zyx') --> 'zyxefg'

The letter 'd' is removed, because it appears in search_set without a corresponding entry in result_set.


TRANSLATE(text USING CHAR_CS) and TRANSLATE(text USING NCHAR_CS)

Translates character data to either the database character set (CHAR_CS) or the national character set (NCHAR_CS). The output datatype will be either VARCHAR2 or NVARCHAR2, depending on whether you are converting to the database or the national character set, respectively.

TRANSLATE...USING is an ISO standard SQL function. Starting with Oracle9i Database Release 1, you can simply assign a VARCHAR2 to an NVARCHAR2, (and vice versa), and Oracle will handle the conversion implicitly. If you want to make such a conversion explicit, you can use TO_CHAR and TO_NCHAR to convert text to database and national character sets, respectively. Oracle recommends the use of TO_CHAR and TO_NCHAR over TRANSLATE...USING, because those functions support a greater range of input datatypes.


출처 : 영어부분은 Oracle PL/SQL Programming 책에서 발췌...
반응형
반응형

TOAD for Oracle 을 사용하던중... -_-

Shift 키를 누르지 않고 방향키를 눌렀으나...

여러 블럭들이 선택되는 이상한 현상을 목격하게 되었고...

바로 옆의 PC에 환경 정보를 보고 고쳤으나... 진행이 안되었음...

결국은 toad.ini 파일을 삭제하는 것으로 마무리 지었으나...

toad.ini 파일은 다음 2개의 위치중에 하나에 존재함.

c:\users\<사용자 명>\AppData\Roaming\Quest Software\Toad for Oralce\9.7\User Files\toad.ini -> 삭제(영문판 윈도우)

c:\사용자\<사용자 명>\AppData\Roaming\Quest Software\Toad for Oralce\9.7\User Files\toad.ini -> 삭제(한글판 윈도우)


c:\program files\Quest Software\Toad for Oralce\ClientFiles\User Files\toad.ini -> 삭제

위의 2군데 중 하나를 삭제함으로서 초기 설정 화면을  띄울수 있음.

반응형
반응형
반응형
반응형

기본적으로 이클립스상에서는 org.apache 관련 jar 파일을 파싱하지 않아서 발생하는 오류...

전체 프로젝트 추가시

Windows -> Preferences -> Java -> Build Path -> Classpath Variables -> New ->

Name : xerces_2_9_0
Path : 해당 이클립스 설치경로 에 plugins 디렉토리 밑에 존재 (내 경우에는 c:/eclipse 가 이클립스 경로임)
C:/Eclipse/plugins/org.apache.xerces_2.9.0.v200805270400.jar

추가하면 됨.

해당 프로젝트(Web 의 경우에는 )

해당 프로젝트 마우스 우클릭 -> Properties -> Java Build Path -> Libraries -> Add External JARs 위 경로에 jar 파일 추가

OK
반응형
반응형

이클립스 상에서 WEB 프로젝트내에 위의 오류가 발생할 때 조치 방법

결론은... 브라우져에서 지원하는 라이브러리를 설정하지 않아서 발생한다.

설정방법

1. 해당 프로젝트 마우스 우클릭 -> Properties


2. Javascript -> Javascript Libraries -> Add Runtime Library



3. Internet Explorer Library(인터넷 익스플러어 라이브러리) 선택 -> Next -> Finish 선택 -> OK 종료

위 방식대로 수행하면 IE 상에서 Library 못 읽어서 발생하는 오류는 더이상 발생하지 않는다.

반응형
반응형


OS : IBM AIX 5.3 64 bit


프로젝트 홈페이지 : http://www.rootkit.nl/projects/rootkit_hunter.html
소스 다운로드 : http://sourceforge.net/projects/rkhunter/

이글을 쓰는 시점에 rootkit hunter 은 1.3.8 까지 나와있었다.

어느날 AIX 시스템내에 뭔가 불순한(?) 움직이 포착되었다...

뭐... 대부분 AIX 시스템 내부로 구축할 정도면

약간(?)의 규모 이상이라고 생각되며,

차라리 거대한 시스템이라면 방화벽, 네트워크 장비 정책등 훌륭히 갖추어 졌겠지만,

항상 문제는 아주 작지도 아주 크지도 않은 어설픈 시스템에 해당되는 사항이다.

3일동안 열심히 삽질했다...

1.3.8 버젼을 설치하고나선... 안되는것이었다 -_-ㅋ

아래와 같이

> rkhunter -c
Invalid BINDIR configuration option: Invalid directory found: .

업데이트도 해보고 갖은 것을 모두 해봤지만, 실행이 되질 않았따. -_-...

결국은 포기하고 그 이전버젼을 다운로드 받으려고 하는 순간.... 소스포지에서는 1.3.8버젼 밖에 안되는것이었다... 헉 -_-...

그래서 1.3.6을 어렵게 구해서 해보니 잘되었다.... -_-... 내 3일 ㅜㅜ

설치 방법과 절차이다.

1. 시스템 필요 요소
    - 호환되는 시스템이어야 한다.(홈페이지참조) -> 거의 리눅스 계열은 다 된다고 보면 됨..
    - BASH 쉘

2. 사전 준비
    a. BASH 쉘 설치하기
        - www.ibm.com 으로 가서 검색을 열심히 하면 찾을수 있다 -_-... 매번 헷갈린다. 이문서의 제일 위에 있는 bash-3.0-1.aix5.1.ppc.rpm 파일을 다운로드 받아 서버로 전송한다.
        - rpm 으로 되어 있기 때문에
          root로
          rpm -ivh bash-3.0-1.aix5.1.ppc.rpm 명령을 통해 설치하면 끝.... 
          $> bash 입력
          $> echo $SHELL ==> bash가 나오면 정상 설치 완료
     b. lynx or wget 등 설치하기
         - 검색 정보에 대한 데이터베이스를 웹을 통해 가지고 오는데 위의 해당 프로그램들이 설치되어 있지 않으면
           정보를 update하지 못한다.
         - rpm파일로 되어 있기 때문에 위의 a의 내용 참고
     c. rkhunter-1.3.6.tar.gz 파일을 설치하기(root로 실행)
         - 서버로 upload 로드 뒤
         - gzip 명령을 통해 압축을 푼다.
            gzip -d rkhunter-1.3.6.tar.gz
         - tar로 묶여져 있는 파일을 푼다.
            tar xvf rkhunter-1.3.6.tar
         - 설치하기
            위의 tar를 풀면 rkhunter-1.3.6 디렉토리 안에
            installer.sh 파일이 존재하며
           다음과 같이 간단히 설치할수 있다.
           $> installer.sh --install
            /usr/local/bin/rkhunter 파일이 생성된다.(기본 설치시...)
 $> installer.sh --install
Checking system for:
 Rootkit Hunter installer files: found
 A web file download command: wget found
Starting installation:
 Checking installation directory "/usr/local": it exists and is writable.
 Checking installation directories:
  Directory /usr/local/share/doc/rkhunter-1.3.6: creating: OK
  Directory /usr/local/share/man/man8: exists and is writable.
  Directory /etc: exists and is writable.
  Directory /usr/local/bin: exists and is writable.
  Directory /usr/local/lib: exists and is writable.
  Directory /var/lib: exists and is writable.
  Directory /usr/local/lib/rkhunter/scripts: creating: OK
  Directory /var/lib/rkhunter/db: creating: OK
  Directory /var/lib/rkhunter/tmp: creating: OK
  Directory /var/lib/rkhunter/db/i18n: creating: OK
 Installing check_modules.pl: OK
 Installing filehashmd5.pl: OK
 Installing filehashsha1.pl: OK
 Installing filehashsha.pl: OK
 Installing stat.pl: OK
 Installing readlink.sh: OK
 Installing backdoorports.dat: OK
 Installing mirrors.dat: OK
 Installing programs_bad.dat: OK
 Installing suspscan.dat: OK
 Installing rkhunter.8: OK
 Installing ACKNOWLEDGMENTS: OK
 Installing CHANGELOG: OK
 Installing FAQ: OK
 Installing LICENSE: OK
 Installing README: OK
 Installing language support files: OK
 Installing rkhunter: OK
 Installing rkhunter.conf: OK
Installation complete

3. 유해 사항을 검색해 보기
  $> /usr/local/bin/rkhunter -c (root로 실행) 명령을 통해 유해사항을 검색가능하며, /var/log/rkhunter.log 파일에 모든 사항이 상세하게 기재된다.

 [ Rootkit Hunter version 1.3.6 ]

Checking system commands...

  Performing 'strings' command checks
    Checking 'strings' command                               [ Warning ]

  Performing 'shared libraries' checks
    Checking for preloading variables                        [ None found ]
    Checking for preloaded libraries                         [ None found ]
    Checking LD_LIBRARY_PATH variable                        [ Not found ]

  Performing file properties checks
    Checking for prerequisites                               [ Warning ]
    /usr/bin/awk                                             [ OK ]
    /usr/bin/basename                                        [ OK ]
    /usr/bin/bash                                            [ OK ]
    /usr/bin/cat                                             [ OK ]
    /usr/bin/chmod                                           [ OK ]
    /usr/bin/chown                                           [ OK ]
    /usr/bin/cp                                              [ OK ]
    /usr/bin/csh                                             [ OK ]
    /usr/bin/cut                                             [ OK ]
    /usr/bin/date                                            [ OK ]
    /usr/bin/df                                              [ OK ]
    /usr/bin/diff                                            [ OK ]
    /usr/bin/dirname                                         [ OK ]
    /usr/bin/du                                              [ OK ]
    /usr/bin/echo                                            [ OK ]
    /usr/bin/ed                                              [ OK ]
    /usr/bin/egrep                                           [ OK ]

생략 .............

System checks summary
=====================

File properties checks...
    Required commands check failed
    Files checked: 95
    Suspect files: 7

Rootkit checks...
    Rootkits checked : 234
    Possible rootkits: 1
    Rootkit names    : Possible rootkit component

Applications checks...
    Applications checked: 3
    Suspect applications: 2

The system checks took: 40 minutes and 18 seconds

All results have been written to the log file (/var/log/rkhunter.log)

One or more warnings have been found while checking the system.
Please check the log file (/var/log/rkhunter.log)



반응형

'OS > AIX' 카테고리의 다른 글

AIX 서버 시간 설정 하기  (0) 2012.08.06
AIX VNC 설정하기  (2) 2012.07.26
IBM JVM -Xloratio 옵션  (0) 2011.03.03
날짜 관련 얻기  (0) 2011.03.02
AIX 5.3 OPENSSH INSTALL  (0) 2011.02.16
반응형

출처 : http://westzero.net/40

이 글을 클릭하셨다면 log4sql 이 뭔지는 다들 알고 들어 오셨을겁니다.
만약 모르신다면 제가 일전에 소개한 포스트 'System.out.println()은 잊어라 log4sql이 온다.'를 보고오시면 됩니다.

※ 이 글은 제우스에서 DataSource를 사용할 경우에만 해당되는 사항입니다.

log4sql은 직접적으로 DataSource를 지원하지 않습니다. 그리고 제우스에서도 직접적으로 드라이버 클래스를 지정할 수 없습니다.
따라서 제우스에서는 원하는 드라이버 클래스를 지정하려면 BlackboxConnectionPoolDataSource를 사용해야 합니다.

지정하는 방법은 다음 순서대로 따라하시면 됩니다.
  1. 먼저 log4sql.jar를 $JEUS_HOME/lib/application 경로에 넣어 주세요.
  2. $JEUS_HOME/호스트명/JEUSMain.xml 파일을 열어 다음과 같이 수정하세요
    [code]
    <database>
        <vendor>oracle</vendor>
        <export-name>oracledb</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>core.log.jdbc.driver.OracleDriver</value>
        </property>
        <property>
            <name>URL</name>
            <type>java.lang.String</type>
            <value>jdbc:oracle:thin:@192.169.30.244:1521:ora9i</value>
        </property>
        <property>
            <name>User</name>
            <type>java.lang.String</type>
            <value>scott</value>
        </property>
        <property>
            <name>Password</name>
            <type>java.lang.String</type>
            <value>tiger</value>
        </property>
    </database>
    [/code]
  3. 이제 제우스를 실행시켜서 적용이 되었는지 확인하면 됩니다.
생각보다 간단하게 끝났습니다.^^

저는 BlackboxConnectionPoolDataSource을 몰라서 약 3일간 삽질을 하다가 티맥스 테크넷의 'Spy를 사용하여 SQL 로그 보기' 를 보고 알았습니다. 그리고 나중에 찾아보니 테크넷에 저보다 먼저 log4sql 적용 방법을 문의하신 분도 계시더군요.

테크넷은 회원가입을 해야하고 쉽게 찾기가 어려워 이렇게 따로 포스팅을 올립니다.
이렇게 포스트로 작성하면 구글링으로 쉽게 찾을 수 있을꺼에요.^^
반응형

'WAS > JEUS' 카테고리의 다른 글

JAVA Melody Jeus 추가  (0) 2019.12.02
JEUS 5 세션 공유  (0) 2011.03.09
JEUSMain.xml Datasource 암호 설정  (0) 2011.01.13
IBM JVM 튜닝 - 3  (0) 2009.08.24
제우스 환경 설정 부분  (0) 2009.03.05

+ Recent posts