Configuring Oracle Enterprise Service and JDeveloper 10.1.3.1 on Windows – Create a JDeveloper connection to the ESB
Recenlty I installed both the Oracle SOA Suite 10.1.3 as well as JDeveloper 10.1.3.1 – the Design Time environment for the SOA Suite. Everything was set up locally on my laptop. Although the installation itself through the Oracle Universal Installer went very smoothly, I had a little trouble hooking up JDeveloper with the ESB. When I tried to create the ESB Connection in JDeveloper, it took a while before I had the correct settings. In this article I will show what in the end worked for me – it may be of some help to you.
Note: this article is also published on the Oracle Technology Network as part of a tutorial I developed on Event Driven Architecture with Oracle ESB. Therefore the following statement: "Originally published by Oracle Technology Network. Copyright 2006 Oracle, All Rights Reserved.".
Before we can connect from JDeveloper to the Enterprise Service Bus, in order to register new Services with it, we first need to have a Connection with the Application Server.
I have installed the SOA Suite 10.1.3.1 – out of the box. Creating the Application Server Connection now takes the following steps:
Go to the New Gallery and select the option Application Server Connection
Select the Connection Type as Oracle Application Server 10g 10.1.3. Also provide a name for the connection. Click Next.
Enter the username and password of the user you use to connect to the Application Server. For a local development environment that is likely just the administrator, oc4jadmin.
This screen is where you specify exactly which 10gAS instance you want to connect to. It was the step that gave me a few headaches, as I succeeded in trying out many values for the OPMN Port while failing to arrive at the correct one. The easiest way of finding the proper value is by checking the opmn.xml file in the directory <soasuite_10_1_3_1_HOME>\opmn\conf. In this file, look for the value for the port element’s request attribute.
Enter the correct values and click Next.
Click on the Test Connection and say a little prayer for the Success! status to appear.
Click on Finish. Go the New Gallery again. This time select the Integration Server Connection.
Type the name for the Connection and click on Next.
Select the correct Application Server Connection – the one we just created. Also specify the correct port number. (in my case it seemed that the file SOA_SUITE_HOME\install\esbsetupinfo.txt provided the correct information on the port).
Ideally you will get output like the following when you click on the Test Connection button:
- Configuring a (Oracle) datasource on Glassfish
- Oracle Enterprise Service Bus (ESB) – A First Impression (and it's not bad at all!)
- AMIS Query on Oracle Enterprise Service Bus, Oracle WebServices Manager, SOA & BPEL. …and not about JBoss
- AMIS Query on WebService Security and Administration using the Oracle WebServices Manager – and sneak preview of the Enterprise Service Bus
- How to start/stop OC4J-standalone as a Windows service