CAFE

WebLogic

[WLS]JNDI Properties 사용

작성자Luke|작성시간08.02.15|조회수353 목록 댓글 0

JNDI 사용시 property를 설정해서 사용할 수 있으며, 사용되는 property의 순서는 아래의 list를 기준으로 순서를 정하게 된다.

 

  1. InitialContext 생성시 명시적인 coding
  2. System property
  3. classpath 에 있는 jndi.properties 파일
  4. classpath 뒤에 있는 jndi.properties 파일 (classpath order에 의해 적용됨)
  5. 현재 JVM 이 start된 working directory 에 있는 jndi.properties 파일 (보통 WebLogic Server Domain Home)
  6. JVM lib 디렉토리에 위치한 jndi.properties 파일

참고 : http://dev2dev.bea.com/pub/a/2004/01/142.html

 

set JAVA_OPTIONS=%JAVA_OPTIONS% -Djava.naming.factory.initial=weblogic.jndi.WLInitialContextFactory -Djava.naming.provider.url=t3://IP:PORT

다음검색
현재 게시글 추가 기능 열기

댓글

댓글 리스트
맨위로

카페 검색

카페 검색어 입력폼