Friday, October 26, 2012

Installing Oracle Weblogic Server 11g (10.3.6)

In this post i will describe the installation of web logic server 11g (10.3.6)

1) Download the weblogic software 10.3.6 from oracle technology networks --> downloads.

2) Run the installation file wls1036_win32.exe. On the first screen click ‘Next’:

3) Select the option Create a new Middleware Home and specify the Directory where you wish to install weblogic 10.3.3 (I have already have middleware home in c drive with older version so selected d drive), Click Next


4) In the Register for Security Updates Step, Just deselect option, I wish to receive security updates and you will get warning message just ignore it and click yes and next.


  5) Select the Install Type as Typical and click Next


6) Verify the product installation directories once and click next


7) Choose the shortcut location and click next

 8) In the Installation summary click Next, it will start installation


9) You can see the progress of the installation


 10) Please check installation is successful and click done.

Installing Oracle Database 10g XE

In this post i will describe the step by step installation of oracle database 10g XE.

1) Run the setup.exe file to start the installation, Welcome screen appears click next.


2) Select the option i accept the terms in the license agreement.





 3) Choose the destination folder and click next.

4) Enter the Password for SYS/SYSTEM users and click next.

5)  Verify the installation summary and click install.





6) You can check the progress of installation.



7) Click finish,




Post Installation steps to configure the database to powerfully support the oracle SOA suite and oracle BPM suite.

1) open the command prompt and navigate to the directory.

    oraclexe\app\oracle\product\10.2.0\server\BIN and execute the below command to enter sql prompt.

sqlplus sys/welcome as sysdba
(provide the password for sys which was used while installation)



2) execute the command: show parameter sessions;

you can see the value of sessions is 49.


3) execute the command: alter system reset sessions scope=spfile sid='*';


4) execute the command: show parameter processes;
you can see the value of processes as 40.


5) execute the command: alter system set processes=300 scope=spfile;


6) Now restart the database.



7) Now check the sessions by executing the command: show parameter session;
 now the value of sessions are modified as 335


8) Now check the processes by executing the command: show parameter processes;
 now the value of processes is modified as 300





 






Installing Repository Creation Utility aka RCU to support SOA suite

In this post i will describe the installation of repository creation utility. The RCU creates all the needed schemas required by the SOA Suite.

1) download the RCU 11.1.1.6.0 installation here:
download the RCU from Oracle technology networks--> downloads.

2) extract the above downloaded software and inside rcuHome create a file called install_rcu.bat as below. we need to set the RCU_JDBC_TRIM_BLOCKS=TRUE to support Oracle XE database for Oracle SOA suite.


3) Click on install_rcu.bat to start the installation. welcome screen appears click next.

3) Choose ‘Create’ to create new schema and click next.


4) Make sure the DB is up and running (in my installation example, navigate to D:\oraclexe\app\oracle\product\10.2.0\server\BIN\StartDB.bat).
Enter the Database details and click next.

5) When runing the express XE Oracle DB you will receive the following Warning (click ‘Ignore’):





6) For Oracle SOA Suite 11g installation , choose the ‘SOA and BPM Infrastructure’. Verify that when choosing the SOA checkbox, the ‘Metadata Services’
checkbox under ‘AS Common Schemas’ is being choosen as well:


7) Enter the password for the new created schemas. You can choose to use the same password for all schemas or different password for each schema. click next


8) Leave the default parameters and click next.


9) Click OK.


10) Verify the database details and note down the Schema Owner details and click create

11) Verify all components were complete successfully:














Wednesday, October 24, 2012

Installation and configuration of SOA suite 11g (11.1.1.6)

Installing Oracle SOA Suite 11g requires:

Part1: Installing Oracle Database 10g or 11g XE
Part2: Creating schemas for Oracle SOA Suite in an Oracle Database nothing but installing Repository Creation Utility aka RCU.
Part3: Installing Oracle WebLogic Server.
Part4: Installing Oracle SOA Suite. (Part1 and Part2) 
Part5: Configuring a domain in Oracle WebLogic Server to support both Oracle SOA Suite and Oracle Enterprise Manager. Specifically, the domain contains an Administration Server and a Managed Server. The
Administration Server hosts Oracle Enterprise Manager Fusion Middleware Control for performing administrative tasks; the Managed Server is an instance of an Oracle WebLogic Server used to host deployed applications. 
Part6: Verify the Installation

So let's follow the above parts in order to start and complete the installation and configuration of Oracle SOA suite 11g.

Part1: Installing Oracle Database 10g or 11g XE
In this example i am taking Oracle 10g XE.
View in this post how to install Oracle Database 10g Express Edition:
http://majid-hussain.blogspot.in/2012/10/installing-oracle-database-10g-xe.html

