Showing posts with label Fusion Middleware. Show all posts
Showing posts with label Fusion Middleware. Show all posts

Wednesday, 11 March 2015

Fusion Applications Vs Fusion Middleware

There is a lot of confusion in people regarding Fusion Applications and Fusion Middleware.
Suddenly ORACLE FUSION has become the buzz word. Everyone is talking about it and many wants to get trained or aquire this niche skill.

Oracle has invested billions of dollar in the research and development of Fusion Applications.
Fusion Applications is next generation ERP. It is going to replace EBS R12. As far as I am aware, there won't be any new development or new release of Oracle EBS. There is a phase shift happening towards Fusion Applications. Most of the customers are already using it on SAAS (Software As A Service) environment. Oracle has recently launced the latest version of FA (Fusion Applicattions) for on-premise customers as well.

Following products are offered in Fusion Applications:
1) Oracle Fusion Customer Relationship Management
2) Oracle Fusion Financials
3) Oracle Fusion Governance
4) Oracle Fusion Human Capital Management
5) Oracle Fusion Procurement
6) Oracle Fusion Project Portfolio Management
7) Oracle Fusion Supply Chain Management
8) Oracle Fusion Setup

Fusion Applications is build on top of Fusion Middleware Stack.
It is based on Service-Oriented Architecture (SOA) and includes Application Development Framework (ADF), WebCenter, Business Intelligence (BI), Content Management (UCM/ECM) and Identity Management (IdM).

Fusion Middleware consist of an Application Server (Weblogic) and other technology stack like SOA, BI, Identity Managagement, Content Management. It is a Middleware like Tibco, which is used to integrate applications. With OFM (Oracle Fusion Middleware), we can develop, model business processes, integrate them with various business partners using out of the box plugins or adapters.

Fusion Applications are organized as Pillars where Pillar is standalone subset of Oracle Fusion Applications. In terms of OFMW, these pillars can be related to Domain.

Each Product of FA, is deployed as a Domain. A domain contains multiple J2EE applications related to that product. For example if we consider, Human Capital Managment, it will have all the applications like HCM Absence Administration, HCM Workforce management etc deployed in the HCM domain and targeted on different managed servers of the domain which will be serving the request.

Each product family is based on a common Oracle Fusion Applications data model and services. Product families contain one or more Java EE applications that are specific to Oracle Fusion Applications and deployed to Oracle WebLogic Server.

Tuesday, 15 May 2012

How to UNDEPLOY SOA Composite when soa-infra is down


How to Un-Deploy a SOA composite when soa-infra is down in Oracle Fusion Middleware 11g:
We deployed a BPEL component on our SOA managed server which lead to server crash. Even after trying to restart the server, the soa servers did not came up.
We were in a situation in which we were :
  • Unable to un-deploy the component which led to server crash
  •  Unable to start the servers.
In such a situation, we need to delete the BPEL component from the file system of the server(from the physical location)
SOA Managed servers have crashed. 

To recover from the issue, please start up the Admin Server of the domain and execute the below steps:

  • Copy the attached ShareSoaInfraPartition.ear(mail to amitja07@gmail.com for the attachement) file to the below location of the server.


$ cd MW_HOME/oracle_common/common/bin


Now give the below command:

$ ./wlst.sh
  • Once the wlst is initiated enter the below command:
    • connect()
    • After entering the above command, you would be prompted to enter your username, password and url. Please provide the details in the below format


  • After entering the above credentials, wlst would connect to the admin server of the domain.
  • Now run the below command to deploy the ShareSoaInfraPartition.ear
    • deploy('ShareSoaInfraPartition','ShareSoaInfraPartition.ear',upload='true')

  • After the deployment is done, run the below command
    • exportMetadata(application='ShareSoaInfraPartition',server='AdminServer',toLocation='/dbdump/OraSOAS/Oracle/ServerDeployedComposites',docs='/deployed-composites/deployed-composites.xml')
  where server='AdminServer' is the name of the admin server
  toLocation='/dbdump/OraSOAS/Oracle/ServerDeployedComposites' is a location on your physical server at which the deployed-composites.xml file would get created



  • Running the above command would create a folder named deployed-composites at the toLocation (which was given in the command). This folder would contain deployed-composites.xml



  • Open the deployed-composite.xml file and delete the entry  of the composite  which needs to be deleted .
  • After deleting  the entry, run the below command:
    • importMetadata(application='ShareSoaInfraPartition',server='AdminServer',fromLocation='/dbdump/OraSOAS/Oracle/ServerDeployedComposites',docs='/deployed-composites/deployed-composites.xml')
  •    After running the above command, please restart the servers (both Admin and Managed Servers)
  •   The component would be deleted from the servers.

Reference : 1380835.1 from the Oracle Support Portal

Tuesday, 17 April 2012

How to Enable 1 way-SSL in Weblogic Server


Steps for configuring Inbound SSL in FMW

Scenario:
We have a Development Environment which has One Admin Server and three managed Server.
Admin Server runs on port 7001.
Managed Server1 (soa_server1) listens on port 8001
Managed Server2 (osb_server1) listens on port 8011
Managed Server3 (bam_server1) listens on port 9001

We need to configure osb_server1 to listen on ssl port 8012 using Custom Certificate to secure our webservices.
This certificate will be sent to business providers who will import it in their trusted Keystore.
Only the business partners who have this certificate imported in their trust store should be successfully able to invoke the webservice else they should get SSLHandshakeException

Steps Followed to generate a web service certificate:
1. CREATING A PRIVATE KEY IN KEY STORE:
<JAVA_HOME>\bin\keytool.exe -keystore <Path to a (new) key store> -storepass <(New) key store
password> -genkey -alias <Arbitrary Name> -keyalg RSA -dname <DN of certificate>

Concrete Example:
$ keytool -keystore  “/Oracle/Middleware/wlserver_10.3/server/lib/server_keystore.jks" -storepass "weblogic1" -genkey -alias "webservice_nexus" -keyalg RSA –dname "CN=fus@isdev,OU=webServices,OU=pkiObjects,DC=Nexus,DC=com"

2. CREATING A CERTIFICATE SIGNING REQUEST (CSR):
<JAVA_HOME>\bin\keytool.exe -keystore <Path to the key store> -storepass <Key store password>
-certreq -alias <Alias name from private key> -keypass <Password of private key> -file <Path
to CSR file to be created>

Concrete Example:
$ keytool  –keystore  "/Oracle/Middleware/wlserver_10.3/server/lib/server_keystore.jks " -storepass "weblogic1" -certreq -alias "webservice_nexus" -keypass "weblogic1" -file "/Oracle/Middleware/wlserver_10.3/server/lib /webService.csr"

3. GENERATING A CERTIFICATE:   
Submit the CSR file created in the last step to any of the trusted Certificate Authority.certificate authority will use a CSR to create your SSL certificate, but it does not need your private key. You need to keep your private key secret.
Download the certificate on the local hard drive.

4. INSTALLING WEB SERVICE CERTIFICATE IN KEY STORE:
<JAVA_HOME>\bin\keytool.exe -keystore <Path to the key store> -storepass <Key store password>
-import -alias <Alias name from private key> -keypass <Password of private key> -file <Path to
CER file containing the WSC>

Concrete Example:
$ keytool -keystore "/Oracle/Middleware/wlserver_10.3/server/lib/server_keystore.jks" -storepass "weblogic1" -import -alias "webservice_nexus" -keypass "weblogic1" -file "/Oracle/Middleware/wlserver_10.3/server/lib/Certificates/webservice_nexus.cer"

After Adding the certificate in the keystore, you can list the certificate by giving the following command:

5. LISTING THE CERTIFICATE:
<JAVA_HOME>\bin\keytool.exe –v –list -keystore <Path to the key store> -storepass <Key store password>

Concrete Example:
$ keytool –v –list –keystore server_keystore.jks 


After successful creating and adding the certificate in the keystore, we need to configure the server to use the custom keystore which we created.

  •          Login to the admin Console.
  •          Enter admin usename and password
  •          In the Home Page, go to Servers  --> osb_server1
  •          Go to keystores in the Configuration tab
o   Change the keystore to Custom Identity and Standard Java Trust
o   Enter the following details for Identity Keystore:
§  Custom Identity Keystore : /Oracle/Middleware/wlserver_10.3/server/lib/server_keystore.jks
§  Custom Identity Keystore Type: JKS
§  Custom Identity Keystore Passphrase: <password for keystore>
§  Confirm Custom Identity Keystore Passphrase: <password for keystore>
o   Save all the configurations.

  •         Now go to SSL in Configuration Tab
o   Enter the details for Private Key Alias : webservice_nexus
o   Enter the passphrase : <password for private key>
o   Go to advance, In hostname verificate make it NONE(if not already so).
o   Save all the changes made.

  •          Now go to General in Configuration Tab.
  •         Check the SSL Listen Port Enabled box
  •          SSL Listen Port should be 8012, if not enter it.
  •          Save all the changes.
  •          Finally restart the osb_server1.