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

<p><strong>ERROR</strong> com.ibi.bse.ConfigWorker:java.lang.NoClassDefFoundError: oracle/tip/adapter/api/exception/PCResourceException</p> <p><strong>Solution:</strong></p> <p>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).</p> <p>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

Enterprise Integration: Using Heterogeneous Namespace Design For Messaging Schema

When integrating with Legacy systems, especially ones that rely on flat-files, it is often the case that there is no XSD definition that can be used in BPEL/ESB processes.  This happened recently when I was using Oracle’s AIA framework to build Application Business Connector Services (ABCS) for a legacy system that has a file-poll based…More

How to export XWindows display using PUTTY

<h1>Introduction</h1> <p>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

Oracle SOA Suite 10g – Database Integration. Resolving “ORA-01017: invalid username/password” partner link error

Database adapters are used to perform CRUD operations on tables from BPEL processes in Oracle SOA Suite. I came across an error recently which is quite easy to resolve but required a bit of idea about how the DB Adapters are configured. When you create a DBAdapter in JDeveloper and use that in a Partner…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.1.1.5.0_disk1_1of1.zip” 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

<h1>Introduction</h1> <p>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.</p> <p>Download files here: <a href="http://www.oracle.com/technetwork/middleware/webcenter/downloads/index.html">http://www.oracle.com/technetwork/middleware/webcenter/downloads/index.html</a></p&gt; <p>Read Oracle’s Documentation here: <a href="http://download.oracle.com/docs/cd/E21764_01/install.1111/b32474/start.htm#ASINS101">http://download.oracle.com/docs/cd/E21764_01/install.1111/b32474/start.htm#ASINS101</a></p&gt; <h1>The Process…</h1> <p>The process…More

Testing Data Logging RESTful Webservice – using Python and Thingsspeak

<p>Your windows “TaskManager” just went LIVE!</p> <p>Imagine being able to broadcast your <a href="https://www.thingspeak.com/channels/681/charts/1?round=2&amp;timescale=2&amp;yaxis=CPU&amp;xaxis=Time&amp;title=Laptop%20CPU-MEM">CPU</a>/<a href="https://www.thingspeak.com/channels/681/charts/2?round=2&amp;timescale=2&amp;yaxis=Memory&amp;xaxis=Time">MEM</a>/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…More

Oracle Webcenter Schemas and Tablespaces in 11.1.1.3 vs 11.1.1.4

I am in the process of patching/upgrading a Webcenter PS2 install (11.1.1.3) with UCM 10g to a Webcenter PS3 install (11.1.1.4) 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.1.1.4.37.59.23\o.j2ee\app\.ear’, cannot be deployed to configured application, ”. The application source is at ‘JDeveloper\system11.1.1.4.37.59.23\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

POJO Business Objects and UML Diagrams in JDeveloper 11g

Step 1) Right Click on the Project and select “New …” Step 2) Select from the “Java” Category in Categories on Left …. and then select “Java Class Diagram” as shown below Step 3) Drag Java classes to the Diagram or create new UML Model and generate objects. Additionally …looks like you can take your…More

Oracle ADF Application Module Client – Expose custom methods with Data Transfer Objects

Scenario: You have a requirement to implement a back-end service that accepts/returns a user-defined Data Transfer Object.  The business logic of this service is implemented using an Application Module  – i.e. there is a method in the AM with a signature that uses the DTOs.   For example:   Imagine “RateUpdate” is a complex class…More

Oracle ADF – How to change Web Application context root from default value in JDeveloper

When you create a Web project, JDeveloper sets the default values for your Java EE Application Name and Context root.  It helps to change these to adhere to your organization’s naming standards and create a shorter more meaningful URI. To change your web application context root: 1) Right click on the project and select “Project…More

BPEL Deployment Error – Task does not conform to the task definition XML schema definition

When trying to deploy a composite with a BPEL flow, some Business Rules and a Human Task (or two) we ran in errors Invalid task definition. The task definition at CoreModulesDomain/Approve#####t!1.0*soa_6df02ede-80c6-4302-b96d-c9648598713a/ApproveTask does not conform to the task definition XML schema definition. The task definition is associated with workflow CoreModulesDomain/Approve#####!1.0*soa_6df02ede-80c6-4302-b96d-c9648598713a/ApproveTask. The errors are [2]: Element not…More

Define/Assign Custom Paylod for your BPEL Human Task

When you create a BPEL Human Task, the payload type is not specified by default. You can specify a simple type from the drop down on the “Data” menu item on the BPEL Task Editor page. By default if you have not assigned a menu item then your “payload” element is not defined in your…More

Optus’ Samsung Galaxy S – Kies Download mgr now has FROYO!!!

A couple of days back when I got the new phone from Optus – a shiny Samsung Galaxy S, it came with a Kies version that said “No Firmware Updates Available” and the firmware version was Android 2.1 …. …the quest for Froyo ended last night when I checked for updates on Kier (Settings ->…More

Nested ADF AM – Example

Nested ADF Application modules are key to component reuse when building and work like using Java JAR libraries with a slight difference.  You can take your ADF Business Component and create an “adflib” out of it which is a glorified JAR archive with a bunch of other XML files that hold important connection information. The…More

Snow flakes in Sydney – The great escape or do they have a purpose?

Just saw one massive FOAM Snowflakes by Bridge and Pitt St … and wondered if something had come loose off of a decoration somewhere nearby. That one wandered about for a bit, dodge a car or two and then decided to hang out on a tree branch by the bridge/pitt intersection. It was not until…More

ORABPEL-10555 Identity Service Configuration error

  Got this error when trying to assign a user a task in Oracle SOA Suite 11g’s “Human Task” component. When you open up the task and goto the “Assignment” section, open up the “Identity Lookup” wizard and connect to your local application server connection- it should populate the security “Realm” (For example: jazn for…More