Posts

Showing posts with the label error

WSO2 APIM v3- Resolving API Retrieval Failure in Publisher and Devportal

Image
In this blog post I'll share my experience in fixing the issue for APIs loading in publisher and devportal of WSO2 API Manager v3.2.  My WSO2 API Manager instance was running fine with respective functionality. I stopped the server due to infra/maintenance activity and started the same after 2 days. However, my publisher portal was opening, and login works fine but I found an issue post login in  Publisher  portal and the Developer. Portal  The Publisher and Developer Portal fail to retrieve APIs, displaying an HTTP 500 error. This blog post explores the root cause and solution for this problem. Environment WSO2 APIM v3.2.0.xxx DB- MSSQL Server as database OS- RHEL The Issue In a recent scenario, WSO2 API Manager’s Publisher and Developer Portal were failing to list APIs, showing an HTTP 500 error. The error trace in the logs pointed to a failure in searching for APIs: ApisApiServiceImpl Error while retrieving APIs org.wso2.carbon.apimgt.api.APIManagementEx...

WSO2 APIM 4.1 OpenSource Pack Build Error- No Compiler Provided

Image
Recently I trie building the wso2 apim product pack using the source code provided by WSO2 on Github Repository and I faced Java Compilation related errors. I'll share my experience about the same. So let's start- Environment OS: macOS Ventura Java: JDK 1.8 WSO2 APIM Source Code: APIM v4.1 Maven:  Apache Maven 3.9.4 Problem Statement: 1. Downloaded the wso2 apim pack 4.1 from  https://codeload.github.com/wso2/product-apim/zip/refs/tags/v4.1.0 product-apim-4.1.0.zip 2. Go to the root directory  product-apim-4.1.0 3. Maven build command failure during mvn clean install Below is the error snapshot identified during the build process [ INFO ] Changes detected - recompiling the module! [ INFO ] Compiling 1 source file to /Users/kumargaurav/Downloads/product-apim-4.1.0/modules/styles/product/target/classes [ INFO ] ------------------------------------------------------------- [ ERROR ] COMPILATION ERROR :  [ INFO ] -------------------------------------------...

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

MySQL Connectivity Common Errors

Image
In this post, I'll discuss some of the common errors being encountered during connection with MySQL Server and the best possible solution worked for me or someone- Problem-1 JDBC Connection Failure java.sql.SQLNonTransientConnectionException: Could not create connection to database server. Attempted to reconnect 3 times. Giving up  Solution Change JDBC url to include character encoding- jdbc:mysql://localhost:3306/databaseName? useUnicode=true&characterEncoding=utf8&useSSL=false &useLegacyDatetimeCode=false&noAccessToProcedureBodies=true&serverTimezone=UTC Problem-2 Connection Java-MySql: Public Key Retrieval is not allowed Exception in thread "main" java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed Solution Change JDBC URL to include alllow Public Key Retrival true- jdbc:mysql://localhost:3306/databaseName? allowPublicKeyRetrieval=true &useSSL=false; Ref- https://mysqlconnector.net/connection-options/

Oracle SOA 12c- Human Task Approval Issue

Image
In this post, I'll discuss about the recent issue of multi-step human task approval workflow. The scenario belongs to issue of a multi step user task approval where the request was initiated by Oracle IDAM and workflow being fulfilled using Oracle SOA. Below is the summary of the use case- Environment Oracle Soa Suite 12c, Oracle IDAM 12c Problem There was a two step approval process where approval request was initiated from Oracle IDAM system (OIM). All user base resides in OIM system at LDAP/DB level. Dynamic user assignment was there to act on user task. Initially, there was two level approval task where one user per level was assigned i.e. one user can act on a task. Later, the requirement changed as task assignment to group for level 2 approval. The task assignment was being done using business rules. So, changes done and the composite was deployed and tested out. The approval flow was fine up to level 1 but after approval by level 2 (any...

JDeveloper 12c (SOA QuickStart) failed to start after updating the macOS

Image
Recently one of the strange issue came with one of my colleague with respect to jDeveloper 12c Startup. Below is the summary of the issue and solution- Environment: macOS Sierra, jDeveloper 12c (SOA12c QuickStart) Problem:  macOS was continuously giving the prompt for update. Mistakenly update was clicked and macOS updated to  macOS Mojave (10.1.4.6).  System reboot done. When  jDeveloper was started, only jDev splash screen came and gone.  However, jDeveloper was not started After several attempts, same thing happened and jDev was failed to start. Alternatively when tried to start via terminal, following logs were shown   Oracle JDeveloper 12c Release 12.2.1.3.0  Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved. java.lang.RuntimeException: Exception in org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start() of bundle org.eclipse.osgi. at org.eclipse.osgi.framework.internal.core.Interna...