Monitoring an Oracle Java Cloud Service - SaaS Extension

Overview

Purpose

This tutorial covers monitoring an Oracle Java Cloud Service - SaaS Extension.

Time to Complete

Approximately 30 minutes

Introduction

Oracle customers interested in Oracle Cloud can work through this tutorial to see how to check the status of their account and how to monitor their Oracle Java Cloud Service - SaaS Extension.

Prerequisites

Before starting this tutorial, you should:

  • Have an Oracle.com account.
  • Have already completed the Oracle by Example tutorial entitled Signing Up for a Trial Oracle Java Cloud Service.

Checking Your Account Status

In this section, you view the status of your account.

  1. Open a web browser and enter the URL for Oracle Cloud:

    https://cloud.oracle.com

  2. On the Oracle Cloud screen, click Sign In.

    Sign In
  3. On the next screen, under My Account, click Sign In to My Account.

    Sign In to My Account
  4. On the Sign In screen, enter your Oracle.com username and password, and click Sign In.

    Sign In

    The header displays tabs that enable you to view different aspects of your account.

    My Account

    After you sign in, the Dashboard page in My Account opens, and you can check the overall health of your active services. You can view service status, outages, and uptime percentage for the past 14 days.

    Dashboard page
  5. Click the Applications tab to view a summary of your trial and active paid subscriptions for Oracle Software as a Service (SaaS) applications and to activate trial subscriptions, extend trials, and go to the service details page.

    Applications tab
  6. Click the Platform Services Platform Services Tab tab to view a summary of your trial and active paid subscriptions for Oracle Platform as a Service (PaaS) services and to activate trial subscriptions, change a paid subscription, and go to the service details page.

    You can click the service name or the Menu Menu button to see the details about a service.

    Services page
  7. Click the Orders Orders Tab tab to view information about your purchase orders for paid subscriptions to Oracle Cloud services and to activate the paid subscription for a service.

    Status tab
  8. Click the Security Security Tab tab to view the administrators of the account and the services associated with the account and to add administrators.

    Add Account Administrator button
  9. When you have finished reviewing the tabs, click Sign Out in the menu.

    Notice the My Services option in the same menu.

    Sign Out

Monitoring a Java Service by Using the Oracle Java Cloud Service - SaaS Extension Control

