Using the WebLogic Server Administration Console to Deploy and Undeploy an Application

You can use the WebLogic Server Administration Control graphical user interface to deploy and undeploy an application to an Oracle Java Cloud Service instance, just as you would deploy and undeploy the application to an on-premises service instance.

Topics

Using the WebLogic Server Administration Console to Deploy an Application

You can use the Administration Console to deploy an application to an Oracle Java Cloud Service instance.

To deploy an application by using the WebLogic Server Administration Console:
  1. Navigate to the Oracle Java Cloud Service Console.
  2. Open the WebLogic Server Administration Console.
    The WebLogic Server Administration Console is displayed.
  3. On the Welcome screen, enter the administrator login credentials you specified when you created the Oracle Java Cloud Service instance.
  4. On the WebLogic Server Console, click Lock & Edit.
  5. Under Domain Structure, select domain > Deployments, where domain is the domain into which you want to deploy the application.
  6. On the Deployments page, click Install.
  7. On the Install page, click upload your file(s) ..
  8. In the Install Application Assistant, click Browse to find the application you want to deploy and click Next.
  9. Under Locate deployment to install and prepare for deployment, select the application if it is not already selected, and click Next.
  10. Under Choose targeting style, you can either install the deployment as an application or as a library. Make your selection and click Next.
  11. Under Select deployment targets, select the servers or clusters to which you want to deploy the application and click Next.
  12. (Optional) Update settings for the deployment and click Next.

    These settings include:

    • The deployed name of the Web application.

    • The security model that is applied to the application.

    • How the source files (WAR or exploded directory contents) are made available to targeted managed servers and clusters.

    • How the deployment plan source files are made available to all targeted managed servers and clusters.

    Typically, the default settings are adequate.

  13. Review the configuration settings you specified and click Finish.

    The application shows a status of distribute Initializing on the Deployments table.

  14. In the Change Center, click Activate Changes.
    The changes are activated and no restart is necessary. The WebLogic Server Console shows the application in a Prepared state.
The application is now deployed.

Using the WebLogic Server Administration Console to Start an Application

You must start the application to make it ready to accept requests.

To start an application:
  1. Navigate to the Oracle Java Cloud Service Console.
  2. Open the WebLogic Server Administration Console.
    The WebLogic Server Administration Console is displayed.
  3. On the Welcome screen, enter the administrator login credentials you specified when you created the Oracle Java Cloud Service instance.
  4. Under Domain Structure, click domainDeployments, where domain is the domain into which you want to deploy the application.
  5. Click the Control tab if not already selected.
  6. From the Deployments table select the application.
  7. Click Start, then Servicing all requests.
  8. On the Start Deployments dialog, click Yes to confirm the deployment.
    The application is now in the Active state and is ready to accept requests.

Using the WebLogic Server Administration Console to Undeploy an Application

You can use the WebLogic Server Administration Console to undeploy an application from an Oracle Java Cloud Service instance.

To undeploy the application:
  1. Navigate to the Oracle Java Cloud Service Console.
  2. Open the WebLogic Server Administration Console.
    The WebLogic Server Administration Console is displayed.
  3. On the Welcome screen, enter the administrator login credentials you specified when you created the Oracle Java Cloud Service instance.
  4. In the Change Center of the WebLogic Server Administration Console, click Lock & Edit.
  5. Under Domain Structure, select domainDeployments, where domain is the domain in which the application is deployed.
  6. In the Deployments table, select the check box next to the application you want to undeploy.
  7. From the Stop menu, select one of the following:
    • When work completes
    • Force Stop Now
    Do not select Stop, but continue servicing administration requests.
  8. When the application is in a Stopped state, ensure that the application is selected and click Delete.
  9. Click Yes to confirm your decision and remove the application.
  10. To activate your changes, in the Change Center of the WebLogic Server Administration Console, click Activate Changes.
The application has been undeployed.