Posts

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 the to…

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.EnvironmentIn order to create a new compute instance in oracle cloud, there are few prerequisites-A valid OCI accountA virtual Cloud networkOptional SSH keys in case you want your own keys to be usedBelow is the network diagram of the virtual cloud network with the schematic wizard provided by OCI for quick setup of a VCN-
Steps to achieveSo, 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 now move to…

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.ScenarioI 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. 
ApproachI 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.  SolutionThis article considers the first approach. For the second approach, check out my this post with necessary steps as a subpart of the post.
Steps- Login to OCI consoleNavigate to the compute instancesStop the…

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

Image
Hello everyone, this is my first blog on Oracle Cloud Infrastructure.RequirementTo increase Swap of existing compute instance with a new block volume in OCI.
PrerequisiteA 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 diskslsblkMake Swapmkswap -L sasswap2 /dev/<DISK_PARTITION_ID>Check Free Memoryfree -mUpdate fstab for permanemt changes Do UUID entry in fstabMount itswapon -aCheck Free Memory    free -mCheck swap storage usage   swapon -sRemove new swap sw…

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 request i…

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-07-20T14:34:56.1…

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 7External 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" successfully …

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 section and click on the download link. Now just copy the link from downloa…