Setting Preferences for the Embedded OC4J Server

The embedded OC4J server preferences control the interaction of the embedded OC4J server with JDeveloper and your computer system.

To set the preferences for the embedded OC4J server:

  1. Choose Tools | Embedded OC4J Server Preferences.
  2. In the dialog, choose the Global | Startup node to display its configuration panel.
  3. Configure the preferences as required. Click H elp for more information about this page.
  4. (Optional) Choose the Global | Shutdown node to set how you want the server to terminate when the user chooses Run | Terminate.

Users on VPN or DHCP

DHCP user should set localhost in JDeveloper and make localhost a proxy exception in their web browser. Users on VPN and users who connect and disconnect their laptops from the network several times a day need to ensure that their configuration is set as follows:

  1. In Tools | Preferences - Embedded OC4J, set Specify Host Name to localhost.
  2. In your web browser, go to the proxy settings and be sure that localhost is on the exception list

Note: You can also use 127.0.0.1 instead of localhost in both of the above steps.

With this configuration, in a single session of JDeveloper with the embedded OC4J running (without restarting it), you can connect or disconnect from the VPN, release and renew your DHCP address while still being able to run servlets, JSPs, and any other web component in the embedded OC4J server.

If your browser is not launched automatically when executing servlets or JSPs, specify the path to the web browser in T ools | Preferences - Web Browser/Proxy.


Related topics

Configuring Your Project to Use the Embedded OC4J Server
Starting the Embedded OC4J Process
Terminating the Embedded OC4J Process
Deploying to the Oracle Application Server or Standalone OC4J

 

Copyright © 1997, 2004, Oracle. All rights reserved.