Posts

WSO2 APIM 3.0.0- endpoint connection timeout solution

Image
Hello everyone, in this post I'll share some of the important configurations of WSO2 API Manager for backend API connection.  Problem Recently I faced a strange issue of connection timeout of my backend API endpoint i.e. due to performance issue of my backend API, WSO2 API manager failed to get a response from my backend API and faulted with 'Connection Timeout' error. Below is the response that my API manager sent when such an issue arises- Http Code: 500 Response:  <am:fault xmlns:am=\"http://wso2.org/apimanager\">                   <am:code> 101504 </am:code>      <am:type>Status report</am:type>      <am:message>Runtime Error</am:message>      <am:description> Send timeout </am:description> </am:fault> Cause Backend API did not respond within the stipulated time frame due to the performance is...

Oracle SOA Suite 12c - Export a composite from Enterprise Manager

Image
Hello everyone, in this blog tutorial we'll see how to export an existing SOA composite from enterprise manager and then after will import the same in JDeveloper.  The scenario is, the composite has been accidentally deleted from developer machine post-deployment on SOA Server. So let's see the steps we can use to recover/ get a composite from enterprise manager. Step1- Login to enterprise manager as http://host:port/em and navigate to SOA folder from left navigation menu & Click on anyone soa server... say soa_server1 or soa_server2 as shown below- Step2- Click on 'Deployed Composites' tab as shown below-  Step3- Locate the composite (even specific version you want) and click on the same as shown below- Step4- Go to the top section of the composite and expand the menu. The 'Export' option is visible than after as shown below- Step5- Click on the 'Export' option and select the appropriate options for downloading the composite. And finally, click on t...

Oracle Cloud Infrastructure- Create VCN + Compute Ubuntu Linux 18.04

Image
In this post, I'll demonstrate how to create a new VCN (Virtual Cloud Network) with Internet Gateway+ NAT Gateway + Service Gateway followed by the creation of a new compute instance with Ubuntu 18.04. Environment In order to create a new compute instance in oracle cloud, there are few prerequisites- A valid OCI account A virtual Cloud network Optional SSH keys in case you want your own keys to be used Below is the network diagram of the virtual cloud network with the schematic wizard provided by OCI for quick setup of a VCN- Steps to achieve So, let's login to your OCI console and navigate to Networking >> Overview from the left navigation panel. From the right-side panel, click on start VCN wizard as shown below- This will open a web form to provide basic details like- VCN name and rest of the things are provided as default as shown below- Further, click on next and the Create. Once created, the VCN details look as shown below. So, this way our VCN is ready. We should n...

Oracle Cloud Infrastructure- Changing root partition of Oracle Linux instance 7.8

Image
In this post, I'll describe a problem in OCI with respect to storage extension and possible solution with stepwise implementation process. Scenario I have provisioned a new compute instance with a default setting including the boot volume size of OCI i.e.  46.6 GB. The partition available to root ( / ) became ~39 GB post OS installation.  Requirement A requirement came where I need at least 100GB in my root ( / ) so the installation of that necessary production should go under respective directories viz. /opt or /u01 etc.  Approach I have figured out two approaches- Increase the boot volume size to a higher value and use Linux growpart to increase the size for root ( / ). Attach a new block volume with required capacity and mount it to required location viz   /opt or /u01 etc.  Solution This article considers the first approach. For the second approach, check out my this post  w...

Oracle Cloud Infrastructure- Adding a block volume and use it for swap

Image
Hello everyone, this is my first blog on Oracle Cloud Infrastructure. Requirement To increase Swap of existing compute instance with a new block volume in OCI. Prerequisite A valid OCI account with available credits Steps to Achieve 1. Create a new block volume 550GB 2. Attach the block volume to the instance 3. Execute iscsi commands and verify the disk attachment provided by OCI ls -l /dev/orcleoci/ 4. Do partitioning of the disk to 120GB for swap      Making the swap partition of required space 120GB fdisk <NEWLY_ADDED_DISK>      Command (m for help): n      Partition number (1-4): 2      Command (m for help): t      Hex code (type L to list codes): 82      Command (m for help): w      ls -l /dev/orcleoci/ 5. Executing necessary commands to check the space and mount the new swap- Check disks      lsblk Make Swap      mkswap -L sasswap2 /de...

Oracle SOA 12c- Unable to invoke endpoint URI "REPLACE_BY_ACTUAL_URL"

