wps.ear 삭제시 복구방법


준비 작업 


서버가 이중화 되어 있을경우.


1. 아래 경로의 모든 디렉토리와 파일을 다운로드 한다. 

applications : [websphere설치경로]/wp_profile/config/cells/cellName/applications/wps.ear

source : [websphere설치경로]/wp_profile/installedApps/cellName/wps.ear


작업시작 


1. wp_profile에 복사 작업 사항

  applications -> 복사 

  위치 : [websphere설치경로]/wp_profile/config/cells/dmgrCell01/applications

  업로드 : wps.ear


  source -> 복사 

  위치 : [websphere설치경로]/wp_profile/installedApps/devapnportal01Cell

  업로드 : wps.ear


2. cell-------------------------------------------------------------------------

  applications -> 복사 

  위치 : [websphere설치경로]/AppServer/profiles/dmgr01/config/cells/dmgrCell01/applications

  업로드 : wps.ear

  

  아래 위치에 wps가 없을경우 다른portal에서 복사해서 추가

  위치 : [websphere설치경로]/AppServer/profiles/dmgr01/config/cells/dmgrCell01/blas

  업로드 : wps


  아래 위치에 wps가 없을경우 다른portal에서 복사해서 추가

  위치 : [websphere설치경로]/AppServer/profiles/dmgr01/config/cells/dmgrCell01/cus

  업로드 : wps


-------------------------------------------------------------------------


위에 파일 복사 

위치 : [websphere설치경로]/AppServer/profiles/dmgr01/config/cells/dmgrCell01/nodes/devapnportal01Node

파일 : serverindex.xml


<serverEntries 엔트리 밑에 아래 부분이 없을경우

"<deployedApplications>wps.ear/deployments/wps</deployedApplications>"

위에 추가




밑에 커멘드를 실행 

./wsadmin.sh -user wasadmin -password amore123 -c '$AdminApp install [서버 wps.ear업로드 경로]/wps.ear {-update -appname wps -deployejb -deployejb.classpath [websphere설치경로]/PortalServer/base/wp.base/shared/app/wp.base.jar}'


위에 작업이 제대로 실행되지 않을시에 실행

[websphere설치경로]/ConfigEngine/ConfigEngine action-modify-attributes-ear-wps



그리고 

/ibm/console 들어가서  

애플리케이션->애플리케이션 유형->WebSphere 엔터프라이즈 애플리케이션->wps 


참조-> 자원참조 -> javax.sql.DataSource 의 jndi연결이 제대로 연결되어 있는지 확인후 

제대로 연결이 되어있지않을경우 제대로 연결시켜준다. 


portal server restart; 


참고 url : http://www-10.lotus.com/ldd/portalwiki.nsf/dx/04282009073724PMWEBVPX.htm

+ Recent posts