Part2:  Installation of Repository Creation Utility aka RCU

View in this post how to install RCU:
http://majid-hussain.blogspot.in/2012/10/installing-repository-creation-utility.html

Part3: Installing Oracle Weblogic Server 11g (10.3.6)

View in this post how to install Weblogic Server:
http://majid-hussain.blogspot.in/2012/10/installing-oracle-weblogic-server-11g.html


Part4: Installing Oracle SOA Suite. (Part1 and Part2) 

Download the SOA Suite from here (All the above downloads can be found here):
http://www.oracle.com/technetwork/middleware/soasuite/downloads/index.html
(Be sure you are downloading 2 parts)


After downloading the 2 parts of SOA Suite installation (2 ZIP files):
1. Unpack Part 1 & Part 2 zip files (Disk1-5 folders)
2. Inside Disk1 create a file called install.bat as below:
3. after creating the install.bat, double click on it to start the installation.

4. Welcome screen appears, click next


5. Select skip software updates, click next.


6. Verify that all of the validations completed successfully and click next.


7. Choose the MW home directory(I have installed in D drive), and specify the Oracle Home Directory (you can leave the default – Oracle_SOA1) and click next.


8. Leave the default selected Weblogic server and click next.


 9. Verify that all installation details are correct and click Install:


10. Follow the installation Progress and verify it complete successfully.


11. During the installation you will be prompted to point on the location of ‘Disk4&5’ folders that were already unpack prior the installation). Browse the Disk 4 and Disk5 and click next


12. When finished click next. Save the installation details (include details like directories, URL’s, ports numbers etc..) and click Finish.


Part5: Configuring a domain in Oracle Weblogic Server for SOA suite.

In this part we will run the ‘Oracle Fusion Middleware Configuration Wizard’. The wizard will help us to create a WebLogic domain, that will contain an Administration server & Managed Server/s.


1. Start the wizard by running the file config.cmd (In my installation: D:\Oracle_11.1.1.6\Middleware\Oracle_SOA1\common\bin).

2. Choose ‘Create New Weblogic Domain’ and click Next:


3. Choose the required product that will be supported by the created domain.
In this example I choose ‘Oracle SOA Suite’, ‘Oracle BPM Suite’, ‘Oracle BAM’ & ‘Oracle Enterprize Manager’. Note that ‘Oracle WSM Policy Manager’ & ‘Oracle JRF’ were marked automatically as well.

Click next.

4. In the Domain Name and Location you can leave the default values (verify the MW home is correct) or change it, and click next:


5. Put the Administration User, password details and click Next:


6. Choose ‘Sun SDK’ for better performance,click Next.


7. Enter the JDBC details (like those entered when configured RCU) in the following order:
1. Check all Component Schema
2. Enter the schema password
3. Enter the Service name
4. Enter the Host Name
5. Enter Port number

for eg: select BAM schema and provide below details:

Schema Owner: DEV_ORABAM
DBMS/Service: XE
Hostname: localhost
Port:1521
Schema password: the password entered while installing DB

When finish click Next:

8. Verify the JDBC test connection completed successfully and click Next:


9. In the configuration settings, select Administration server, Managed servers, clusters and machines, Deployment and services.

In this example i will configure the admin server which hosts Oracle Enterprise Manager Fusion Middleware Control for performing administrative tasks; the Managed Server (soa_server1 and bam_server1) is an instance of an Oracle WebLogic Server used to host deployed applications. 

Click next.


10.  In the configuration of Administration server, specify the name as Admin server and port number 9001 (i have used 9001 because other ports are already in use), click next.


11. In the configuration of managed servers, change the listen port for soa_server1 to 9002 and bam_server1 port to 9003 and click next.



12. Assign the Admin server to Local machine and click next.


13. check the target deployments and services and click next.


14. In the configuration summary check the details and click create.



15. Make sure the installation finishes successfully. click done.



Part6: Verify the Installation

You can verify the installation by starting Admin and Managed servers.


1 Open a command window and go to D:\Oracle_11.1.16\Middleware\user_projects\domains\soa_domain\bin) and run the command: startWebLogic.cmd

2. make sure the server starts in Running mode...

3)  Open a command window and go to D:\Oracle_11.1.16\Middleware\user_projects\domains\soa_domain\bin) and run the command: startManagedWebLogic.cmd soa_server1


On the command window log you will be prompt to give the user name/password. Put the user/password you’ve provided while configuring the domain.

make sure the soa_server1 also starts in Running Mode.

4) Repeat the above steps to start bam_server1

5) Once all the servers are in running state access the consoles.

1. WebLogic: http://localhost:9001/console
2. Enterprise Manager: http://localhost:9002/em
3. BAM http://localhost:9003/OracleBAM