Skip to main content

Posts

Setup Okta Custom URL Domain

TL:DR In this post, I will walk through the information and steps required to setup Okta custom domain. It also reveals the issues that may get in the way and how to address them. Okta is a leading cloud IAM solution and offers a free developer account. Anyone can register and use its service as long as the active monthly user count doesn't go over 1000 in the developer's account. After registration, Okta will assign an URL domain in a format of "https://dev-xxxxxx.okta.com" (xxxxxx is a random number assigned), where you can login and manage your own Okta services. If you are a paid customer, then you would be able to choose a custom naming in such way as "https://custom.okta.com". It's essential to setup a custom URL domain so that your Okta domain would look like a subdomain of your own such as "https://login.mydomain.com". Setting up a custom domain would provide you: Use custom domain as the issuer for the Okta default or custom a...

About adfc_diagram files in ADF

In short, files that end with "adfc_diagram" file type are metadata files to keep track of element position in an ADF task flow. ADF task flow offers a process-flow like visual panel for developers to re-position the elements (page/fragment, router, Java bean methods, etc). The file ending with "adfc_diagram" is the one tracking the positions of all elements so that next time the task flow is open the saved visual positions are presented. Another blog spot on the same matter: http://javalopez.blogspot.com/2015/03/should-i-commit-adfcdiagram-files.html

Full Screen Youtube Video on Play - React

Youtube video is ubiquitous. Embedding Youtube videos into a web page is as straightforward as it sounds. What also seems natural is to full-screen the video on touching the play icon of the video on mobile devices. This feature is important for mobile user experience as the full screen control is quite small to "aim". Google results on this topic showed many people had been looking for a solution on this and couldn't get a simple way to work out, as Youtube doesn't provide an API to full screen videos. In this post, I am showing a relatively simply way to achieve this user experience with fairly few lines of code. Code example is shown below. In the example, I use React as there are many nice plugins ready to start. Here is a list of them: screenfull: a simple wrapper of cross browser JavaScript implementation of full screen API.  https://www.npmjs.com/package/screenfull device-detector-js: a way of detecting user device with a wide range of device coverage...

X11 doesn't work after sudo to another user

This is kind of old trick but after years of not using X11 at all, I will need to refresh. Most of the times at my client, linux access is given with my own user name with ability to sudo to a regular service user. On a need of X11 GUI, it's mandatory to add the authorization info of my own user name into the sudo user name so X11 window can be started on top of the sudo user. But first of all, make sure the X11 forwarding is enabled by adding the following to /etc/ssh/sshd_config X11Forwarding yes Before the authorization info is added, the following error may show up in the terminal when trying to bring up X11 window. X11 proxy: Authorisation not recognised Here is how to add the authorization. 1. go back to the user who has access to the linux box and get the following info - >> echo $DISPLAY this will print out the display variable of the current user >>xauth list this will print out the authorization info to connect to the X server of the curre...

JDBC Connection Leak in ADF app on a WebLogic Server

It's an old topic but worthy to post as it happens frequent enough in codes that I observed. The bottom line of the issue that I am going to describe here is a coding issue, to it applies to WebLogic 11g as well as 12c. An ADF app deployed on a remote WebLogic Server went to an error page frequently. Checking the log, I found it's complaining on "JBO-26061: Error while opening JDBC connection". The next thing I did is checking the data source of the ADF App configured on the WebLogic Server console. On the Data Source -> Monitoring -> Statistics, the "Active Connection Average Count", "Active Connections Current Count" and "Active Connection High Count" all showed "15", which is the default max capacity of a connection pool. This shows all the connections are taken and no more connection available. I go to Monitoring -> Testing, select on the affected server and click on "Test Data Source", such error w...

CONCUR INTEGRATION WITH INFORMATICA CLOUD: A TECHNICAL REVIEW

Article originally published here . Concur is one of the industry’s most widely used travel and expense management solutions, used by more than 32,000 organizations globally. For companies that are implementing or have implemented Concur, one critical step necessary to fully unleash the power of the platform is the integration process. After implementing Concur, companies often spend a large amount of time on tedious manual work, such as adding new users on new hire events, user off-boarding, manager changes, department changes, etc. These "maintenance" tasks seem trivial at first, but they actually require a major time commitment from Concur administrators, who could be focusing on other critical tasks. Besides, managing Concur’s interaction with other systems, such as HR or financial ledger platforms, introduces more challenges, as these tasks are not straightforward and solutions are not directly provided by any of the applications involved in the integration. Do...

A Quick Talk On Generic Cloud App Integration With Informatica Cloud

The Informatica Cloud Integration platform is the industry's complete cloud integration platform as a service (iPaaS). Informatica has been continuously playing as the leader role in this space for the 4th consecutive year ( Gartner's margic quadrant for enterprise integration platform ). It's definitely your top choice for data integration management. With the emerging SaaS application on the market, it's essential for integration platform to provide a flexible and efficient connector to integrate various cloud applications in a generic manner. Indeed there are many specific connectors built for individual applications by Informatica (Tier 1 and Tier 2 connectors) or vendors themselves (OEM connectors). But let's face it: most cloud applications evolves quickly on new features and their APIs get updated quicker than you realize. How quickly the connectors can turn around with the most recent API updates? The answer is definitely the connector update lags behind,...

WebCenter Portal and Jdeveloper Version Contrast

For easy reference, here is a list of version contrast between patchset, WebCenter Portal, Jdeveloper with corresponding WebCenter extensions. (the info is extracted from Oracle doc  1627574.1) Patchset + Bundle Patch WebCenter Portal JDeveloper WebCenter Extension 12c 12.2.1.0.0 12.2.1.0.0 Framework: 12.2.1.0.0.151013.2001 Core: 12.2.1.0.0.151005.0601 dot9 + BP3 11.1.1.9.160119 11.1.1.9.0 11.1.1.9.0.160107.0701 dot9 + BP2 11.1.1.9.8 11.1.1.9.0 11.1.1.9.0.151005.2311 dot9 + BP1 11.1.1.9.2 11.1.1.9.0 11.1.1.9.0.150701.0100 dot9 11.1.1.9.0 11.1.1.9.0* 11.1.1.9.0.150521.2301* dot8 + BP8 11.1.1.8.8 11.1.1.7.0 11.1.1.8.0.150618.0701 dot8 + BP7 11.1.1.8.7 11.1.1.7.0 11.1.1.8.0.150331.0703 dot8 + BP6 11.1.1.8.6 11.1.1.7.0 11.1.1.8.0.141219.1406 dot8 + BP5 11.1.1.8.5 11.1.1.7.0 11.1.1.8.0.141001.1208 dot8 + BP4 11.1.1.8.4 11.1.1.7.0 11.1.1.8.0.140627.1403 dot8 + BP3 11.1.1.8.3 11.1.1.7.0 11.1.1.8.0.140404.0207 dot8 + BP2 11.1.1.8.2 11.1.1.7.0...