Installing OSB ID/Eclipse for OSB Development


I came across this very useful post on the Oracle Middleware Blog and thought to copy it to this area as it might be useful for us all in case oracle moves the original post. Also I have updated several links and added more recent locations of some of the files.

Installing Eclipse for OSB Development

OSB provides 2 methods for OSB development, the OSB console, and Eclipse. This post deals with a typical development environment with OSB installed on a remote server and the developer requiring an IDE on their PC for development. As at 11.1.1.4 Eclipse is only IDE supported for OSB development. We are hoping OSB will support JDeveloper in the future.
To get the download for Eclipse use the download WebLogic Server with the Oracle Enterprise Pack for Eclipse, e.g. Oracle WebLogic Server 11gR1 (10.3.4) + Coherence + OEPE – Package Installer (wls1034_oepe111161_win32.exe).To ensure the Eclipse version is compatible with your OSB version I recommend using the Eclipse that comes with the supported WLS server, e.g. OSB 11.1.1.4 you would install WLS 10.3.4+oepe.

PS: This post was for Version 11.1.1.4 so please download the version relevant to your requirement and replace 11.1.1.4 to 11.1.1.X in the steps, I used 11.1.1.6

The 11.1.1.6 version is not available to download from the main Oracle Service Bus downloads page anymore so please use the following links for downloads

Oracle WebLogic Server 11gR1 (10.3.6) + Coherence – Package Installer]

http://download.oracle.com/otn/nt/middleware/11g/wls/1036/oepe-wls-indigo-installer-11.1.1.8.0.201110211138-10.3.6-win32.exe

And for the client side installation of OSB use http://download.oracle.com/otn/nt/middleware/11g/111160/ofm_osb_generic_11.1.1.6.0_disk1_1of1.zip

The install is a 2 step process, install the base Eclipse, then install the OSB plugins. In this example I’m using the 11.1.1.4 install for windows, your versions may differ.

  1. You need to download 2 programs, WebLogic Server with the oepe plugin for your OS, and the Oracle Service Bus which is generally generic. Place these files in a directory of your choice.
  2. Start the executable
  3. I create a new Oracle Home for this installation as it don’t want to impact on my JDeveloper install or any other Oracle products installed on my machine.
  4. Ignore the support / email notifications
  5. Choose a custom install as we only want to install the minimum for Eclipse. If you really want you can do a typical and install everything.
  6. Deselect all products then select the Oracle Enterprise Pack for Eclipse. This will select the minimum prerequisites required for install.
  7. As I’m only going to use this home for OSB Development I deselect the JRockit JVM.
  8. Accept the locations for the installs.
  9. If running on a Windows environment you will be asked to start a Node Manger service. This is optional. I have chosen to ignore.
  10. Select the user permissions you require, I have set to default.
  11. Do a last check to see if the values are correct and continue to install.
  12. The install should start.
  13. The install should complete successfully. I chose not to run the Quick Start.
  14. Extract the OSB download to a location of your choice and double click on the setup.exe. You may be asked to supply a correct java location. Point this to the java installed in your OS. I’m running Windows 7 so I used the 64bit version.

A lot of  people struggle with this step, So in order to help you I have also found an easier work around.
Open a command window and type the following instead of double clicking the setup.exe
setup -jreLoc C:\oracle\Middleware11117\jdk160_29
  1. Skip the software updates.
  2. Set the OSB home to the location of the WLS home installed above
  3. Choose a custom install as all we want to install is the OSB Eclipse Plugins.
  4. Select OSB IDE.
  5. For the rest of the install screens accept the defaults.
  6. Start the install
  7. There is no need to configure a WLS domain if you only intend to deploy to the remote server. If you need to do this there are other sites how to configure via the configuration wizard.
  8. Start Eclipse to make sure the OSB Plugin has been created. In the top right drop down you should see OSB as an option.
  9. Connecting to the remote server, select the Server Tab at the bottom
  10. Right-click in that frame and select Server.
  11. Chose the remote server version and the hostname
  12. Provide and name for your server if necessary, and accept the defaults
  13. Enter connection details for the remote server
  14. Click on the Remote server and it should validate stating its status.Now you ready to develop, Happy developing!

Other useful reference links :

OSB Installation Video 

Oracle Middleware Blog

OSB: Remote Server Connection Issue from OEPE

2 comments

  1. hi,

    I just wanted to know how you installed OSB version 11.1.1.6 with weblogic 10.3.4 , first of all these are incompatible. Can you please provide me the settings for that. And if you have faced the problem of incompatible how did you resolve it.

    Regards
    Tejas

  2. Hi Tejas, good spot… 🙂 however I did not install OSB version 11.1.1.6 with weblogic 10.3.4.

    When I did this post it was meant for the 11.1.1.4 release however since then I have been updating links for installing the later version which is why you see me referring to 11.1.1.6 but screenshots are still 10.3.4 as i haven’t updated them…

    Hope that clarifies your doubt. If you face any other issues let me know.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s