浏览 2499 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2009-12-18
最后修改:2010-05-10
1. Knowledge:
start_wls.sh: start Weblogic Server in the base_domain
#!/bin/sh export DOMAIN_HOME=/home/oracle/Middleware/user_projects/domains/base_domain export LOG_HOME=$DOMAIN_HOME/logs nohup $DOMAIN_HOME/bin/startWebLogic.sh > $LOG_HOME/wls.log & tail -f $LOG_HOME/wls.log
stop_wls.sh:stop Weblogic Server in the base_domain
#!/bin/sh export DOMAIN_HOME=/home/oracle/Middleware/user_projects/domains/base_domain export LOG_HOME=$DOMAIN_HOME/logs nohup $DOMAIN_HOME/bin/stopWebLogic.sh > $LOG_HOME/wls.log & tail -f $LOG_HOME/wls.log
start_mgs.sh: start Managed Weblogic Server in the Admin Server
#!/bin/sh #echo $1, $2, $3 if [ $# -lt 3 ] then echo "please input managed_sever_name, and the user/password for the Admin server!" echo "eg." echo "./start_msg.sh soa_server1 weblogic password" exit fi export DOMAIN_HOME=/home/oracle/Middleware/user_projects/domains/base_domain export LOG_HOME=$DOMAIN_HOME/logs nohup $DOMAIN_HOME/bin/startManagedWebLogic.sh $1 http://l360cn03:7001 -Dweblogic.management.username=$2 -Dweblogic.management.password=$3 > $LOG_HOME/$1.log & tail -f $LOG_HOME/$1.log
stop_mgs.sh
#!/bin/sh #echo $1, $2, $3 if [ $# -lt 3 ] then echo "please input managed_sever_name, and the user/password for the Admin server!" echo "eg." echo "./stop_msg.sh soa_server1 weblogic password" exit fi export DOMAIN_HOME=/home/oracle/Middleware/user_projects/domains/base_domain export LOG_HOME=$DOMAIN_HOME/logs nohup $DOMAIN_HOME/bin/stopManagedWebLogic.sh $1 t3://l360cn03:7001 $2 $3 > $LOG_HOME/$1.log & tail -f $LOG_HOME/$1.log
声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |