Admin Server 실행 후 Managed Server를 실행 시키는 스크립트
Products/WebLogic Server View Comments
Start()
{
until netstat -an | grep "${SERVER_PORT}" | grep LISTEN | grep -v 'warning' >/dev/null
do
echo "[Wait..] WebLogic ${SERVER_NAME} Not Yet Started..."
sleep 5
done
echo "[Wait..] WebLogic ${SERVER_NAME} Listen Port Opened !!!"
echo "Wait......"
until ${JAVA_HOME}/bin/java weblogic.Admin -url ${SERVER_URL} GETSTATE ${SERVER_NAME} -username ${USER_ID} -password ${USER_PW} |grep RUNNING >/dev/null
do
echo "[Wait..] WebLogic ${SERVER_NAME} Start Processing..."
sleep 5
done
echo "[OK] WebLogic ${SERVER_NAME} Started !!!"
}
CLASSPATH=/weblogic/bea/wlserver_10.0/server/lib/weblogic.jar
export CLASSPATH
JAVA_HOME="/usr/java5"
USER_ID="weblogic"
USER_PW="welcome1"
##### AdminServer start
startAdmin.sh
SERVER_NAME="AdminServer"
SERVER_URL="t3://172.16.0.1:7001"
SERVER_PORT="7001"
Start
##### Managed Server start
startManaged1.sh
SERVER_NAME="managed1"
SERVER_URL="t3://172.16.0.1:7002"
SERVER_PORT="7002"
Start
'Products > WebLogic Server' 카테고리의 다른 글
Unix System에서 소스파일의 최소 권한은? (0) | 2012.10.30 |
---|---|
WebLogic Administration Console SSL 적용 방법 (0) | 2012.08.10 |
웹로직 admin 비밀번호 초기화 (0) | 2012.04.09 |
[WebLogic]Session Timeout 설정 (0) | 2012.04.07 |
[WebLogic]Web Application Session 공유범위 이해 및 설정 (0) | 2012.04.07 |
Recent Comments