Install Weblogic Server for SOA

Oracle Weblogic server is the best application server for deploying and running SOA application. Of course you can run ADF and other Oracle framework application. To install 11g server you need to have JDK, and a database on which SOA repository is maintained. In this post I will take you through the process of Oracle XE database, weblogic and SOA server installations. Weblogic server installation and SOA server installation are independent of database existence. But to create SOA domain you need database in place. Below picture shows the sequence in which you can prepare weblogic server for SOA Applications use.

Figure 1 Weblogic server preparation for SOA

This post is discussed for windows operating system. For other operating systems, the process is going to be little different.

  1. JDK Installation: Prerequisite JDK version for 11g server is JDK 1.7.X. Download and install JDK 1.7. I am not discussing JDK installation here as this is simple process. If you already have JDK installed on your machine use below command to find out the version. If the version is not 1.7.X please install it afresh.
  2. Weblogic Server Installation: Install JDK before to installing weblogic server.
    1. Download weblogic install from below location
      1. Browse below link http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-main-097127.html
      2. Accept the license agreement.
      3. Download “Oracle WebLogic Server 10.3.6” Generic install or copy and paste below URL in the same browser where you have accepted license agreement. http://download.oracle.com/otn/nt/middleware/11g/wls/1036/wls1036_generic.jar
    2. Start install by running the downloaded jar file. This will take some to launch the installer.
    3. Once the installer is launched, click Next on welcome page.


    4. Choose Middleware Home Directory. Make sure that the structure ends with Oracle\Middleware and click Next.


    5. If you want to register for security updates, you can provide your email address, otherwise, uncheck the check box and say Yes on the confirmation window and then click Next.


    6. Clicking Next on previous window opens up another prompt saying email address not specified (in case you choose not to register for security updates). Say Yes or No depending on your choice of registration for security updates.


    7. On choose “Install Type” page, select Typical. Click Next.
    8. On JDK selection page, browse for local JDK and select jdk folder. Click Next.

    9. You can accept the default values for product installation directories and click Next.
    10. Click Next on Summary page.

    11. Installation process begins. After successful installation, on confirmation page, uncheck “Run Quickstart” and click on Done.

    Now what you have is a bare Weblogic server. To run SOA Applications, you need a SOA server on top of weblogic server.

  3. SOA Server Installation:
    1. Download SOA Server
      1. Navigate to below download site. http://www.oracle.com/technetwork/middleware/soasuite/downloads/soasuite11gdownload-2210918.html
      2. Accept the license agreement.
      3. Download product installations Part1 and 2. Or browse below URLs in the same browser where you have accepted the license agreement.

        http://download.oracle.com/otn/nt/middleware/11g/111170/ofm_soa_generic_11.1.1.7.0_disk1_1of2.zip

        http://download.oracle.com/otn/nt/middleware/11g/111170/ofm_soa_generic_11.1.1.7.0_disk1_2of2.zip

    2. Unzip the above downloaded zips into separate folders. For example
      ofm_soa_generic_11.1.1.7.0_disk1_1of2.zip into ofm_soa_generic_11.1.1.7.0_disk1_1of2 ofm_soa_generic_11.1.1.7.0_disk1_2of2.zip into ofm_soa_generic_11.1.1.7.0_disk1_2of2
    3. Go into ofm_soa_generic_11.1.1.7.0_disk1_2of2 and copy disk4, disk5 and disk6 into folder ofm_soa_generic_11.1.1.7.0_disk1_2of2
    4. Navigate to folder ofm_soa_generic_11.1.1.7.0_disk1_1of2\Disk1\install\win64 and run setup.exe.


      Click Next on welcome screen.

      You can optionally select Skip Software Updates

      Click Next after successful prerequisite checks.

      Provide the installation location (Middleware home where weblogic server is installed)

      Click Next on Application Server page.

      Review installation summary and click Install.

      This will start the installation process.

      Click Finish button after installation completion.

      Now you have weblogic and SOA servers ready. To deploy and run SOA projects you need to create domain. But for domain creation you need repository created on a database. So let’s proceed with database installation and repository creation.

  4. Install Database: In this post I am considering Oracle XE database. Install Oracle XE databse, and run below sql scripts sequentially. Here I am not discussing the installation process as it is simple.
    1. Open SQL command prompt
    2. conn sys/manager as sysdba
    3. alter system set processes=1000 scope=spfile;
    4. alter system set sga_target=350M scope=spfile;
    5. alter system set sga_max_size=350M scope=spfile;
    6. shutdown
    7. startup


    You have Oracle XE ready for use.

  5. Repository Creation:
    1. Download Repository Creation Utility
      1. Navigate to below download site. http://www.oracle.com/technetwork/middleware/soasuite/downloads/soasuite11gdownload-2210918.html
      2. Accept the license agreement.
      3. Download by clicking on the download link against Repository Creation Utility or browse below URLs in the same browser where you have accepted the license agreement.

        http://download.oracle.com/otn/nt/middleware/11g/111170/ofm_rcu_win_11.1.1.7.0_32_disk1_1of1.zip

      4. Unzip the downloaded into ofm_rcu_win_11.1.1.7.0_32_disk1_1of1. Open the folder and go into rcuHome folder and then into BIN folder. Run rcu.bat file as administrator (right click on rcu.bat file and select run as administrator)

        Click Next on welcome screen.

        Select create repository option and click Next.

        Provide the installed database (XE in this case) details.
        Click Next

        Clicking Next on previous screen checks for prerequisites. Click Ok.

        In Select components window, select SOA and BPM. This will select some more dependant components. Click Next.

        Clicking Next on previous screen does some dependancy check. Click OK on the popup.

        On Schema Passwords page, Provide a password and remember this. Click Next.

        Click Next on Map Tablespaces page.

        Click OK on the confirmation page.


        Tablespaces are created and validated. Click OK on the confirmation page.

        Review the summary and click on Create button.

        This will start repository creation.

        After successful creation, click Close button on Summary page.

        After repository creation, execute below sql scripts.

        conn sys as sysdba

        Grant select on sys.dba_pending_transactions to dev_soainfra;

        Grant force any transaction to dev_soainfra;


        Please note that the schema name I have provided is dev_soainfra. This can vary depending on the prefix that you have provided in Select Components window in one of the above steps.

        SHUTDOWN and STARTUP the database.


        Now you have the repository created, the only step left is to create a domain, and then start deploying and running SOA projects.

  6. Configure Domain

    Select All Programs -> Oracle Weblogic -> Weblogic Server -> Tools -> Configuration Wizard.


    Domain creation wizard will be launched. Select Create a new weblogic domain and click Next.

    Select “Oracle SOA Suite for developers” and “Oracle Enterprise Manager”. This implies in selection of] addition dependent components. Click Next.

    Provide a domain name and click Next.

    Configure weblogic administrator user name and password.

    Configure Server Start Mode (Development or Production) and click Next.

    On JDBC component schema configuration page, select all the schemas and provide database server, host name and port number. Provide a password for all the selected schemas and make a note of it. Optionally separate passwords/configuration can be provided by selected individual shcemas.

    Click Next.

    A test on JDBC is run. After successful test, click Next.

    Click Next on Optional Configuration.

    Review summary and click on Create.

    This will start creation of Domain. After successful creation click Done.

    Now you have the setup complete. Start the weblogic server by navigating running startWebLogic.cmd file present at location “Middleware home directory” \user_projects\domains\soa_domain\bin\. This will open a command prompt where weblogic server is started. This process takes some time for the first time. Wait for the log statement “Server started in RUNNIN mode”. Once after you see this statement you can start using the server.

    Enterprise Manager : http//host:port/em (example : http://localhost:7001/em)

    Admin console : http://host:port/console (example : http://localhost:7001/console)

    Login with the weblogic administrator user name and password.

