2 Replies Latest reply on Jan 18, 2013 5:52 PM by Carlos Cortez

    Start/Stop Weblogic Admin Server


      I have installed Forms 11g in my home Pc, so is it possible to Start/Stop Weblogic Admin Server and the Dos window that appears, not to ask me about username and password?
      I mean like a bat file (script), to enter the username and password in a text file

      if yes, also the same in WLS_FORMS?

      Thank you.
        • 1. Re: Start/Stop Weblogic Admin Server
          Starting an Administration Server with a Startup Script

          An Administration Server is a WebLogic Server instance that maintains configuration data for a domain. In a development environment, it is usually sufficient to start an Administration Server and deploy your applications directly onto the Administration Server. In a production environment, you create Managed Servers to run applications. For more information about Administration Servers and Managed Servers, see "Understanding WebLogic Server Domains" in Understanding Domain Configuration for Oracle WebLogic Server.

          You can start an Administration Server with a default startup script or create your own. To start an Administration Server with the WebLogic Server-included startup script:

          If you have not already done so, use the Configuration Wizard or WebLogic Scripting Tool (WLST) to create a domain.

          See Creating Domains Using the Configuration Wizard or "Creating Domains Using WLST Offline" in Oracle WebLogic Scripting Tool.

          Open a shell (command prompt) on the computer on which you created the domain.

          Change to the directory in which you located the domain.

          By default, this directory is MW_HOME\user_projects\domains\DOMAIN_NAME, where DOMAIN_NAME is the root directory of the domain. (The name of this directory is the name of the domain.)

          Run one of the following scripts:

          bin/startWebLogic.cmd (Windows)

          bin\startWebLogic.sh (UNIX and Windows. On Windows, this script supports the MKS and Cygnus BASH UNIX shell emulators.)

          If you use a Configuration Wizard template that is provided by WebLogic Server, your domain directory includes a start script named startWebLogic. If you use a domain template from another source, the wizard might not create a start script, or it might create a script with a different name. The template designer determines whether the wizard creates a start script and the name of the script.
          The startWebLogic script does the following:

          Sets environment variables by invoking DOMAIN_NAME\bin\setDomainEnv.cmd (setDomainEnv.sh on UNIX), where DOMAIN_NAME is the directory in which you located the domain; for example, WL_HOME\user_projects\domains\DOMAIN_NAME, and where WL_HOME is the location in which you installed WebLogic Server.

          Invokes the java weblogic.Server command, which starts a JVM that is configured to run a WebLogic Server instance.

          When the server successfully completes its startup process, it writes the following message to standard out (which, by default, is the command window):

          <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
          Starting an Administration Server from the Windows Start Menu

          When you create an Administration Server on a Windows computer, the Configuration Wizard creates a shortcut on the Start Menu for starting the server (User Projects > DOMAIN_NAME > Start Admin Server for WebLogic Server Domain).

          The command that the Configuration Wizard adds to the Start menu opens a command window and calls the startup script that is described in Starting an Administration Server with a Startup Script. When the server has successfully completed its startup process, it writes the following message to standard out (which, by default, is the command window):

          <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>

          Mark this helpful/correct to help others too
          • 2. Re: Start/Stop Weblogic Admin Server
            Carlos Cortez
            Hello apollon,

            Yes it is possible, just do this:

            create a file named boot.properties in DOMAIN_HOME\servers\server_name\security folder

            inside the file add:


            at the next start of you adminServer or managed server weblogic will encrypt this file, and you will not be asked for user and password :)