Posts

Showing posts from June, 2019

Weblogic Server 12c SSL Errors

Image
This post is focused on miscellaneous errors that encountered during SOA web services invocation/ Other SSL business requirements. Error 1 Server chose TLSv1, but that protocol version is not enabled or not supported by the client. Error Code oracle.fabric.common.FabricException: oracle.fabric.common.FabricException: Error in getting XML input stream: https://host:port/commercial/services/WebService?wsdl: Server chose TLSv1, but that protocol version is not enabled or not supported by the client.: Error in getting XML input stream:  https://host:port/commercial/services/WebService?wsdl:   Server chose TLSv1, but that protocol version is not enabled or not supported by the client. ERROR- Server chose TLSv1, but that protocol version is not enabled or not supported by the client . Reason There was an Oracle SOA Composite project that invokes an external SOAP web service which uses SSL TLSv1 and the client machine was having different version of t...

Oracle Weblogic Server importing SSL keys

Image
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/ora...

Gitlab loads nginx default page instead of the gitlab login page

Image
        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 122.163.159.113 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: (p...

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

Image
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 ...

Oracle SOA Suite 12c- IgnoreMissingFromData

Image
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 s...

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

Image
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- ERROR XML 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 a...