Home arrow Oracle arrow Page 4 - Creating, Copying, and Managing OC4J Instances

Using the Application Server Control - Oracle

In this second part of a multi-part series covering the management of OC4J and configuring J2EE applications with Oracle 10g Application Server, we focus in on OC4J instances. This article is excerpted from chapter eight of the Oracle 10g Application Server Exam Guide, written by Sam Alapati (McGraw-Hill; ISBN: 0072262710).

TABLE OF CONTENTS:
  1. Creating, Copying, and Managing OC4J Instances
  2. Using the Application Server Control
  3. CERTIFICATION OBJECTIVE 8.04
  4. Using the Application Server Control
  5. OC4J Administration Page
  6. OC4J Applications Page
  7. CERTIFICATION OBJECTIVE 8.05
By: McGraw-Hill/Osborne
Rating: starstarstarstarstar / 10
February 22, 2007

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

Every OC4J instance, including the new OC4J instance OC4J_Test that you created earlier, will have its own OC4J home page. You can perform the following OC4J management tasks using the Application Server Control Console:

  • Start an OC4J instance.
  • Configure an OC4J instance.
  • Manage the data sources and security.
  • Monitor the availability, usage, and performance of the OC4J instance.
  • Stop an OC4J instance.
  • Restart an OC4J instance.
  • Disable and enable an OC4J instance.

Figure 8-2 shows the OC4J home page in the Application Server Control Console.

Following are the main sections of the OC4J home page:

  • The General section shows a snapshot of the status of the OC4J server and also lets you stop and start the OC4J server.
  • The Status section shows a summary of the performance of the server, including CPU and memory usage.
  • The JDBC Usage section shows information about the open JDBC connections and active transactions, rollbacks, and commits.
  • The Response--Servlets and JSPs section shows details about the response times for processing requests, the active sessions, and the active requests.
  • The Response-–EJBs section shows EJB transactional details.


    Figure 8-2.  The Application Server Control OC4J Home Page

You can start and stop the OC4J instance from either the Application Server Control Instance home page or the OC4J home page, by clicking on the Start and Stop buttons. Note that you can also start and stop OC4J instances from the Oracle Application Server Control Instance home page as well. If you wish to disable an OC4J instance, you can do so by clicking the Enable/Disable Components in the OracleAS Instance page. Similarly, you can reenable a disabled OC4J instance from the Enable/Disable Components page by removing the selected instance from the disabled components table. However, note that an enabled component won’t start automatically.

You perform most OC4J configuration and management tasks from the OC4J home page. Each of the OC4J instances will have its own home page. You drill down to any OC4J instance home page by selecting the name of the OC4J instance in the System Components table. The OC4J home page has two tabs: Applications and Administration. Clicking on the Applications tab will take you to the OracleAS Console Applications page and clicking on the Administration page will take you to the OracleAS Console Administration page. Let’s briefly review these two pages.

Testing the Default OC4J Instance

To test the default OC4J configuration, specify the following URL in your Web browser:

  http://<hostname>:7777/j2ee/j2ee-index.html

In the URL, hostname stands for the name of the server on which your Oracle HTTP Server is running, and 7777 is, of course, the default port number for the OHS. If you type the following URL, you should see a "Hello World" greeting. The HelloWorldServlet is part of the OC4J installation.



 
 
>>> More Oracle Articles          >>> More By McGraw-Hill/Osborne
 

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

ORACLE ARTICLES

- Oracle Java Security Woes Continue
- Oracle's New IaaS Cloud Option: There's a Ca...
- Oracle Acquires Eloqua to Boost Cloud Presen...
- Choosing Innovation: Oracle Survey Insights
- Oracle Fixes Privilege Escalation Bug
- Oracle`s Communications Service Availability...
- Oracle Releases Exalytics, Taleo Plans
- Oracle Releases Communications Network Integ...
- Oracle Releases Communications Data Model 11...
- Oracle Releases PeopleSoft PeopleTools 8.52
- Oracle Integrates Cloudera Apache Distro, My...
- Oracle Releases MySQL 5.5.18
- Oracle Announces NoSQL Database Availability
- Sorting Database Columns With the SELECT Sta...
- Retrieving Table Data with the LIKE Operator

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: