Databases Reference
In-Depth Information
How to conigure Apache FOP
Oracle Containers for J2EE (10.1.3.2 or above) needs to be conigured for using
Application Express. Oracle Containers for Java will be abbreviated to OC4J in
the rest of this chapter. OC4J is delivered in a ZIP ile and can be downloaded at
Oracle Technology Network:
http://www.oracle.com/technetwork/middleware/ias/downloads/
utilsoft-090603.html
Creating a batch ile or shell script is the most handy way to start OC4J. For example:
set ORACLE_HOME=d:\oc4j (Location from OC4j Installation)
set JAVA_HOME=D:\Program Files\Java\jdk1.6.0_version_of_JDK
(Location of JDK)
oc4j -start
OC4J is dependent on the Java Runtime Environment ( JRE )—this is oficially
supported against JRE version 1.5 and higher, but it is strongly recommended to
run against JRE version 1.6.0_33 or higher, or version 1.7. To verify which version
of JRE is installed run the following command:
java -version
The output of this command will look as follows:
java version "1.6.0_33"
Java(TM) SE Runtime Environment (build 1.6.0_33-rev-b07)
Java HotSpot(TM) Client VM (build 16.3-b05, mixed mode, sharing)
When starting OC4J for the irst time, you will be prompted for the
password— oc4jadmin . The entered password is used as password for the
oc4jadmin website. The next step is the deployment of the fop.war (web archive)
ile. Deployment can be performed in the Enterprise Manager from OC4J.
Steps for the deployment from the fop.war ile are as follows:
1.
Click on the Applications tab in the Enterprise Manager.
2.
Click on the Deploy button.
3.
Choose Archive is present on local host. Upload the archive to the server
where application server control is running. . Browse to the fop.war ile
(in the utilities/fop directory) and click on Next .
4.
Make application name equal to FOP , clear the content in Context Root , and
click on the Next button.
5.
Click on the Deploy button.
 
Search WWH ::




Custom Search