Sun GlassFish Enterprise Server v3 Prelude Quick Start Guide
この本のみを検索
PDF 文書ファイルをダウンロードする (530 KB)

Deploying an Application by Using the Administration Console

You can deploy applications from the graphical Administration Console.

手順To Deploy the Sample Application From the Administration Console

Before You Begin

The sample application must be available before you start this task. To download the sample, see Obtaining a Sample Application. At least one Enterprise Server domain must be started before you deploy the sample application.

  1. Open the Administration Console by typing the following URL in a browser window:


    http://localhost:4848
    
  2. Click the Applications node in the tree on the left.

    The node expands to display the Web Applications subnode.

  3. Click the Web Applications subnode.

    The Web Applications page is displayed.

  4. Click Deploy.

    The Deploy Enterprise Applications/Modules page is displayed.

  5. Select Packaged File to be Uploaded to the Server, and click Browse.

  6. Navigate to the location in which you saved the hello.war sample, and then click Open.

    You are returned to the Deploy Enterprise Applications/Modules page.

  7. Specify a description in the Description field, for example:

    hello

  8. Accept the other default settings, and click OK.

    You are returned to the Web Applications page.

  9. Run the sample application.

    • Click the Launch link on the Web Applications page.

    • Type the following URL in a browser window:


      http://localhost:8080/hello/
      
See Also

Refer to the Administration Console online help for further instructions.

手順To View Deployed Applications in the Administration Console

  1. Open the Administration Console by typing the following URL in a browser window:


    http://localhost:4848
    
  2. Click the Applications node in the tree on the left.

    The node expands to display the Web Applications subnode.

  3. Click the Web Applications subnode.

    The list of deployed web applications is displayed in the Deployed Web Applications table on the Web Applications page.

手順To Undeploy the Sample Application From the Administration Console

  1. Open the Administration Console by typing the following URL in a browser window:


    http://localhost:4848
    
  2. Click the Applications node in the tree on the left.

    The node expands to display the Web Applications subnode.

  3. Click the Web Applications subnode.

    The Web Applications page is displayed.

  4. Select the check box next to the applications you want to undeploy.

  5. Remove or disable the application.

    • To remove the application, click Undeploy.

    • To disable the application, click Disable.