Deploying and Undeploying Applications for an Oracle SOA Cloud Service Instance

This section describes deploying and undeploying applications to an Oracle SOA Cloud Service instance by using: Fusion Middleware Control, the WebLogic Server Administration Console, and WLST commands. You cannot deploy and undeploy applications directly through the Oracle SOA Cloud Service Console.

Note:

It is currently not possible to deploy applications directly from Oracle JDeveloper to the cloud. You must use one of the deployment mechanisms described in this chapter.

Topics:

Overview of Deployment Tasks for an Oracle SOA Cloud Service Instance

Consider the typical tasks for deploying and undeploying an application to an Oracle SOA Cloud Service instance, as shown in the following table.

Task Description More Information

Use Fusion Middleware Control

Deploy and undeploy applications just as you would for an on-premise service instance.

Using Oracle Enterprise Manager Fusion Middleware Control to Deploy an Application

Use the WebLogic Server Administration Console

Deploy and undeploy applications just as you would for an on-premise service instance.

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

Use WLST commands

Use WLST commands online or offline to deploy an application.

Using WLST Commands to Deploy and Undeploy an Application

Access a deployed application

Copy the public IP address of the load balancer into the URL for the application.

Accessing an Application Deployed to an Oracle SOA Cloud Service Instance

Using Oracle Enterprise Manager Fusion Middleware Control to Deploy an Application

You can use Oracle Enterprise Manager Fusion Middleware Control to deploy and undeploy an application to an Oracle SOA Cloud Service instance, just as you would deploy and undeploy the application to an on-premises service instance.

Note:

Before you can use Oracle Enterprise Manager Fusion Middleware Control to deploy an application, you must add a managed server IP as described in Adding a Managed Server IP in a Non Proxy Host to Enable Deployment From Fusion Middleware Control.

Oracle Enterprise Manager Fusion Middleware Control is one of the consoles available through the Oracle SOA Cloud Service Console. For information about opening Oracle Enterprise Manager Fusion Middleware Control, see Accessing an Administration Console for Software that a Service Instance Is Running.

The following table shows additional resources.

For... See... In...
Oracle Enterprise Manager Fusion Middleware Control12.1.3

Deploying, Undeploying, and Redeploying Java EE Applications

Administering Oracle Fusion Middleware

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

You can use the Oracle WebLogic Server Administration Console to deploy and undeploy an application to an Oracle SOA Service instance, just as you would deploy and undeploy the application to an on-premises service instance.

The Oracle WebLogic Server Administration Console is one of the consoles available through the Oracle SOA Cloud Service Console. For information about opening the Oracle WebLogic Server Administration Console, see Accessing an Administration Console for Software that a Service Instance Is Running.

Topics

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. From the Menu icon menu on the SOA Cloud Service Console, open the WebLogic Server Administration Console.
  2. In the Change Center, click Lock & Edit.
  3. On Deployments table on the WebLogic Server Administration Console, select the application.
  4. Click Start, then Servicing all requests.
  5. 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 SOA Cloud Service instance.

This table provides additional sources of information for learning about undeploying an application.

For... See... In...

Oracle Fusion Middleware CONTROL 12.1.3

Remove an application or module from a domain

Oracle WebLogic Server Administration Console Online Help

To undeploy the application:
  1. From the Menu icon menu on the SOA Cloud Service Console, open the WebLogic Server Administration Console.
  2. In the Change Center of the WebLogic Server Administration Console, click Lock & Edit.
  3. In the left pane of the WebLogic Server Administration Console, select Deployments.
  4. In the right pane, select the check boxes next to the application you want to remove, and click Delete.
  5. Click Yes to confirm your decision and remove the application.
  6. To activate your changes, in the Change Center of the WebLogic Server Administration Console, click Activate Changes.

Using WLST Commands to Deploy and Undeploy an Application

You can use WLST commands to deploy and undeploy an application to and from an Oracle SOA Cloud Service instance. All WLST commands are supported.

You can use a secure shell (SSH) to connect to the virtual machine (VM) that hosts the administration server and run WLST commands locally. For information, see Creating an SSH Tunnel. When running WLST commands locally on the VM, you can use WLST online and offline. You can only undeploy an application online. For more information, see Running WLST Commands Local to the VM in Using Oracle Java Cloud Service.

Alternatively, if you are not connected to the VM that hosts the administration server, you can connect to the administration server using WLST commands online and run WLST commands remotely, for example, from a command shell in your local environment. When running WLST commands remotely, you can use WLST commands for deployment and undeployment online only. See Running WLST Commands from a Different Host in Using Oracle Java Cloud Service.

This table provides references to additional sources of information for learning about using WLST commands.

For... See... In...

Oracle Fusion Middleware

Oracle Fusion Middleware Understanding the WebLogic Scripting Tool

A description of all of the SOA and Business Process Management commands that are available to use with the WebLogic Scripting Tool (WLST)

 

Accessing an Application Deployed to an Oracle SOA Cloud Service Instance

You can access an application deployed to an Oracle SOA Cloud Service instance through a URL in a browser.

To access a deployed application:
  1. From the Menu icon menu on the SOA Cloud Service Console, open the Service Bus Console.
  2. Copy the Host IP Address of the load balancer or managed server, depending on whether your Oracle SOA Cloud Service instance has a load balancer.
  3. Find the context-root of the application.
    The context-root is defined in the service project as a project property, or in the weblogic.xml file. The context-root might or might not be the same as the internal application name.
    1. Navigate to the Oracle SOA Cloud Service Console.
    2. From the Oracle SOA Cloud Service Console, open the WebLogic Server Administration Console.
    3. Select domain > Deployments, where domain is the domain where the application is deployed.
    4. In the Deployments table, click on the name of your service.
      The Settings dialog is displayed.
    5. In the Overview tab, locate the context-root.
  4. Open a browser.
  5. In the address bar, specify the URL of the application:
    https://public_IP_of_load_balancer_or_managed_server:port/application_context_root
    or
    http://public_IP_of_load_balancer_or_managed_server:port/application_context_root
    1. Paste the Host IP Address of the load balancer or managed server into the URL.
    2. Specify the port number.
      The default ports differ according to whether you created the service instance on which the application by using the service instance creation wizard accessible on Oracle SOA Cloud Service Console REST API for Oracle SOA Cloud Service. The HTTP port is disabled if you created the service instance by using the service instance creation wizard.
    3. Specify the context-root for the application.
      If you do not want to specify the IP address and port when you access the application, you can create a custom URL To do this, you must acquire and configure a third-party DNS provider to map the custom URL. See Defining a Custom URL for an Application Deployed to an Oracle Java Cloud Service Instance in Using Oracle Java Cloud Service.
  6. If you receive a warning, accept the signed certificate.
    The application opens in your browser.