Search code examples
javaeclipseweblogic

How to use eclipse with weblogic server


I have been trying to solve this problem using this answer but it couldn't solve my problem.

What i did is this--

I installed weblogic server inside a folder on my desktop. Now i want to use this weblogic server with eclipse. Do i need to download additional adapters or do i need to do something else to configure weblogic with eclipse since i have already installed weblogic on my system.


Solution

  • It should just be a case of creating a new server in Eclipse and specifying the installation location.

    Before beginning, you should make sure that you have the "Java EE" flavour of Eclipse installed.

    1. Open up Eclipse.
    2. Go to the Servers view.
    3. Right-click in the Servers view and select New > Server.
    4. In the filter box type 'weblogic'. This should show one option (I forget the exact name of it. Something like weblogic adapter tools.
    5. Select this and complete the wizard. You'll be prompted to restart Eclipse once it completes.
    6. After Eclipse has restarted, repeat steps 2,3, and 4. Except this time, the you should get a selection of servers that you can create. You should be able to create BEA/Oracle weblogic servers at multiple versions.
    7. Select the one for the version that you have downloaded and click Next.
    8. Provide paths to WebLogic home and Java home and complete the wizard.

    enter image description here