Thursday 14 December 2017

Oracle Enterprise Service Bus (Oracle ESB) Installation & Domain Creation


Oracle ESB is part of Oracle SOA Suite which is a framework to develop service based composite applications. Oracle SOA Suite is a Suite of different components like ESB, Oracle BPEL Process Manager, BAM (Business Activity Monitoring), Oracle B2B, Oracle Event Processing etc. Don't think to learn ESB you need to understand all components. Every component itself a big product on it's own. Good to have knowledge specially from developer perspectives but not really a prerequisite to learn ESB. It's comes as a separate installer as well.

If you know the Architecture of Fusion Middleware, then it's very easy for you to install and configure Oracle ESB. If you are not aware about Fusion Middleware Architecture, then read my this blog post "Fusion Middleware Architecture", it will hardly take 10 to 15 minutes to understand.

Oracle ESB is referred as OSB (Oracle Service Bus).

So, to install OSB, you must have to install SOA Suite, and to install SOA Suite you must have to install Database and Weblogic, and have to run rcu (repository creation utility) in database to create necessary schema's.

So, the steps to install OSB are as below - 

Process 1 - 

  • Install JDK
  • Install Oracle database
  • Install Weblogic Server 12C (Using fmw infrastructure installer)
  • Install SOA Suite 12c (It required a valid weblogic home also called Oracle Home)
  • Execute RCU database scripts (It's bundled with SOA 12c installer)
  • Create Weblogic domain by selecting Oracle Service Bus component 
  • Once created, start your server and access OSB console

 Process 2 - 

  • Install JDK
  • Install Oracle database
  • Install Weblogic Server 12C (Using fmw infrastructure Installer)
  • Install fmw Oracle Service Bus (Download OSB installer separately and it required a valid weblogic home or Oracle Home to install)
  • Execute RCU database scripts (It's bundled with installer)
  • Create Weblogic domain by selecting Oracle Service Bus component
  • Once created, start your server and access OSB console



I will explain according to process 1 however there is no difference apart from in process 2 you will execute only osb installer and in process 1 you will install complete SOA Suite which will install other suite components as explained above including OSB.

Now, till step SOA Suite installation, follow my this blog page - "Install SOA Suite 12C". During domain creation either you can select all components (like BAM, BPEL, B2B, OSB) or only the required one. In my this blog post I will select only OSB component during domain creation. 

To create Domain, Go to $ORACLE_HOME/oracle_common/common/bin and run configuration wizard (config.sh/cmd)


Select Create a new Domain and enter Name & Location


Now select OSB application components. Here you have to select only Oracle Service Bus, and it will select other related components automatically. Since picture is not clear so I am writing all components it will select - 

You have to select "Oracle Service Bus - 12.1.3.0 [osb]", and selecting this template automatically selects the following as dependencies:

1. WebLogic Advanced Web Services for JAX-RPC Extension - 12.1.3 [oracle_common]
2. Oracle Enterprise Manager - 12.1.3.0 [em]
3. Oracle WSM Policy Manager - 12.1.3.0 [oracle_common]
4. Oracle JRF - 12.1.3.0 [oracle_common]
5. WebLogic Coherence Cluster Extension - 12 1.3.0 [wlserver]

6. ODSI XQuery 2004 Components - 12.1.3.0 [oracle_common]


Select application location (select the default one)

 Enter admin user name and password
 Select development or production mode
Here you have to provide schema details you have configure when you ran RCU initially. 
First you have to provide database details with STB schems. click on "Get RCU Configuration" to see your configuration is correct and your STB schema able to fetch all other necessary schema details to configure domain.
It will display fetched schema details here (I have hided unnecessary schema details). You can update password if it's different for all.
 Next it will show you the results if it's able to connect with db using all schemas.
You can skip this one, just select next

I haven't configured anything here so didn't selected anything and just skipped with next. If you wanted to configure different Admin server name, wanted to configure default node manager configuration, add delete managed servers, clusters etc then you can click on respective component and you will get respective screen to configure. 
 On final screen click create
 Next status screen you will see like below and once done click on finish.


Once domain created, Go to your domain/bin directory, start adim server (by startWeblogic.sh/cmd), then osb_server1 managed server (by - startManagedWeblogic.sh/cmd) abd access osb console as below.

Start AdminServer 
./startWeblogic.sh/cmd

Start Managed Server 
./startManagedWeblogic.sh/cmd osb_server1 t3://localhost:7001

Access osb console 
http://localhost:7001/servicebus

4 comments:

  1. Thanks for sharing this information!
    I totally agree with you. Your information is very interesting and important. I really like this information.Our easy web plans company is famous in Advanced Oracle SOA Admin Online Training.
    If you want to see our training venue then click on links:
    http://lucidtechsystems.com/oracle-soa-admin-online-training/
    Call Now: +91-965-292-6376

    ReplyDelete
  2. Thanks a lot for sharing a valuable blog on Oracle SOA Training. I was browsing through the internet looking for Oracle SOA Training and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject, you can find more information about Oracle SOA by attending Oracle SOA Training. You can learn about interview questions by visiting fusion Interview Questions

    ReplyDelete

  3. Thanks for the nice blog here.I was searching this one for a long time.This blog is very helpful for my studies..I got another one site also,which is same as yours Oracle OSB.Check this one also Oracle Fusion HCM Sure it will be helpful for you too..Once more iam thanking you for your creative blog.

    ReplyDelete