In this section, you check the status of your Oracle Java Cloud Service - SaaS Extension by using the Oracle Java Cloud Service - SaaS Extension Control.

  1. Perform one of the following steps to open the Oracle Java Cloud Service - SaaS Extension Control:

    • In the welcome email, click the link for the Oracle Java Cloud Service - SaaS Extension Control.
    • In My Services, locate the appropriate Oracle Java Cloud Service - SaaS Extension, click the Menu button next to the service name, and select Open Service Console.
  2. Enter the service administrator's credentials and click Sign In.

    In this tutorial, the credentials are the same as the identity domain administrator's credentials.

    Sign In

    The Oracle Java Cloud Service - SaaS Extension Control for your Oracle Java Cloud Service - SaaS Extension instance appears. The Oracle Java Cloud Service - SaaS Extension home page displays information about the service. You will explore each part of the home page for the remainder of this tutorial.

    Java Cloud Services Control console
  3. First, some general information about this page.

    Notice the down-arrow button to the left of each section title. Click the button to collapse the area and click it again to expand the area.

    Resource Usage

    To the right of each area, a gear icon and a drop-down list enable you to change the order of the areas.

    Resource Usage

    The Reload button is at the top of the page. Click the button to refresh the screen.

    Resource Usage

    The Restart Service button is also at the top of the page. If the Java Cloud Service - SaaS Extension instance reaches an inconsistent state (for example, because of a network error), you can click the button to restart the service, which restarts all managed nodes in the service's domain.

    Refresh page

    Finally, look at the title area. It contains the user menu, a drop-down list for accessing help, selecting accessibility options and logging out.

    Log Out button
  4. The general information area displays:

    • A performance summary chart
    • General information, including the version of the Oracle Java Cloud Service - SaaS Extension and the megabytes of disk usage
    • Information about servlets and JavaServer Pages (JSP), including the number of active sessions, the request processing time in milliseconds, and the requests per minute
    • Java Database Connectivity (JDBC) usage, including the number of open JDBC connections and the number of connections created per minute
    General information area
  5. The general information area also includes the View Log Messages link. Click this link to go to the Log Messages screen and search the log files.

    On the Log Messages screen, use the Date Range drop-down list to select an option. For Most Recent, enter a number and use the drop-down list to select a time unit (Minutes, Hours, or Days). For Time Interval, the fields change to Start Date and End Date.

    Next, select a Message Types check box.

    The Record Contains field enables you to search for a particular string in the messages.

    The Name field enables you to specify messages dealing with a particular deployed application.

    The Search options enable you to select the log type.

    The View drop-down list enables you to select the columns to be displayed in the table.

    The Export Messages to File button enables you to save the messages in a file in various formats.

    After you enter all criteria, click the Search button to display the messages that match.

    Log Messages

    Select a row in the table to see the details of the message.

    Log Messages table
  6. Use the breadcrumb link at the top of page to return to the Oracle Java Cloud Service - SaaS Extension Control.

    Breadcrumb link
  7. The Data Sources area lists the names of the Database Services linked to this Java service.
    Data Sources area
  8. The Response and Load graph displays the request processing time in milliseconds and the number of requests per minute.
    Response and Load graph

    Click the Table View link to display a table of the data in a pop-up window.

  9. The Jobs table displays various jobs performed, such as deployment and undeployment, and their status.

    The Refresh drop-down list enables you to refresh the table manually or have it automatically refreshed every 1, 3, or 5 minutes.

    Java Cloud Service Jobs table
  10. The Applications table lists applications deployed to the Oracle Java Cloud Service - SaaS Extension, their status, their state, the number of active sessions, the request processing time (in milliseconds), and the requests per minute. The Test Application icon opens a pop-up window with a link to call the application.

    The View drop-down list enables you to select which columns to display and in which order.

    When you click the Deploy New button, the deployment wizard opens so that you can deploy a new application.

    After you select an application, you can:

    • Delete it (stop it and remove it from the configuration) by clicking the Delete Application button
    • Redeploy it by clicking the Redeploy button
    • Start it (if it is not running) by clicking the Start button
    • Stop it (if it is running) by clicking the Stop button
    Applications table
  11. The Libraries table lists all shared libraries that are installed and available in the Java Cloud Service - SaaS Extension instance.

    The View drop-down list enables you to select which columns to display and in which order.

    When you click the Deploy New button, the deployment wizard starts, so that you can deploy a new library.

    After you select a library, you can:

    • Delete it by clicking the Delete Library button
    • Redeploy it by clicking the Redeploy button
    Libraries table
  12. The Resource Usage charts show the percentage of CPU usage and the heap usage in megabytes.

    Click the Table View link to display a table of the data in a pop-up window.

    Resource Usage charts
  13. Open the user drop-down menu at the top of the screen and click Log Out .

    Log Out

Summary

In this tutorial, you learned to:

  • Check the status of your account
  • Monitor your Oracle Java Cloud Service - SaaS Extension

Resources

Credits

  • Lead Curriculum Developer: Edgar Martinez
  • Curriculum Developer: Bill Bell
  • Editorial: Susan Moxley

To navigate this Oracle by Example tutorial, note the following:

Topic List:
Click a topic to navigate to that section.
Expand All Topics:
Click the button to show or hide the details for the sections. By default, all topics are collapsed.
Hide All Images:
Click the button to show or hide the screenshots. By default, all images are displayed.
Print:
Click the button to print the content. The content that is currently displayed or hidden is printed.

To navigate to a particular section in this tutorial, select the topic from the list.