Created
March 1, 2018 20:03
-
-
Save PrabhaAnde/e6542ae9a70b16aa61570e7bdfbb2cce to your computer and use it in GitHub Desktop.
StartAll Scripts for both Admin and Managed weblogic servers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo off | |
REM startup with number of seconds as an argument you want to wait between admin and managed servers | |
REM Usage: start_all seconds | |
IF [%1] EQU [] GOTO USAGE | |
set MW_HOME=C:\Oracle\Middleware\WLS1036x32 | |
set JDEV_HOME=C:\Oracle\Middleware\JDev111117 | |
set JAVA_HOME="C:\Program Files\Java\jdk1.7.0_80" | |
set DOMAIN_HOME=%MW_HOME%\user_projects\domains\soabpm_domain | |
pushd %DOMAIN_HOME% | |
echo Starting admin server.... | |
start startWebLogic.cmd | |
echo ...waiting %1 seconds before starting managed server | |
ping -n %1 prabhaspro > NUL 2>&1 | |
echo Starting managed server.... | |
start bin\startManagedWebLogic.cmd soa_server1 | |
REM echo ....waiting %1 seconds before starting JDeveloper | |
REM ping -n %1 127.0.0.1 > NUL 2>&1 | |
REM echo Starting JDeveloper | |
REM start %JDEV_HOME%\jdeveloper\jdev\bin\jdev.exe | |
popd | |
GOTO EOF | |
:USAGE | |
echo Usage: start_all seconds | |
echo seconds: seconds to wait between admin and managed servers startup | |
GOTO EOF | |
:EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment