There are a lot of common Web servers in Java, and today I'm documenting how to create, start, and deploy OC4J servers. Of course there are a number of ways to create, start, and deploy servers, and I'll just describe the one I'm using. The steps are as follows:
1 Download the oc4j server file and unzip the file.
2 ensure the correctness of the oc4j configuration file, there are two conditions that need to be determined:
A. You must ensure that the JDK version is below 1.6 (inclusive)
B. Ensure that the Oc4j.cmd file in the Oc4j_extended_101330\bin directory is equipped with
Correct
Oracle_home: Must be configured as a path to the Oc4j folder
Java_home: The path configured as a JDK, if the local environment variable is already configured, it does not have to be configured again; If the local environment changes
Volume configured with a higher version of Java_home, configure the Java_home variable to be the lower version again here
JDK, you oc4j will make use the configuration here.
3 Enter the oc4j file directory, such as: E:\oc4j\bin, and then execute the command:
Oc4j.cmd-start Enter. If this is the first time the configuration will require an administrator password, enter the correct password.
4 after performing the previous step, you can enter an address in the browser, such as: Http://127.0.0.1:8888/em, if you see OC4J configuration Management
The login page indicates that the server has started successfully or that it failed to start
about how to re-oc4j the deployment program on the server is no longer described. After the configuration management interface login is complete, select Deploy, and then follow the prompts to deploy.
This article is from the "write-free" blog, please be sure to keep this source http://7156680.blog.51cto.com/7146680/1795075
How to create and start a oc4j server