- Change Eclipse memory settings by updating the properties of eclipse.ini file -Xmx768m -Xms256m
- Make sure this configuration (-Dsun.lang.ClassLoader.allowArraySyntax=true) is there, if not add it and save the file.
- Make sure you have configured your Weblogic server in "Development" mode. If node done, please change the configuration.
- Start Eclipse
- Go to Window -> Preferences -> Server -> Installed Runtimes -> Add
- In the dialog "New Server Runtime", there is a link "Download additional server adapters". Click it, and Eclipse will search on the Internet for additional server adapters. When it's done, select “Oracle Web Logic Server Tools” (or more appropriate one, if you get one) and install it.
- Alternate to step 5, you can add http://download.oracle.com/otn_software/oepe/galileo as updated site in Eclipse and install the Eclipse pack from Oracle.
- Restart your Eclipse after installation.
- Open server view as Window ->Open View -> Others -> Server ->Servers
- Right click on the pane, and select new server
- In the next screen, select your JRE e.g. JRE 1.5 and Weblogic installation directory e.g. C:\bea\weblogic.
- Click next
- In next screen, provide the Weblogic domain directory e.g. C:\bea\weblogic\myprojects\domains\mydomain, provide the Weblogic port e.g. 7001 and user id/password for the Weblogic server.
- Click finish.
- Double click on the server; it will open server details in the editor. Make sure publish automatically check box is check. If not checked, check it, save and close it.
- At this point, you can see Weblogic server listed in server pane.
- You can right click the server and add/remove projects from your workspace to this server.
I hope this is helpful and reduces some of your frustration in switching between multiple windows.
NOTE: Please review license terms and conditions and proceed only when you agree them.