Sunday, 21 July 2013

Oracle Service Bus 11g - Domain Configuration for Windows

Here I am gonna discuss Domain Configuration for Oracle Service Bus 11g for windows PC.

As we have already installed Oracle Service Bus 11g (For Details visit http://osb11g.blogspot.in/2013/07/oracle-service-bus-11g-installation-for.html),
now we will be moving forward with Domain Configuration.

Step 1 : 

Locate the OSB Home directory Inside Middleware Home, and move to directory:  \Oracle\Middleware\OSB_Home\common\bin

Inside the Bin Directory, you will find config.cmd file. Open it either by Double clicking on or by using command Prompt.

Choose the Option "Create new WebLogic Domain" Then click next


Step 2 :

Choose Oracle service Bus , it will also select few other required products.
You can also select other products as per your requirement.


Click next

Step 3 :

Provide name of Domain and Location of Domain Directory.
Oracle Recommend a separate Domain Directory from Fusion Middleware installation Directory.


Click next

Step 4 :

Provide Username and Password for Domain administrator


Click next


Step 5 :

Choose your JDK version available. For production environment JRockit is reccomended.


Click next

Step 6 : 

Select the "OSB JMS Reporting Provider "
It will choose default derby evaluation Database included with Weblogic.


if you want your separate database, then you need to install any Oracle DB compatible database and create schemas using Repository Creation utility (RCU), and Provide those details here.
I will Discuss the steps for running RCU in separate Post.

Click next

Step 7 :

Configuration utility will verify Connection with Schema as provided in next screen and will show the status here.
Since we have chosen Derby Evaulation DB and it is not running now, So the test result will be Failed.
When we start the Admin server later it will automatically start the Derby DB.


Click next, it will show you an error Popup, click Ok to byepass the test.

Step 8 :

Now choose Adinistration Server and Managed server, in this screen.


Click next

Step 9 :

Give name to Admin server and Port no. (Please check the port is not assigned to any other service in your PC).


Click next

Step 10 :

Provide name and port no. for the Managed server here


Click next

Step 11 :

Since our installtion is on single physical machine, so we need not to configure cluster.
Leave default and click next




Step 12 :

Click on 'add machine'
Provide details of machine eg name and address.


Click next


Step 13 :

Assign servers to Machine by clicking arrow button available on centre column. This will be used by NodeManager to start and stop servers remotedly.


Click next


Step 14 :

Verify the summary details for this new Domain. Then click Create.


 This will start domain configuration.


Make note of admin server URL and click Done.





This will finish the Domain Configuration of OSB 11g.
Now in order to start development, we need to start the Admin and managed server, which we have created here.

The process of starting and stopping Admin and Managed server, I will discuss in my next Post.


Wednesday, 3 July 2013

Oracle Service Bus 11g - Installation for Windows 32 bit

Hi All,

Here I am discussing Installation of Oracle Service Bus 11g, in windows 32 bit machine.
First quesstion comes to mind is, What all do we need ?
Answer is pretty simple:

A windows 32 Bit PC with
1. 300 Mhz or Faster Processor(I'm sure , you have it)
2. 2 GB of RAM
3. 5 GB of Hard Disk Space
4. 500 MB or More SWAP and TEMP space.



In order to install, we need to download few packages :
1. Oracle WebLogic Server 11gR1 (10.3.6) + Coherence + OEPE - Package Installer
2. Oracle Service Bus
 from location  http://www.oracle.com/technetwork/middleware/service-bus/downloads/index.html


Download and Extract these files into a directory.



Now, First of all we need to install Weblogic server 11g.
Step 1: Now start the weblogic installer by double clicking on it. Since setup is large, keep patience, it will take some time to start.


After this screen a new screen will appear,


Click next, new screen will appear like,



 Here choose the Middleware Home Directory and Click Next


Deselect security update if installing for learning purposes, or provide oracle support password if you have purchased the oracle support..
 Then click Next

Choose Custom, and click next


Choose Server Example, if you are installing for learning purpose. Else leave the default values.
Then Click next

Leave Default for this Page.
Click Next

Review the Installation Directories, Make a note of these.
Click Next

Click on Yes, to install Node Manager. It will help in Remote start and Stop and health monitoring of Managed servers.


Choose the users here as per your requirement.
Click Next

Review the Installtion summary here.
Then click Next

Installation will begin, and you can see the progress in terms of percentage.


Deselect Run Quickstart. Then Click on Done.
Step 1 is Completed.
Now we have to install OSB 11g.

Step 2: 
Go to the Directory where you have Extracted the OSB setup.
 it will be something like - "ofm_osb_generic_11.1.1.7.0_disk1_1of1"
go inside Disk1 Directory. There you will find a setup.exe file
Copy the Path of setup.exe file.

Now open the command prompt. and move to directory of setup.exe


now write the command
"setup.exe -jreLoc E:\Oracle\Middleware\jdk160_29\jre"
press Enter.
Where "E:\Oracle\Middleware\jdk160_29\jre" is the path of JRE installed with the Weblogic, which we have done in step 1.



Now, setup will start. You will show a window like


 Click on Next



Click on 'skip software update'. If you have purchased the Oracle licences then provide username and password to search for update.

Click Next

Now browse The Middleware  Home directory, which was created in step 1, while installing Weblogic server.
Then Click Next

Choose Custom.
Click next



Select 'Oracle service bus IDE' to use the OEPE(Eclipse IDE for developement).
Select 'Oracle service bus example' if you are a new learner of OSB.

Click Next
 Setup will check some prerequisites here.
click Next

Browse the path for Weblogic server and OEPE, which we have installed in step 1.
 Then click next

Review the Summary of installation here. You can also save the response file here.
The response file are used for silent installation of product.
 Click Install

Now your Installation is started.You can see the progress here. Click Next

Click Next


Click on Finish.

The Installation of Oracle Service Bus is Finished.

In order to use the OSB, you will need to configure the OSB Domain.
I will describe the process of Domain configuration in my next Post "Oracle Service Bus 11g - Domain Configuration". You can find it here
http://osb11g.blogspot.in/2013/07/oracle-service-bus-11g-domain.html