[WLS] iPlanet 7.0.15 / WebLogic 12.1.2 연동 가이드

View Comments



OS 

 Linux

제품명

 WebLogic Server 12.1.2 , iPlanet 7.0.15

 JDK 

 1.7 (WebLogic Server) , 1.6 (iPlanet)


1. 세부내용 


1-1) 증상 


->WebLogic 12.1.2와 iPlanet 7.0.15 연동작업을 할 때 기존의 WebLogic 11g 방식으로 설정시 연동이 안되는 현상이 발생.


1-2) 분석


->WebLogic 12C 버전으로 올라가면서 혹시 연동작업시 수정사항이 있나 확인.


1-3) 해결 방법


-> 연동모듈 zip 파일 안의 README.txt 파일 내용을 확인해본 결과, 새로 추가된 라이브러리 파일들을 iPlanet 홈 경로에 있는


lib 디렉토리에 추가해줘야 한다는 사실을 파악. 



2. 참고 정보 


- 상세한 내용은 밑의 파일로 첨부해 두었습니다. 


WebLogic,iPlanet+연동+보고서.docx



Comments (+add yours?)

Tracbacks (+view to the desc.)

[iPlanet] 설치 및 구성시 참고

View Comments

1. magnus.conf 파일의 입력 부분

 

#
# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
#

Init fn="load-modules" shlib="libj2eeplugin.so"
Init fn="load-modules" funcs="wl_proxy,wl_init" shlib="/SW/webtier/plugins/libproxy_61.so"
Init fn="wl_init"


2. obj.conf 파일의 입력부분 


2-1) J2EE 부분은 주석 또는 삭제


2-2) mime 방식


Service method="(GET|HEAD|POST|PUT)" type="text/jsp" fn="wl_proxy" WebLogicCluster="IP:port,IP:port,IP:port" Idempotent="OFF" DynamicServerList="OFF" ConnectTimeoutSecs="30" ConnectRetrySecs="1" DebugConfigInfo="ON" Debug="OFF" WLCookieName="JSESSIONID" WLIOTimeoutSecs="300" KeepAliveEnabled="true"


mime 방식 사용시에 mime.type에 설정 추가 해야 함.

type=text/jsp     exts=jsp


2-3) URL or PPath 방식



<Object name="weblogic" ppath="*/test/*">
Service fn="wl_proxy" WebLogicCluster="IP:port,IP:port" Idempotent="OFF" DynamicServerList="OFF" ConnectTimeoutSecs="10" ConnectRetrySecs="2" WLCookieName="Test_SESSIONID" DebugConfigInfo="ON" Debug="OFF" WLIOTimeoutSecs="300" KeepAliveEnabled="true"
</Object>


2-4) error 부분 설정


Error fn="send-error" code="401" path="/SW/webtier/error/401.html"
Error fn="send-error" code="403" path="/SW/webtier/error/403.html"
Error fn="send-error" code="404" path="/SW/webtier/error/404.html"
Error fn="send-error" code="500" path="/SW/webtier/error/500.html"
Error fn="send-error" code="503" path="/SW/webtier/error/503.html"


3. 일반적 튜닝 부분


3-1) iPlanet Web Console->구성 탭->가상 서버 선택->성과 탭”으로 이동


스레드 풀 설정에서
-최소 스레드 : 1024
-대기열 크기 : 4096


3-2) 구성 탭->인스턴스 선택->가상 서버->서버선택 으로 이동


서비스 품질에서 사용 가능 라디오 버튼 체크





Comments (+add yours?)

Tracbacks (+view to the desc.)

[WLS] Schema Validation 이슈

View Comments


 OS 

 HP-UX

 WebLogic Version

 10.3.6

 JDK

1.6 



*현상 : WebLogic Admin을 포함한  매니지드 서버를 재기동하면 RUNNING이 안되고, 다음과 같은 Schema Validation 에러가 발생한다. 



*원인 : WebLogic Configuration 파일은 schema에 의해 정의되어져 있습니다. 이 configuration 파일을 parsing 할 때, 이 파일들은 스키마에 대해 유효성을 받게 되는데, Schema Validation errors는 유효성 검사 중에 파일에 문제가 있음을 의미합니다. 


*해결방법 (순서대로 진행..1번 안될 경우에 2번으로. 최후수단으로 3번)

1) config.xml 백업받고, config.xml 파일의 <app-deployment> 탭 내의  <cache-in-app-directory> 부분 지우고 재기동

2) WebLogic 기동 스크립트에 -Dweblogic.configuration.schemaValidationEnabled=false 옵션 넣고 기동

3) WebLogic 서버 모두 내린 후 재기동 (어드민 서버 포함)


*결론 

간혹 잘 기동되던 웹로직 서버가 'Schema validation errors while parsing' 메시지를 발생시키며 기동이 안될 때, config.xml 파일의<app-deployment> 탭 내의 <cache-in-app-directory> 부분 생성이 원인인 경우가 많습니다. <cache-in-app-directory>는 PSU를 rollback 할 때 config.xml 파일에서 corrupts 발생으로 생성되는..bug인 것으로 판단된됩니다. 

 

관련 bug 내용 : https://support.oracle.com/epmos/faces/BugDisplay?_afrLoop=167565065655648&id=20852182&_afrWindowMode=0&_adf.ctrl-state=1ubs5pv60_212



Comments (+add yours?)

Tracbacks (+view to the desc.)

Newer Entries Older Entries