Image
Problem While Creating Roles in OIM, Roles were not getting created. While Tracking Request, it was showing “Request Failed”. Environment Oracle SOA Suite 12c used in conjunction with Oracle IDAM 12c Oracle Linux 7.x Cause IAM-2050126 : Invalid outcome com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}remoteFault} messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage} parts: {{ summary=<summary>oracle.fabric.common.FabricInvocationException: Unable to invoke endpoint URI "REPLACE_BY_ACTUAL_URL" successfully due to: java.lang.IllegalArgumentException: Transport can not be determined from uri REPLACE_BY_ACTUAL_URL</summary> ,code=<code>null</code> ,detail=<detail>Unable to invoke endpoint URI "REPLACE_BY_ACTUAL_URL" successfully due to: java.lang.IllegalArgumentException: Transport can not be determined from uri REPLACE_BY_ACTUAL_URL </detail>} received from SOA for the req...

MySQL Service start error on Ubuntu 16.04 VM- IP bind issue

Image
Problem Recently, my MySQL server 5.7.x wasn't starting rather it throws following error message Job for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details.   MySQL Error Log-   /var/log/mysql/error.log 2020-07-20T14:34:56.131825Z 0 [Note] Server hostname (bind-address): '10.0.0.104'; port: 3306 2020-07-20T14:34:56.131862Z 0 [Note]   - '10.0.0.104' resolves to '10.0.0.104'; 2020-07-20T14:34:56.131895Z 0 [Note] Server socket created on IP: '10.0.0.104'. 2020-07-20T14:34:56.131913Z 0 [ERROR] Can't start server: Bind on TCP/IP port: Cannot assign requested address 2020-07-20T14:34:56.131920Z 0 [ERROR] Do you already have another mysqld server running on port: 3306 ? 2020-07-20T14:34:56.132002Z 0 [ERROR] Aborting 2020-07-20T14:34:56.132037Z 0 [Note] Binlog end 2020-07-20T14:34:56.132157Z 0 [Note] Shutting down plugin 'ngram' 2020...

Oracle SOA Suite 12c- PKIX path building failed & unable to find valid certification path to requested target

Image
Hi Everyone, in this blog I'll be writing one of the strange issue that has been encountered while working with a Oracle SOA composite running in Oracle IDAM environment and trying to invoke a SSL based remote service where SSL certification based exception has been thrown during the service invocation. Environment Oracle SOA Suite 12c  (HA Mode) Oracle IDAM 12c (HA Mode) Oracle Linux 7 External Web Service (SOAP Service) Problem Below is the exception thrown when trying to invoke an external webservice (SSL Based) via BPEL process- <bpelFault><faultType>0</faultType><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>oracle.fabric.common.FabricInvocationException: Unable to invoke endpoint URI "https://idam.uppclonline.com/soa-infra/services/default/DefaultOperationalApproval!5.12*soa_69e4734b-d8fe-4edf-b44e-e287f61c2ddf/SMSNotification%23ApprovalProcess/SMSNotification" succe...

Quick setup JDK 1.8 on Ubuntu 16.04

Image
In this post, I am going to write about quick setup of JDK 8 on Ubuntu Linux 16.04 assuming a fresh installation of Linux and on the top of that java needs to be installed.  Below are the steps for quick installation of JDK 1.8_x on Ubuntu Linux- 1. Login to your ubuntu linux machine as root user 2. Create a new directory at location / and provide necessary permission for read write and navigate to /u01 root@ubuntu:~ root@ubuntu:~ mkdir u01/ root@ubuntu:~ chmod 664 /u01 root@ubuntu:~ cd /u01 3. Download the Linux Compressed Archive archive from Oracle Official page-  https://www.oracle.com/in/java/technologies/javase/javase-jdk8-downloads.html Or just open the command line and use curl to download the same. For this you need a valid AuthParam because you need to be logged in to Oracle.com. So if you have and Oracle.com account just login and proceed to downloads page as specified in above link, go to respective download ...

Installation of MySQL Server 8.0 Community on Ubuntu 16.04

Image
Hi everyone, in this post I'll write steps to install MySQL Server 8.0 on Ubuntu Linux 16.04 version. Below are the steps to be done for the same- 1. Setting up MySQL 8.0 Repository 2. De-packaginig Debian repository 3. Installing MySQL Server 8.0 Community Version 4. Creating new user, database, permission grant 5. Connecting MySQL Server via remote MySQL Workbench  1. Setting up MySQL 8.0 Repository First we need to setup repository for MySQL 8 as Ubuntu 16.04 doesn't get shipped with the same. In order to do so, visit the APT repo page and download the *.deb package as shown below- URL- https://dev.mysql.com/downloads/repo/apt/ Alternatively use CURL via command line/ terminal as follow- cd /tmp/  wget https://dev.mysql.com/get/mysql-apt-config_ 0.8.15-1 _all.deb 2. De-packaginig Debian package Now we need to de-package the Debian package as  sudo dpkg -i mysql-apt-config_ 0.8.10-1 _all.deb On...