2011

SoapUI install directory detection / mockservice execution script

For some 'homework' i needed a (bash) script to start the soapUI mockservicerunner on Oracle Linux which could start the mock service regardless of the soapUI installation directory. I could not find a single reference to the installation directory, and therefore wrote some code to find the installation location, To speed up the detection the script first searches the directories where you might expect to find soapUI, secondly in less logical locations. When found, the soapUI installation directory is stored in the script itself to speed up future executions of the script. Here it is, have fun !

Read More...
Comments

Defaulting to Audit view for BPEL instances in Oracle BPEL 10g


Although FMW 11g is around for some time, there are still organizations running on SOA Suite 10g. So maybe this tip is still useful for some of you. When testing my not-yet-quite-finished BPEL processes on my local BPEL server i am not interested in the manage view when selecting a BPEL instance. What i need is the audit view of my BPEL process. Since most of the BPEL Console is based on JSP, you just have to find the right jsp-file in the container...

Read More...
Comments

Deduplication or extracting unique elements using XSL

When searching for an efficient way to de-duplicate elements in a BPEL process, i found several blogs and communities on the web showing examples how to use the XSL key and generate-id functions to extract unique elements. Only none of them explained the science behind the magic. Here a more elaborate explanation how the extraction of unique elements, based on a chosen combination of key elements, from a XML message works.

Read More...
Comments

Updated: SOA Suite 11g R1 on OL x86-64 in VM Ware Fusion


A revised version of the installation guide for Oracle Fusion Middleware on Oracle Linux in a Virtual Machine is available. This document is based on the SOA Suite PS 4, Oracle 11gR2 DB, Oracle Linux 5u7 x86-64 and OEPE for x86-64.

The document SOA Suite 11g on OL 5u7 x86-64 in VMWare.pdf can be downloaded here.


Comments

Oracle Linux 5U7 on VMware Fusion 4

When installing Oracle Linux 5U7 as a Guest OS on VMWare fusion 4, you will probably run into the "no module ehci-hcd found for kernel 2.6.32-200.13.1.el5uek" during the VMWare Tools installation process. This error is caused by missing usb kernel modules in /lib/modules/2.6.32-200.13.1.el5uek. You can easily solve this by opening a Terminal session, substitute the user by root (su - root) and executing the command below.
cp /lib/modules/2.6.18-274.el5/kernel/drivers/usb/host/?hci-hcd.ko \
/lib/modules/2.6.32-200.13.1.el5uek/kernel/drivers/usb/host
Now you can start the installation of VMWare tools by executing
./vmware-install.pl

Comments

Reading not XMLEncoded XML into Java Beans


For a small Java project is was searching for a standard JDK Class to read a XML configuration file into a Java bean. Important was that the structure of the XML file was maintainable by humans using external editors and not necessarily all elements in the XML file had to match attributes in the Java bean(s) wherein the contents of the XML file is stored. The XMLDecoder class in the java.beans package only can de-serialize objects encoded using the XMLEncoder class and therefore is less useful for his purpose.

xmlbeans

Based on Java's SAXParser and a relative simple handler extending DefaultHandler, i was able to parse an external editable XML into a Java bean holding (ArrayLists of) other beans as attributes, also capable of holding one or more Java Beans as attributes.

Read More...
Comments

Oracle BPEL 10g XSL Cache Initialization

In my current project the BPEL development team, wherein i participate, maintains and develops BPEL processes on 10g. The complexity of these processes are not the processes itself but merely the applied transformations in these processes which also contain custom XSL functions. Testing of the XSL transformations within the IDE (JDeveloper) therefore is in many cases not an option. Alternatively the whole service has to be deployed to a local installed BPEL server and tested by instantiating the service. The main disadvantage here is that BPEL keeps it XSL files in cache, even the XSL files which were re-deployed. So when testing a re-deployed service with modified XSL files, the results of the transformations are unchanged, simply because the 'old' version of the XSL files are still in memory. To load the modified XSL files in memory the BPEL server has to be re-started after each deployment. When having to go though multiple iterations of testing and therefore time-consuming restarts of the local BPEL server can be quite annoying.

Read More...
Comments

How to: SOA Suite 11g R1 on Oracle Linux in VM Ware Fusion

When i started reading the books ‘Getting Started with ORACLE SOA Suite 11g R1’ (by Heidi Buelow et al.) and ‘SOA Suite 11G Handbook’ (by Lucas Jellema) i needed a running SOA Suite 11g environment to be able to do the exercises. As a Mac user i use VM Ware to virtualize my educational environments, preferably on a Linux operating system to minimize the cost of licenses and reduce the overhead of the guest operating system on my host operating system. Both books do contain installation guidelines, but are focussed on installation of the SOA Suite 11g on a Microsoft Windows operating system. Although the getting started handbook does give you some hints how to tune the environment, the performance, on a system with the suggested 3Gb RAM, is to low to consider it workable.

Therefore i wrote a document describing step-by-step how to get an up and running SOA Suite 11g R1 environment with a minimal environment.

Read More...
Comments