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:
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.
Next: OC4J Administration Page >>
More Oracle Articles
More By McGraw-Hill/Osborne
|
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.
|
|