Dependencies
* WebLgic Server 10.3.4
* Oracle SOA Suite 11.1.1.4.0
* See this post on how to install WebLogic and SOA Suite 11g.
Download
* Download OSB Release 11gR1 (11.1.1.4.0) Generic from OSB download site, e.g. ofm_osb_generic_11.1.1.4.0_disk1_1of1.zip
* Unzip
unzip ofm_osb_generic_11.1.1.4.0_disk1_1of1.zip
Install OSB
* Start installer
cd /opt/oracle/sw/osb11.1.1.4/Disk1 ./runInstaller -jreLoc /opt/oracle/jdk1.6.0_21
* Click Next on Welcome screen
* Select Skip Software Updates, click Next
* On Installation Location
– Oracle Middleware Home: /opt/oracle/Middleware/home_11gr1
– Oracle Home Directory: Oracle_OSB1
– Click Next
* Select Typical on Installation Type screen, click Next
* Click Next on Prerequisite Checks screen
* On Product Home Location screen
– Weblogic Server Location: /opt/oracle/Middleware/home_11gr1/wlserver_10.3
– OEPE Location: empty
– Click Next
– Click OK on OEPE warning
* Click Install on Installation Summary screen. Click Next when done
* Click Finish
Extending an SOA Domain to Support OSB
Enable Refresh Replica At Startup
* Login WebLogic Admin console
* Click on soa_domain on the upper left domain structure pane
* Click Security tab then Embedded LDAP sub tab
* Enable Refresh Replica At Startup
* Click Save button at the bottom
Extend SOA domain
* Start Configuration Wizard
cd /opt/oracle/Middleware/home_11gr1/Oracle_OSB1/common/bin ./config.sh
* Select Extend an existing WebLogic domain, click Next
* On Select a WebLogic Domain Directory screen, select soa_domain
* On Select Extension Source screen,
– Select: Oracle Service Bus – 11.1.1.4 [Oracle_OSB1]
– Select: Oracle Service Bus OWSM Extenstion – 11.1.1.4 [Oracle_OSB1]
– WebLogic Advanced Web Services for JAX-RPC Extension – 10.3.4.0 [wlserver_10.3] option is also automatically selected.
– Click Next
* On Configure JDBC Data Sources screen, select soademoDatabase which was created at SOA Suite install. Click Next.
* Test JDBC Data Sources, click Next when successful
* On Configure JDBC Component Schema, select the checkbox for OSB JMS Reporting Provider and enter
– Vendor: Oracle
– Driver: *Oracle’s Driver (Thin) for Service connections; Versions:9.0.1 and later
– Schema Owner: DEV_SOAINFRA
– Schema Password: welcome1
– DBMS/Service: orcl.world
– Host Name: localhost
– Port: 1521
– Click Next
* Click Next on success test of Test JDBC Component Schema screen
* Select None on Optional Configuration screen, click Next
* Click Extend on Configuration Summary screen
* Click Done when finished
Create boot.properties file
# create boot.properties file for osb_server1 cd /opt/oracle/Middleware/home_11gr1/user_projects/domains/soa_domain/servers mkdir osb_server1 cd osb_server1 mkdir security cd security vi boot.properties # insert content as shown below
* boot.properties file content:
username=weblogic password=welcome1
Start/Stop osb_server1 Instance
* Start osb_server1
cd /opt/oracle/Middleware/home_11gr1/user_projects/domains/soa_domain/bin nohup ./startManagedWebLogic.sh osb_server1 >> osb_server1.out 2>> osb_server1.err < /dev/null &
* Stop osb_server1
cd /opt/oracle/Middleware/home_11gr1/user_projects/domains/soa_domain/bin ./stopManagedWebLogic.sh osb_server1 >> osb_server1.out 2>> osb_server1.err < /dev/null &
* Aliases
soa_domain_bin_dir=/opt/oracle/Middleware/home_11gr1/user_projects/domains/soa_domain/bin alias startosb11g="nohup ${soa_domain_bin_dir}/startManagedWebLogic.sh osb_server1 >> ${soa_domain_bin_dir}/osb_server1.out 2>> ${soa_domain_bin_dir}/osb_server1.err < /dev/null &" alias stoposb11g="${soa_domain_bin_dir}/stopManagedWebLogic.sh osb_server1 >> ${soa_domain_bin_dir}/osb_server1.out 2>> ${soa_domain_bin_dir}/osb_server1.err < /dev/null &" alias tailosb11glog="tail -f ${soa_domain_bin_dir}/osb_server1.out"
Admin Console
* Since we extend SOA domain to support OSB, the OSB admin console is installed on the SOA domain admin consoel at
http://localhost:7001/sbconsole
References
* Installation Guide for Oracle Service Bus 11g Release 1 (11.1.1)