12 thoughts on “Install Weblogic Server for SOA

  1. Merrill

    Usually I do not learn article on blogs, but I wish to say that this write-up very compelled me to
    check out and do so! Your writing style has been amazed me.
    Thank you, quite nice post.

  2. Santiago Knisely

    Hello there! Do you use Twitter? I’d like to follow you if that would be okay. I’m definitely enjoying your blog and look forward to new posts.

  3. Brianna

    Simply wish to say your article is as amazing.

    The clearness to your put up is simply cool and i can assume you are knowledgeable on this subject.
    Well with your permission allow me to grab
    your RSS feed to keep updated with forthcoming post. Thanks a million and please keep up the gratifying
    work.

  4. Zoila

    Hmm is anyone else experiencing problems with
    the images on this blog loading? I’m trying to figure out
    if its a problem on my end or if it’s the blog. Any
    feed-back would be greatly appreciated.

  5. Jodie

    Helpful information. Lucky me I found your web site by
    accident, and I’m stunned why this accident
    did not came about earlier! I bookmarked it.

  6. minecraft

    Pretty nice post. I just stumbled upon your weblog and wanted to mention that I’ve truly
    enjoyed surfing around your blog posts. In any case
    I will be subscribing to your feed and I am hoping you write once more very soon!

Leave a Reply to Brianna Cancel reply

Your email address will not be published. Required fields are marked *