Skip Headers

Oracle9i Application Server Application Developer's Guide
Release 2 (9.0.2)

Part Number A95101-01
Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Go to previous page Go to next page

A
Configuration Files

This appendix shows the configuration files needed to deploy and run the Employee Benefit application:

The server.xml and default-web-site.xml files define the Employee Benefit application (empbft). They also define omsdk, which is an application that the wireless feature in Oracle9iAS uses.

These configuration files are located in the $J2EE_HOME/config directory.

For a detailed description of configuration files, see the Oracle9iAS User's Guide.

A.1 server.xml

<?xml version="1.0" standalone="yes"?>
<!DOCTYPE application-server PUBLIC "Orion Application Server Config"
      "http://xmlns.oracle.com/ias/dtds/application-server.dtd">
<application-server
       application-directory="../applications"
       deployment-directory="../application-deployments"
       transaction-log="../persistence/omsdk.state" > 
   <rmi-config path="./omsdk-rmi.xml" />
   <log>
      <file path="../log/omsdk-server.log" />
   </log>
   <global-application name="default" path="./application.xml" />
   <global-web-app-config path="global-web-application.xml" />
   <web-site path="./omsdk-web-site.xml" />
   <application name="omsdk"
       path="../applications/omsdk.ear" auto-start="true" /> 
   <application name="empbft"
       path="../applications/empbft.ear" auto-start="true" /> 
</application-server>

A.2 default-web-site.xml

<?xml version="1.0" standalone="yes"?>
<!DOCTYPE web-site PUBLIC "Oracle9iAS XML Web-site"
      "http://xmlns.oracle.com/ias/dtds/web-site.dtd">
<!-- change the host name below to your own host name. Localhost will -->
<!-- not work with clustering -->
<web-site
       port="9000"
       display-name="Default Oracle9iAS Containers for J2EE Web Site">
   <default-web-app application="default" name="defaultWebApp" />
   <web-app application="omsdk" name="omsdk" root="/omsdk"
       load-on-startup="true"/>
   <web-app application="empbft" name="web" root="/empbft"
       load-on-startup="true"/>
   <!-- Access Log, where requests are logged to -->
   <access-log path="../log/omsdk-web-access.log" />
</web-site>

A.3 data-sources.xml

<?xml version="1.0"?>
<!DOCTYPE data-sources PUBLIC "Orion data-sources"
      "http://xmlns.oracle.com/ias/dtds/data-sources.dtd">
<data-sources>
   <data-source
       class="com.evermind.sql.DriverManagerDataSource"
       name="OracleDS"
       location="jdbc/OracleCoreDS"
       xa-location="jdbc/xa/OracleXADS"
       ejb-location="jdbc/OracleDS"
       connection-driver="oracle.jdbc.driver.OracleDriver"
       username="hr"
       password="hr"
       url="jdbc:oracle:thin:@doliu-sun:1521:db3"
       inactivity-timeout="30"
   />
</data-sources>


Go to previous page Go to next page
Oracle
Copyright © 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index