Latest Post

Oracle Weblogic Server importing SSL keys

In this post I'll share about commands that can be used to check/list/delete SSL certificates on your Weblogic Server.

List All SSL Keys
[ Syntax- keytool -list -keystore <PATH_CERTS> ]

For JRE Location
[root@eissdev01 oracle]# keytool -list -keystore /usr/java/jdk1.8.0_181-amd64/jre/lib/security/cacerts

For ORACLE_HOME> cacerts Location [root@eissdev01 oracle]# keytool -list -keystore /u01/oracle/products/OIG_HOME/wlserver/server/lib/cacerts
For ORACLE_HOME >> DemoTrust.jks Location [root@eissdev01 oracle]# keytool -list -keystore  /u01/oracle/products/OIG_HOME/wlserver/server/lib/DemoTrust.jks
Importing SSL Keys [ Syntax- keytool -import -alias <ALIAS_NAME> -keystore <CACERTS_PATH> -file <*.CER CERTIFICATE_PATH> ] [root@eissdev01 oracle]# keytool -import -alias mpowerGEOTRUST -keystore /usr/java/jdk1.8.0_181-amd64/jre/lib/security/cacerts -file /home/oracle/Desktop/sslKeys/geotrust.cer
Deleting SSL Keys [ Syntax- keytool -delete -alias <ALIAS_NAME> -keys…

Gitlab loads nginx default page instead of the gitlab login page

Problem Statement- Recently my gitlab instance stopped showing me the landing page instead showing the default Nginx landing page as shown below
So this way I am stuck to see my gitlab instance login page.

Checking gitlab status

Last login: Thu Jun 20 14:48:55 2019 from root@ubuntu:~# gitlab-ctl status run: alertmanager: (pid 4358) 5106s; run: log: (pid 3364) 5167s run: gitaly: (pid 4379) 5105s; run: log: (pid 3378) 5167s run: gitlab-monitor: (pid 4404) 5105s; run: log: (pid 3371) 5167s run: gitlab-workhorse: (pid 4412) 5105s; run: log: (pid 3367) 5167s run: logrotate: (pid 12716) 1504s; run: log: (pid 3377) 5167s run: nginx: (pid 4453) 5104s; run: log: (pid 3366) 5167s run: node-exporter: (pid 4465) 5103s; run: log: (pid 3369) 5167s run: postgres-exporter: (pid 4472) 5103s; run: log: (pid 3370) 5167s run: postgresql: (pid 4559) 5102s; run: log: (pid 3402) 5167s run: prometheus: (pid 4564) 5102s; run: log: (pid 3386) 5167s run: redis: (pid 4590) 5102s; run: log: (pid 3368) 5167s run: …

Oracle SOA Suite 12c human task URI configuration for task form

This post is focused on human task form non-availability in worklist application. Problem Statement A new approval application (SOA composite) has been developed that uses human task activity. The composite has been deployed on soa server. Testing of composite is initiated through enterprise manager. Request successfully processed for asynchronous service call. Now the the assignee user logins to worklist application and clicks on task item.Ideally the task form should be opened in below panel but it shows a blank page. 
Solution Actually the human task URI is missing for respective human task so we need to add the same in composite through enterprise manager. Step1- Open the composite and go to dashboard. Step2- Click on respective human task

Step 3- Go to human task Administration tab and enter the details as followed below.

Step 4- Click on Apply button.
Step 5- Check the task form in worklist application now, it should be visible. If doesn't then simply restart the composite and creat…

Oracle SOA Suite 12c- IgnoreMissingFromData

This post is focused on the magical attribute of oracle BPEL process manager i.e. IgnoreMissingFromData. Let me explain the business scenario-

I have created a SOA service using a BPEL process and I am using an invoke activity inside BPEL process. However, I have a scenario where I have to map input schema (xsd) elements to external web service payload variable using assign activity but the problem is that sometimes my input schema elements are empty i.e. if input schema element contains 5 variables then sometimes 3 or 2 or 1 element is empty. 
This is causing runtime error in BPEL "Selection Failure". To solve this error, either I do transformation using XSL or if-else/switch in my BPEL process. Basically I would like to pass only available elements in input payload. So there is a magical attribute IgnoreMissingFromData  that comes with assign activity. Once the variables assignment has been done, below steps can be used to apply this-

What this does actually? This attribute si…

Oracle SOA Suite 12c Invoking External WebService Error- Invalid Reference

Recently I had been working on some integration project where I need to invoke an external web service. Some strange thing happened with respect to SOA adapter configuration. Below are the steps-, 
Add a SOAP adapter [BPEL1.1]  and configure the web service WSDL url.Add a BPEL component (in my case expose as a service)Do wiring of a BPEL process with SOAP adapter.Open the BPEL component and add invoke activity.Drag invoke activity to SOAP web service and DO configure it by selecting the operation and creating input/output variables.Do variables assignment.Build the project.Ohhh snap... Build failed with below error messages-


Cause- The external Web Service WSDL (Which I am trying to invoke from BPEL) contains both import and element entries as part of different schema entries then the composite.xml is throwing 'Invalid reference' and 'message part undefined' errors as shown in the above thread. In addition upon WSDL observation, it clearly shows that PHXServletE…

Oracle SOA Suite 12c deployment failing due to Proxy Settings

Recently I have come across a situation where production environment is in intranet zone and I have to expose the services over proxy. 

For messaging purpose I have used SMPP driver settings targeted to managed servers. Later, I did not require SMPP settings as SMPP protocol was not allowed in intranet zone rather HTTP was allowed. So I have done the implementation of messaging via HTTP based web service and used it in our composite. 
Further when I tried to deploy my soa composite, it was causing below error under server-diagnosis.log-

[2019-05-23T18:15:54.758+05:30] [soa_server1] [ERROR] [SDP-26153] [oracle.sdp.internal.messaging.driver.smpp.NetworkConnection] [tid: UMS SMPPSender [smpp/UPPCL SMS]] [userId: <anonymous>] [ecid: 9400dcdc-0039-49d3-a28a-c60cc19373a2-0000000b,0:270:3] [APP: usermessagingdriver-smpp] [partition-name: DOMAIN] [tenant-name: GLOBAL] Failed to connect to server, host:  port: 5,775 (local address: localhost/, local port: 0)[…

Oracle SOA Suite 12c Deployment failed- JCA deployment validation errors for 'Adapters/dbadapter_db.jca'

Recently I have come across a strange situation for deployment of a SOA composite 12c (having DbAdapter) in production environment. Below is summary of issue and solution-

Error:  Deployment of a SOA composite is failing with "Error while validating JCA Reference Binding meta data during composite deployment. : JCA deployment validation errors for 'Adapters/dbadapter_db.jca'
Environment Details 1. SOA Suite: Oracle SOA Suite 12c( 2. Operating System: Oracle Linux 7 3. Database: Oracle Database 12cR2 (
Error Log- soa_server1-diagnostic.log 2019-05-23T17:20:15.480+05:30] [soa_server1] [ERROR] [] [oracle.integration.platform.blocks.deploy] [tid: [ACTIVE].ExecuteThread: '57' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: d2fb4bbc-5b4e-4d2d-a19a-a19ac0d8be37-00001b17,0:7:2] [APP: soa-infra] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: 0000Mf^XjTr56i05nzp2iZ1StcZn000001] Exception caught, remove composite data:…

Accessing remote linux machine from MacOS with key

There is a scenario where I have to access a remote linux machine via MacOS. Login mechanism is allowed though key and not a password. I have provided a PPK file which I can use for authentication purpose.
PPK File Not Supported by MacOS The PPK file is not directly supported by MacOS terminal, rather we need a PEM(.pem) file for authentication. So first we need to convert this *.ppk file to *.pem file then after the same will be used for authentication purpose.
We need to install PuTTYgen (windows) first. Normally it comes with installer of PuTTY but if not installed, check this link-PuTTYgen
Converting  a .ppk file to a .pem file Start PuTTYgen. Under Actions, choose Load, and then navigate to your .ppk file.Choose the .ppk file, and then choose Open.Clear the Key passphrase and a Confirm passphrase fields.Note: The passphrase is used to encrypt the key and is an extra layer of protection. If your private key is discovered, it can't be used, because the passphrase is required to log …