Eclipse server configuration for OC4J 

Joined:
07/29/2009
Posts:
7

February 10, 2010 20:53:27
Step by step procedure to setup OC4J server for Eclipse. Version used is Galileo for Java EE Developers.
  1. Initialize OC4J
    You'll be asked to create a password the first time you run the standalone OC4J server. You need to remember this password and use it in the Eclipse setup. In the following C:\jdev1013_5 is where the JDeveloper suite is installed.
    cd C:\jdev1013_5\j2ee\home
    java -jar oc4j.jar
    


  2. Add Server Runtime Environment
    Go to Windows menu, bring up the Preferences dialog. Select Server -> Runtime Environments, click Add.


    Select Oracle OC4J Standalone 10.1.3.n, click Next.


    Enter J2EE home and click Finish.


  3. Add a server for OC4J
    Go to Windows menu, select Show View -> Servers. If Servers menu is not visible, select Other and enter "servers" in the input box in the popup dialog.

    Right click in the Servers panel and select New -> Server.


    Select Oracle OC4J Standalone Server 10.1.3.n and click Next.


    Enter the password you creates in step one and click Finish.


  4. Edit OC4J server properties
    Right click on the newly created OC4J server and select Open.


    Click on the link "Open launch configuration".


    You can also set Timeouts etc.

[ Comment  | Tags ]