Home arrow Oracle arrow Configuring the OC4J Server

Configuring the OC4J Server

In this third part of a series that focuses on managing OC4J and configuring J2EE applications, we look at how to configure the OC4HJ server. It is excerpted from chapter eight of the Oracle 10g Application Server Exam Guide, written by Sam Alapati (McGraw-Hill; ISBN: 0072262710).

  1. Configuring the OC4J Server
  2. Configuring OC4J
  3. Specifying Other J2EE Applications
  4. Other OC4J Server XML Files
  5. The Web Site XML Files
By: McGraw-Hill/Osborne
Rating: starstarstarstarstar / 11
March 01, 2007

print this article




The OC4J Server Configuration Files

The OC4J server configuration files (also known as OC4J configuration files) help configure the OC4J server and are located in the following directory:


The OC4J server configuration files configure various OC4J instance-Ėrelated items such as ports, security, and basic J2EE services. These XML files are purely

exam watch: The configuration settings in the OC4J configuration files apply directly to the OC4J server, not the deployed J2EE applications. 

about configuring the OC4J instance itself and arenít directly related to the deployment of the J2EE applications.

The OC4J server configuration files consist mainly of a set of Server XML configuration files and a set of Web site XML files. The server configuration files specify various properties of the OC4J server such as the listening ports, passwords, security, and related basic J2EE services as well as the data sources and Web sites. The Web site XML files are used to configure ports, Web contexts, and protocols to facilitate the functioning of the OC4J Web site.

Letís review the important OC4J server XML files.


The server.xml file is the key OC4J server configuration file; it contains references to most of the files used by the OC4J server. Besides configuring the OC4J server, the server.xml file also points to other configuration files, such as the jms.xml file for JMS support. This way, you can configure the various services in their own configuration files, but by referring to them in the server.xml file, you let it be known that these services are for the use of the OC4J instance. The server configuration files are OC4J instance specific and refer to the key J2EE configuration files. You donít usually need to modify the OC4J server configuration files when you deploy J2EE applications. Hereís how the server.xml file references other configuration files:

  |----> jms.xml
  |       |--------→principals.xml
  |       ---------→data-sources.xml

Together, the server.xml, the application.xml, and the default-web-site.xml files define an applicationís configuration.

You use the server.xml file for the following purposes:

  • Configuring OC4J
  • Referencing other configuration files
  • Specifying J2EE applications

Letís look at each of these three categories of tasks in detail in the following subsections.

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

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort


- 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: