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.
- 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
- Start Eclipse
- Make sure to have your Weblogic server configured in "Development" mode
- Go to Window -> Preferences -> Server -> Runtime Environments -> Add ->
- click on download additional server adapters hyperlink
- select "Oracle Web Logic Server Tools" and install it
- 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.
- Restart Eclipse
- 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
- In the next screen, select your JRE and Weblogic installation directory ..\bea\weblogic
- Click next
- 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.
- Click finish.
- 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.
- You can notice the new configured Weblogic server in server pane.
- Select the server, rightclick and add/remove projects from your workspace to this server.
No comments:
Post a Comment