A script to restart Weblogic servers
来源:互联网 发布:c语言字符串类型定义 编辑:程序博客网 时间:2024/06/02 05:04
This shell script restarts Weblogic Admin and Managed servers and clears out the temp files in all servers.
#!/bin/shDOMAIN_HOME=/path/to/your/weblogic/domaincd $DOMAIN_HOME/bin:<<BLOCK./stopManagedWebLogic.sh managed2 t3://admin_server:7001sleep 15./stopManagedWebLogic.sh managed1 t3://admin_server:7001sleep 15./stopWebLogic.shsleep 60BLOCKkill -9 `ps -ef | grep jrockit_160_22 | grep -v grep | awk '{print $2}'`sleep 15cd $DOMAIN_HOME/servers/AdminServer/tmp/_WL_userrm -rf *cd $DOMAIN_HOME/servers/managed1/tmp/_WL_userrm -rf *cd $DOMAIN_HOME/servers/managed2/tmp/_WL_userrm -rf *cd $DOMAIN_HOME/bin./startWebLogic.shsleep 200./start1.shsleep 15./start2.shsleep 200
- A script to restart Weblogic servers
- Cacti - Add New Servers With A Script
- [linux]A Shell to Restart Tomcat
- How to add RD license servers to a win8 host
- A Script to Skin a Point Cloud
- Weblogic Console Fails to Start Managed Servers With<BEA-000286> <Failed to invoke startup class
- (codes)a program that could be used to restart computer
- How to start weblogic managed servers without manually entering the password
- A shell script to format c code
- How to write a script in Linux
- How to compile a APR test script
- How to run a script in ubuntu?
- a script to generate sqlldr control file
- Attempt to execute SCRIPT *** as a function
- Bash Script: A way to wait_until
- How to Create a First Shell Script
- Attempt to execute SCRIPT ** as a function
- JBOSS START/STOP/RESTART shell script
- I am a c++ green hand
- linux makefile 基础
- 你的高度由你的心态决定
- 用消息队列编写一个客户端服务器通信的程序
- 【解惑】真正理解了protected的作用范围
- A script to restart Weblogic servers
- 优雅的在django框架里使用mongodb
- 如何让UIScrollView里面的UIImageView响应touch事件
- C 专家编程
- 提升Web应用程序性能的最佳实践
- shell循环语句
- 初学xml(2)
- 视频聊天网站的研究、发展以及趋势
- 设计模式-策略模式