转载:Linux下启动和关闭Weblogic(管理服务器+被管服务器)

转载自:http://www.cnblogs.com/nick-huang/p/3834134.html  感谢!

Weblogic的管理服务器和被管服务器的启动、关闭,偶尔会用到,却又不常用,导致需用时却忘记了,而又重新查阅HELP。

故,以此记录,方便查阅、执行。

 

首先,weblogic的启动脚本和关闭脚本都在域目录的bin文件夹下,所以,先cd到该目录

cd $WEBLOGIC_HOME/user_projects/domains/$DOMAIN_NAME/bin

 

然后按需要执行以下脚本:

 

管理服务器的启动

./startWebLogic.sh即可

但离开命令行模式随即关闭,所以需用nohup模式

亦可将日志输出到xxx.log

nohup ./startWebLogic.sh > ./xxx.log &

 

管理服务器的关闭

./stopWebLogic.sh

 

被管服务器的启动

./startManagedWebLogic.sh managedserver1 http://xxx.xxx.xxx.xxx:xxxx即可,其中“http://xxx.xxx.xxx.xxx:xxxx”为控制台地址

但离开命令行模式随即关闭,所以需用nohup模式

亦可将日志输出到xxx.log

nohup ./startManagedWebLogic.sh managedserver1 http://xxx.xxx.xxx.xxx:xxxx > ./xxx.log &

 

被管服务器的关闭

./stopManagedWebLogic.sh managedserver1 t3://xxx.xxx.xxx.xxx:xxxx username password

猜你喜欢

转载自blog.csdn.net/weixin_38213517/article/details/81065969