Monday, November 1, 2010

How to add Weblogic server 8.1 in eclipse galileo


If you don't see the required version of weblogic in the server configuration wizard on eclipse galileo, don't panic. Just follow the below steps. It worked for me.
  1. Browse the eclipse configuration settings (C:\eclipse\eclipse.ini) 
    • update its memory settings to -Xmx768m -Xms256m  
    • Check for the allowArraySyntax. -Dsun.lang.ClassLoader.allowArraySyntax=true  Add the line if its not there
  2. Start Eclipse
  3. Make sure to have your Weblogic server configured in "Development" mode
  4. Go to Window -> Preferences -> Server -> Runtime Environments -> Add ->  
    • click on download additional server adapters hyperlink
    • select "Oracle Web Logic Server Tools" and install it
  5. As an alternative, you can add http://download.oracle.com/otn_software/oepe/galileo as updated site in Eclipse and install the Eclipse pack from Oracle.
  6.  Restart Eclipse
  7. Browse to the server configuration wizard, your WL8.1 adapter will be there now 
    • Window -> Show View -> Servers
    • Right click add -> server -> Oracle - choose the required WL version
  8. In the next screen, select your JRE and Weblogic installation directory ..\bea\weblogic
  9. Click next
  10. Provide the Weblogic domain directory ..\bea\weblogic\myproj\domains\myd, provide the Weblogic port e.g. 7001 and user id/password for the Weblogic server.
  11. Click finish.
  12. Double click on the server; it will open server details in the editor. Make sure to publish automatically check box is check. If not checked, check it, save and close it.
  13. You can notice the new configured Weblogic server in server pane.
  14. Select the server, rightclick and add/remove projects from your workspace to this server.

No comments:

Post a Comment