@ECHO OFF

@REM WARNING: This file is created by the Configuration Wizard.
@REM Any changes to this script may be lost when adding extensions to this configuration.

SETLOCAL

@REM *************************************************************************
@REM  This script is used to start a NodeManager.
@REM  This script should be used only when node manager is configured per domain.
@REM  This script sets the following variables before starting 
@REM  the node manager:
@REM 
@REM  WL_HOME    - The root directory of your WebLogic installation
@REM  NODEMGR_HOME  - The product name. Here it will product name and domain name
@REM  *************************************************************************

set WL_HOME=C:\bea\weblogic14\wlserver
for %%i in ("%WL_HOME%") do set WL_HOME=%%~fsi

set NODEMGR_HOME=C:\dominio_wls14110\dominio_desa\nodemanager
for %%i in ("%NODEMGR_HOME%") do set NODEMGR_HOME=%%~fsi

set DOMAIN_HOME=C:\dominio_wls14110\dominio_desa
for %%i in ("%DOMAIN_HOME%") do set DOMAIN_HOME=%%~fsi

set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.RootDirectory=%DOMAIN_HOME% 

@REM  Set JAVA_HOME for node manager

call "%DOMAIN_HOME%\bin\setNMJavaHome.cmd"

@REM  start node manager

call "%WL_HOME%\server\bin\startNodeManager.cmd"



ENDLOCAL