Setting the Environment

Before you can start or stop your WebLogic Server instances, you need to do something else first—you must set the necessary environment variables for WebLogic Server to run. You must do this prior to running any WLST or Node Manager commands. On a Windows system, for example, you can set up the environment by running setDomainEnv.cmd, as shown here:

C:\MyOra\Middleware\user_projects\domains\domain1\bin>setDomainEnv.cmd

Every domain will have its own copy of the setDomainEnv.cmd script. The Configuration Wizard creates the setDomainEnv.cmd (and setDomainEnv.sh) file when you create the domain. The command file sets some required environment variables, such as the WebLogic and Java homes, the maximum and minimum memory ...

Get Oracle WebLogic Server 11g Administration Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.