OC4J is provided with JDeveloper, and it runs embedded for debugging and testing your applications. This topic describes how to install it to run as a standalone OC4J instance to illustrate registering the EJB web service providers.
This topic describes:
You first need to install OC4J.
To install OC4J:
<JDeveloper_home>/j2ee/home
.
start java -jar oc4j.jar -install
Once you have installed OC4J, you can start it by running this command and leave it running in the background.
To start OC4J:
<jdev_install>
/j2ee/home
<jdev_install>
is the
location of JDeveloper.
start java -jar oc4j.jar
You can check that the SOAP server is running by entering this URL in a
browser, http://<hostname>
:8888/soap/servlet/soaprouter
, where <hostname>
is the IP address. If you have installed and started OC4J correctly, you will
see the following message:
SOAP Server
Sorry, I don't speak via HTTP GET- you have to use HTTP POST to
talk to me.
To stop OC4J, follow the instructions below.
To stop OC4J:
<JDev_install>
/j2ee/home
java -jar admin.jar ormi://<hostname>
admin <admin_password> -shutdown
<hostname>
is the IP address
<admin_password>
is the password you
entered when you installed OC4J.
Copyright © 1997, 2004, Oracle. All rights reserved.