Wednesday 28 August 2013

Beginners Guide to setting up a Local Oracle SOA Environment Part 2



I spoke about some of the downloads from Oracle you’ll need to create your own local SOA Environment – So in this post I would like to give a little more detail on this and would essentially be an Install guide for you own VM or local machine.

Requirements:
- Windows 7 OS 64 Bit
- 8GB RAM as minimumHz machine
- 40 GB minimum to be safe
- CPU - I've used a Intel Core i3 2.4GHz to do the install

Below is a list of the downloads and their sizes:

·         OracleXE.exe  Size = 157 MB

·         ofm_rcu_win_11.1.1.7.0_32_disk1_1of1.zip Size = 324 MB

·         JDK6 and JRocket Size Combined Size= 181MB

·         wls1036_generic.jar Size = 1GB

·         ofm_osb_generic_11.1.1.7.0 Size= 1.11GB

·         ofm_soa_generic_11.1.1.7.0 zips Size = 2.8GB

So after you have successfully downloaded the software you can start with the Installation

Installation of Oracle JDK


·         Double click jdk-6u45-windows-x64.exe to launch installer

·         Change the JDK Installation directory to C:\Java\jdk*

·         You can accept the JRE destination folder and click “Next”

·         Click Finish to complete

·         It creates two files and the total amount of size is about 300MB

Installation of JRocket


·         Double Click jrockit-jdk1.6.0_45-R28.2.7-4.1.0-windows-x64.exe
·         Click “Next”
·         Change the default installation directory from “C:\Program Files\Java\jrockit-jdk1.6.0_24-R28.1.3-4.0.1” to C:\Java\ jrockit-jdk1.6.0_45-R28.2.7-4.1.0.
·         Check “Demos and Samples” and “Source code” and click “Next”.
·         Choose “Yes” to install JRockit as a public JRE and click “Next”.
·         Change the Public JRE installation directory from “C:\Program Files\Java\ jrockit-jdk1.6.0_45-R28.2.7-4.1.0” to “C:\Java\ jrockit-jdk1.6.0_45-R28.2.7-4.1.0” and click “Next”
·         Click “Done” to complete installation
·         Total Size is about 350MB

Oracle Database Installation


·         Click on the XE link Oracle.exe.
·         Click “Next”.
·         Choose “I accept the terms in this license agreement” and click “Next”
·         Leave the default install directory as “C:\oracle” and click “Next”
·         You will be prompted for the “SYSTEM” password for the Database - Enter an appropriate  password and ensure you remember it and click “Next”.
·         Click on “Install”. Click “Finish” to complete the installation.
·         Login to the XE console go to“Start - All Programs - Oracle Database 10g Express Edition - Go To Database Home Page”. Login using SYS and the password you specified.
·         In SQL command line enter the below. You can also Download SQL Developer and add the database in there.
It’s normally XE as the SID, localhost as Hostname and 1521 as the port

a.       alter system reset sessions scope=spfile sid='*';

b.      alter system set processes=200 scope=spfile;
·         Shutdown and then Restart the database

RCU

·         Extract ofm_rcu_win_11.1.1.7.0_32_disk1_1of1.zip to a Directory of your choice
·         In the extracted rcuHome navigate to the BIN folder and double click the rcu.bat to launch the utility – click “Next”
·         Leave the radio button on “create” and click “Next”
·         Enter your local database information:
 

·        You will get the following warning, but click “Ignore” twice then click “OK” to continue









·         Choose “SOA and BPM Infrastructure” and click “Next”. Ignore any warnings.
·         Enter. Keep the default option of “Use same password your password for all schemas”. Enter a password and click “Next”.
·         Click “Next” to continue. You will be given a warning about creating schemas that don’t already exist. Click “OK”.
·         The RCU will create the tables, click “OK” to continue
·         Click “Create” for the artifacts to be created within those schemas. Click “Close” to finish.

Weblogic Server





  • Copy wls1036_generic.jar to a directory on your machine like OacleSoftware or something
  • Open a command prompt (Start ->cmd) and navigate to the directory where you copied the JAR file
  • Type “java -D64 -jar wls1036_generic.jar” and enter to launch the Installer
  • Choose the option to “Create a new Middleware home” and set the “Middleware Home Directory” to “C:\Oracle\Middleware” and click “Next”
  • Uncheck the “I wish to receive Security updates via My Oracle Account”. You will be prompted to confirm if you are sure, click “Yes”. Click “Next” and you will further be prompted because you have not provided an email address. Click “Yes” to which you will be prompted again, click “Yes” and a “Connection failed” dialog should be displayed. Check the “I wish to remained uninformed …” and click “Continue”
  • Choose the “Typical Install” and click “Next”
  • Add both JDKs to Local JDK that you previously installed and click “Next”








    ·         Accept the defaults and click “Next”.
    ·         Choose “All Users” and click “Next”.
    ·         Click “Next” again to begin installation

    Oracle Service Bus



    · Create a directory like “C:\Eclipse” and copy oepe-helios-all-in-one-oepe-indigo-all-in-one-11.1.1.8.0.201110211138-win32-x86_64.zip to it. Then unzip the file there and then delete the zip file.
    · Unzip the file ofm_osb_generic_11.1.1.7.0_disk1_1of1.zip into an OSB directory
    · Open Disk1 and double click “setup.exe”.
    · You will be prompted to enter a JDK/JRE location again and press "Enter"
    · Click “Next”
    · Choose “Skip Software Updates” and click “Next”.
    · Ensure that the Oracle Middleware Home is “C:\Oracle\Middleware” and click“Next”

    · Leave the default installation as “Typical” and click “Next”.
    · The Installer will do some Prerequisite Checks, after which, “Next” will be available for clicking which you will click.





    ·         A new screen will ask you for a OEPE location. You can ignore it if you want but OEPE is essentially an IDE which is integrated into Eclipse to do OSB Development. You can also use the OSB Console to create Services on OSB but I prefer using OEPE to do my developer
    ·         Click “Next” then “Finish” to complete the installation.


    Oracle SOA


    ·         Unzip the download SOA Zips into a SOA directory into a directory like SOA or something
    ·         Open Disk1 and double click “setup.exe”
    ·         You will be prompted to enter a JDK/JRE location on a command window.  Give your JDK directory and “Enter”
    ·         Click “Next” on the Installation GUI.
    ·         Choose “Skip Software Updates” and click “Next”
    ·        The Installer will do some Prerequisite Checks, after which, “Next” will be available for clicking which you will click.


    ·         You will be presented with the following screen. Ensure that the Oracle Middleware Home is “C:\Oracle\Middleware” and click “Next”.

    


    ·         Select “Next” and then “Install” to begin the installation.
    ·         Once the Installation is successful, click “Next” then click “Finish” to complete the installation.


    After the above you should have the following:
    > XE database installed
    > RCU that created schemas
    > WebLogic
    > SOA
    > OSB
    > OEPE if you're using it

    My next post will be around creating a domain
    After this you'll be able to start your Managed Servers and your Admin Console
    After that you can pretty much start with the fun stuff


















    No comments:

    Post a Comment