SunQuest
 
       Oracle
  Home arrow Oracle arrow Page 4 - Creating, Copying, and Managing OC4J I...
Dev Shed Forums 
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Sun Developer Network 
Dedicated Servers 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Actuate Whitepapers 
VeriSign Whitepapers 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ORACLE

Creating, Copying, and Managing OC4J Instances
By: McGraw-Hill/Osborne
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 7
    2007-02-22

    Table of Contents:
  • Creating, Copying, and Managing OC4J Instances
  • Using the Application Server Control
  • CERTIFICATION OBJECTIVE 8.04
  • Using the Application Server Control
  • OC4J Administration Page
  • OC4J Applications Page
  • CERTIFICATION OBJECTIVE 8.05

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
    IBM developerWorks
     
    ADVERTISEMENT

    At the virtual BlackBerry Technical Seminar 2008, you can ask your development questions directly of Research In Motion® (RIM) experts, and take advantage of learning opportunities designed uniquely for BlackBerry solution developers. Register Today!

    Creating, Copying, and Managing OC4J Instances - Using the Application Server Control


    (Page 4 of 7 )

    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


       · This article is an excerpt from the book "Oracle 10g Application Server Exam Guide,"...
     

    Buy this book now. This article is excerpted from the Oracle 10g Application Server Exam Guide, written by Sam Alapati (McGraw-Hill; ISBN: 0072262710). Check it out today at your favorite bookstore. Buy this book now.

       

    ORACLE ARTICLES

    - Tuning PL/SQL Code
    - Debugging PL/SQL Code
    - Testing PL/SQL Code
    - Working With PL/SQL Code
    - Conditional Compilation for Oracle Database ...
    - Compile-Time Warnings for Oracle DB 10g
    - Compiling PL/SQL Code for an Oracle Database
    - Troubleshooting PL/SQL Code
    - Managing PL/SQL Code
    - Data Manipulation and More for HTML DB Appli...
    - Oracle Database Fundamentals
    - Adding Processes to HTML DB Applications
    - Adding Computations, Processes, and Validati...
    - Sub-templates and More with Oracle HTML DB
    - Focusing on Templates in Oracle HTML DB





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway