Sunday, November 15, 2015

Restart Servers using Node Manager


> cd  $ORACLE_HOME/oracle_common/common/bin

> ./wlst.sh

> nmConnect('nodemanager','password','host','5557','domain','%DOMAIN_HOME%')

> nmStart('AdminServer')

> exit()

Thursday, November 12, 2015

Two-way SSL in OSB

Steps to Configure Two-way SSL in OSB
    a. Root certificate (.cert file ) and Client certificate (.pfx file) given by Server ( External to OSB)
    b. Import Root certificate (.cert) to Trust Keystore
    c. Configure Trust Keystore on OSB Managed Servers
    d. Import Client Certificate into Client Keystore
    e. Create new PKI Credential Mapping Provider by navigating below location
           Home >Summary of Security Realms >myrealm >Providers -> New
    d. Provide Client keystore details in PKI Provider
    e. Restart Managed and Admin Servers

Steps in OSB Proxy and Business Service
    a. Enable Client Authentication on Business Service    
    b. Create ServiceKeyProvider (.skp file) in Jdeveloper or Eclipse
    c. In Proxy service -> Security Configuration map newly created SKP
    d. Deploy code in OSB Servers

Expected errors
   1. CredentialNotFoundException
            It means missing SKP file on Proxy and Business service
   2. General SSLEngine error
           It means client certificate is not valid, re import valid certificate into Client Keystore
   3. Socket unavailable exception
            Remove Muxer class from Home->OSB Server-> Tuning -> Muxer class
         
 

Unable to create Topic subscriber due to JMSException

1.Create Topic
   
 

Issues in code migration from SOA 11g to SOA 12c


Issue 1:

Expected behaviour while migrating files with extension .componentType in 11g is merged with composite.xml

This doesn’t happen with few projects.

Resolution: Manually copy content of .componentType to composite.xml

Coloured content is part of .componentType file, should be copied to composite.xml

<component name="Check" version="1.1">
    <implementation.bpel src="Check.bpel"/>
     <!-- Paste here content of componentType file -->
    <property name="bpel.config.transaction" type="xs:string" many="false">requiresNew</property>
    <property name="bpel.config.oneWayDeliveryPolicy" type="xs:string" many="false">sync</property>
  </component>

 
Issue 2

Rename value of adapter from DB Adapter to db and JMS Adatper to jms in .jca files
 

<adapter-config name="DBAdapter" adapter="db" wsdlLocation="DBAdapter.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">

 

Sunday, November 1, 2015

Weblogic 12c - SocketChannel not available

Description:

Two way SSL Communication from Weblogic to External Systems. Weblogic as client invoking external services.

Assuming below steps are performed
 -> Root certificate from External Service imported into Trust Store
 -> Client Ceritificate (.pfx) from External Service imported into Client Store
 -> Client Store Configured Provider (Security realm -> Provider -> PKI)
 -> Service Key Provider configured on OSB Proxy Service


Error Message generated while testing Proxy service
    The invocation resulted in an error: SocketChannel not available

Resolution
   OSB_ManagedServer1 -> Tuning -> Muxer Class

The default value for Muxer class in Weblogic 12c  is “weblogic.socket.NIOSocketMuxer”
Reset to empty string.
 
Restart the Managed Servers.