About the Sample Application Deployed to an Oracle Java Cloud Service Instance

When you create an Oracle Java Cloud Service instance, a sample application is deployed automatically to the instance’s managed servers and started.

How to Access the Application

The easiest way to access the application, sample-app.war, is from the Oracle Java Cloud Service Instance Overview page. Click on the URL under the Additional Information section of the page.

You can also access the application from a web browser as you would any other application. The application context is sample-app.

Type a URL in the following format into the browser’s address bar:

https://IP_address:port/sample-app

For example:

https://192.0.2.1:443/sample-app

IP_address is the IP address of the VM through which you access the application:

  • If your service instance has a load balancer, use the IP address of the VM where the load balancer is running.

  • Otherwise, use the IP address of the VM where the Administration Server and first Managed Server is running.

port is the port number through which you access the application:

  • If your service instance has a load balancer or only one Managed Server, use port 443.

  • Otherwise, use port 8002.

See:

    Accessing an Application Deployed to an Oracle Java Cloud Service Instance

    Understanding the Default Access Ports

    What the Application Does

    When you open the sample-app application, the following information is displayed:

    • Tweets—You can tweet to @OracleCloudZone and @OracleWebLogic.

    • Links— You can access documentation, demos, videos, blogs, FAQs, and related links.

    How to Manage the Application

    You can verify that the application is deployed and running by viewing the Deployments table in the WebLogic Server Administration Console. From the Deployments table, you can stop, start, and undeploy the application.