API Performance Testing with Gatling

The Problem “Our API Gateway is falling over and we expect a 6-fold increase in our client base and a 10-fold increase in requests, our backend service is scaling and performing well. Please help us understand and fix the API Gateway”  Tasks It was pretty clear we had to run a series of performance tests simulating…More

Groovy Grape Turns Sour – java.lang.RuntimeException: Error grabbing Grapes — [download failed:

Issue: Trying to run a Ratpack Groovy code [ @Grab(‘io.ratpack:ratpack-groovy:1.0.0’) ] groovy -Dgroovy.grape.report.downloads=true -Dratpack.port=8081 server.groovy The Error: General Error:   java.lang.RuntimeException: Error grabbing Grapes — [download failed: Specific Error: java.lang.RuntimeException: Error grabbing Grapes — [download failed: org.yaml#snakeyaml;1.12!snakeyaml.jar(bundle), download failed: com.google.guava#guava;18.0!guava.jar(bundle)] The fix: Delete the Repository folders in repo managers like Maven. Why? Because the ~/.groovy/grapes repo…More

Oracle AS Adapter for Peoplesoft: IWAY Error Resolution

ERROR com.ibi.bse.ConfigWorker:java.lang.NoClassDefFoundError: oracle/tip/adapter/api/exception/PCResourceException Solution: It appears that Oracle took the IWay Servlet and built a Java Swing application around it that allows you to create a Web service (BSE) or J2CA based connection to the Enterprise Applications (SEIBEL, JDE, Peoplesoft). This Swing application is launched in a Unix/Linux shell using the iwae.sh script and in…More

Oracle SOA Suite 11g BPEL – FTP Adapter: What’s my filename?

I was writing an FTP adapter for a client recently for a legacy integration project, when a couple of  requirements came up: 1) When reading the file from a remote location, the client wanted to use the filename as a data element. 2) When writing the file to a remote location, the client wanted the…More

BPEL Error with Receive/Pick

Error: “Error(81): There is not an activity (receive/pick) to start the process” Fix:  Check the “Create Instance” checkbox on your Receive or Pick activity.   When do you see these errors? When you create a BPEL process and remove the default Receive/Reply components to receive/pick events from a queue or an FTP adapter for example.…More

How to export XWindows display using PUTTY

Introduction If you use PUTTY tool to ssh into a remote host and are trying to run a graphical tool …like say Mozilla or XClock or some Java Swing based installer that has screens you navigate …then you need to EXPORT your DISPLAY. Lets assume you are doing this from a Windows machine to a…More

Setup ADF Session UserData in Application Module’s Prepare Session – HowTo

Here’s a useful bit of code that uses the information in the security context and populate the ADF App Module Session’s user data. This snippet is used in your ADF Fusion project’s Application Module’s “prepareSession” method, as shown below, and it uses the “session.getUserData()”  to get a handle to the session to populate the user…More

High Performance Computing Comes to the Enterprise – Oracle’s Exalogic

Oracle’s Exalogic…. is a hardware platform that outperforms competition with features like 40 Gb/sec Infiniband network link,  30 x86 compute nodes,  360 Xeon cores (2.93 GHz), 2.8 TB DRAM and 960 GB SSD  in a full rack. Phew! Ref: Oracle’s Whitepaper on Exalogic You can “google” it … search for “Oracle Exalogic” and learn more about…More

Notes on Webcenter PS4 Install – Part II

Installing Webcenter …. …okay I got a little stuck here because of the incorrect JDK version.  I extracted the “ofm_wc_generic_11.” file using “unzip <filename>” and it created 3 “DISK” folders. I went under “Disk1/bin/” and did [oracle@xxxxxDisk1]$ ./runInstaller Starting Oracle Universal Installer… Checking if CPU speed is above 300 MHz.    Actual 2660 MHz    Passed Checking…More

Notes on Webcenter PS4 Install – Part I

Introduction Oracle release the Webcenter Patchset 4 (PS4),  version 11.1.15, recently and I am in the process of installing/testing this product. I am going to document my observations for future reference and hope it helps out others in the process. Download files here: http://www.oracle.com/technetwork/middleware/webcenter/downloads/index.html Read Oracle’s Documentation here: http://download.oracle.com/docs/cd/E21764_01/install.1111/b32474/start.htm#ASINS101 The Process… The process is quite…More

Testing Data Logging RESTful Webservice – using Python and Thingsspeak

Your windows “TaskManager” just went LIVE! Imagine being able to broadcast your CPU/MEM/Disk capacity data or data from a hardware device or appliance (Arduino based sensor) to a service. Now imagine being able to view this data in a live graphical manner and being able to share it with the rest of the world (power…More

Oracle Webcenter Schemas and Tablespaces in vs

I am in the process of patching/upgrading a Webcenter PS2 install ( with UCM 10g to a Webcenter PS3 install ( using the Weblogic migration tools, Patch Set Assistant to migrate the schemas and the ECM migration tools. One of the things I was curious about was the RCU schemas and tablespace differences in PS2…More

Weblogic Application Deployment Error – “Changing the source location…”

Stack Trace: [01:41:48 PM] Weblogic Server Exception: weblogic.management.ManagementException: [Deployer:149007]New source location, ‘\JDeveloper\system11.\o.j2ee\app\.ear’, cannot be deployed to configured application, ”. The application source is at ‘JDeveloper\system11.\o.j2ee\drs\’. Changing the source location is not allowed for a previously attempted deployment. Try deploying without specifying the source. [01:41:48 PM] See server logs or server console for more details. [01:41:48…More

Oracle Fusion ADF – JSF Rich Text and Table Component (Data Input and Refresh)

The ADF framework is quite powerful and you should be able to quickly create a page that will let you do Partial Page Rendering (PPR) in no time … there are plenty of good examples online about how to do this (and you should be able to work things out on your own in no time).

However, my problem was that by using out of box “Partial Triggers” property on the table component, I was unable to “re-query” the underlying table model. Instead, I used an explicit call to the underlying UI controls and ended up learning quite a bit in the process. More