Eclipse server configuration for OC4J
February 10, 2010 20:53:27
Step by step procedure to setup OC4J server for Eclipse. Version used is Galileo for Java EE Developers.
- 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
- 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.
- 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.
- 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.