<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
   <channel>
      <title>Antony Reynolds&apos; Blog</title>
      <link>http://blogs.oracle.com/reynolds/</link>
      <description>Musings on Fusion Middleware and SOA</description>
      <language>en</language>
      <copyright>Copyright 2009</copyright>
      <lastBuildDate>Mon, 16 Nov 2009 18:25:16 +0000</lastBuildDate>
      <generator>http://www.sixapart.com/movabletype/</generator>
      <docs>http://blogs.law.harvard.edu/tech/rss</docs> 

      
      <item>
         <title><![CDATA[Getting Started with SOA &amp; SOA Suite]]></title>
         <description><![CDATA[<p><a href="http://blogs.oracle.com/reynolds/WindowsLiveWriter/GettingStartedwithSOASOASuite_A090/image_2.png"><img title="image" style="border-right: 0px; border-top: 0px; display: inline; margin-left: 0px; border-left: 0px; margin-right: 0px; border-bottom: 0px" height="176" alt="image" src="http://blogs.oracle.com/reynolds/WindowsLiveWriter/GettingStartedwithSOASOASuite_A090/image_thumb.png" width="290" align="left" border="0" /></a> We are getting a new team member at the start of next month and he asked me if I could recommend any resources for him to get up to speed on SOA and Oracle SOA Suite. So here is a list of resources that I provided him.</p>  <h2>Web Sites</h2>  <ul>   <li><a href="http://www.oracle.com/technology/tech/soa/index.html" target="_blank">Oracle SOA Architect Center</a></li>    <li><a href="http://www.oracle.com/technology/products/soa/soasuite/index.html" target="_blank">Oracle SOA Suite Home Page</a></li>    <li><a href="http://www.soaspecs.com/default.asp" target="_blank">SOA Specs Information</a> (Thomas Erl)</li> </ul>  <h2>Blogs</h2>  <p>The following bloggers I find useful</p>  <ul>   <li><a href="http://blogs.oracle.com/reynolds" target="_blank">My Blog</a> :-)</li>    <li><a href="http://blogs.bpel-people.com/" target="_blank">Matt Wright</a></li>    <li><a href="http://blogs.oracle.com/rammenon/" target="_blank">Ramkumar Menon</a></li>    <li><a href="http://www.it-eye.nl/weblog/" target="_blank">IT Eye</a>&#160; (often Mike van Alst on SOA)</li>    <li><a href="http://soamastery.blogspot.com/" target="_blank">Mike van Alst</a></li>    <li><a href="http://clemensblog.blogspot.com/" target="_blank">Clemens Utschig</a></li>    <li><a href="http://orasoa.blogspot.com/" target="_blank">Marc Kelderman</a></li>    <li><a href="http://blogs.oracle.com/soabpm/" target="_blank">SOA/BPM PM Blog</a> (often Clemens Utschig)</li>    <li><a href="http://rvsoapbox.blogspot.com/" target="_blank">Richard Veryard</a></li> </ul>  <h2>Books</h2>  <p>I have created a <a href="http://www.amazon.com/Useful-Oracle-SOA-Books/lm/R2VMF62DVXVVOS/ref=cm_lm_byauthor_title_full" target="_blank">book list on Amazon</a>.</p>]]></description>
         <link>http://blogs.oracle.com/reynolds/2009/11/getting_started_with_soa_soa_s.html</link>
         <guid>http://blogs.oracle.com/reynolds/2009/11/getting_started_with_soa_soa_s.html</guid>
        
        
         <pubDate>Mon, 16 Nov 2009 18:25:16 +0000</pubDate>
      </item>
      
      <item>
         <title>Obtaining WSDL from a Deployed 10g BPEL Process</title>
         <description><![CDATA[<p>We always talk about the virtues of loose coupling with SOA, and the service interface is a key component of this.&#160; Often we need to extract the service interface from a deployed BPEL process in order to call the process, or make use some of the some of the same services that the BPEL process calls.&#160; When we deploy a BPEL process both the WSDLs implemented by the process and the WSDLs invoked by the service are all available through the BPEL console.</p>  <h2>Navigating to your Process</h2>  <p>Obtaining the WSDLs of a process is very easy.&#160; Log in to BPEL console and select the processes tab.</p>  <p><a href="http://blogs.oracle.com/reynolds/WindowsLiveWriter/ObtainingWSDLfromaDeployed10gBPELProcess_9CD8/image_2.png"><img title="image" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="70" alt="image" src="http://blogs.oracle.com/reynolds/WindowsLiveWriter/ObtainingWSDLfromaDeployed10gBPELProcess_9CD8/image_thumb.png" width="445" border="0" /></a> </p>  <p>Then select the desired process.</p>  <p><a href="http://blogs.oracle.com/reynolds/WindowsLiveWriter/ObtainingWSDLfromaDeployed10gBPELProcess_9CD8/image_4.png"><img title="image" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="124" alt="image" src="http://blogs.oracle.com/reynolds/WindowsLiveWriter/ObtainingWSDLfromaDeployed10gBPELProcess_9CD8/image_thumb_1.png" width="438" border="0" /></a> </p>  <p>This will display the process details.</p>  <h2>Obtaining the WSDL Implemented by Our Process</h2>  <p>To obtain the WSDL interface to the process click on the WSDL tab.&#160; Ensure that you have the correct version selected.</p>  <p><a href="http://blogs.oracle.com/reynolds/WindowsLiveWriter/ObtainingWSDLfromaDeployed10gBPELProcess_9CD8/image_6.png"><img title="image" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="167" alt="image" src="http://blogs.oracle.com/reynolds/WindowsLiveWriter/ObtainingWSDLfromaDeployed10gBPELProcess_9CD8/image_thumb_2.png" width="603" border="0" /></a> </p>  <p>This will bring up the WSDL associated with the partner link implemented by this process.</p>  <h2>Obtaining the WSDLs Called by Our Process</h2>  <p>To obtain the WSDLs called by the process then go to the descriptor tab.</p>  <p><a href="http://blogs.oracle.com/reynolds/WindowsLiveWriter/ObtainingWSDLfromaDeployed10gBPELProcess_9CD8/image_8.png"><img title="image" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="205" alt="image" src="http://blogs.oracle.com/reynolds/WindowsLiveWriter/ObtainingWSDLfromaDeployed10gBPELProcess_9CD8/image_thumb_3.png" width="600" border="0" /></a> </p>  <p>This provides a list of all the partner links in the BPEL process, including the partner links implemented by the BPEL process.</p>  <p>From here we can select the WSDL that is needed.&#160;&#160; We can also see the properties associated with the partner link.</p>  <p>Note that often the BPEL designer will have created a wrapper WSDL that adds partner link information that is required by BPEL.&#160; If this is the case, and it will be the case for most external WSDL documents, then it is necessary to examine the wrapper WSDL and extract the location attribute of the WSDL import statement.</p>  <p><a href="http://blogs.oracle.com/reynolds/WindowsLiveWriter/ObtainingWSDLfromaDeployed10gBPELProcess_9CD8/image_10.png"><img title="image" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="170" alt="image" src="http://blogs.oracle.com/reynolds/WindowsLiveWriter/ObtainingWSDLfromaDeployed10gBPELProcess_9CD8/image_thumb_4.png" width="543" border="0" /></a> </p>  <p>This can then be plugged into URL of the wrapper WSDL to provide the actual service WSDL.&#160; Usuall this can also be obtained by removing the “Ref” suffice from the partner link WSDL.</p>  <p><a href="http://blogs.oracle.com/reynolds/WindowsLiveWriter/ObtainingWSDLfromaDeployed10gBPELProcess_9CD8/image_12.png"><img title="image" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="78" alt="image" src="http://blogs.oracle.com/reynolds/WindowsLiveWriter/ObtainingWSDLfromaDeployed10gBPELProcess_9CD8/image_thumb_5.png" width="485" border="0" /></a> </p>  <p></p>  <p></p>  <p>This will provide the actual WSDL that is being used by our BPEL process, rather than the wrapper that references it.</p>  <h2>Why Bother?</h2>  <p>Why go to all this trouble, what is the value in obtaining the WSDLs used by a BPEL process?</p>  <p>Well there are several reasons.&#160; A few are outlined below</p>  <ul>   <li>There may be difference in behavior between different environments and we wish to confirm that they are using the same WSDL definitions.</li>    <li>We may need to create a test environment that requires us to emulate WSDL services provided.</li>    <li>We may want to check endpoint details to ensure that we are able to navigate through firewalls in our environment.</li>    <li>We may not have immediate access to the BPEL project and want to check some WSDL interface settings.</li>    <li>We may just be nosy!</li> </ul>  <h2>Download the Whole BPEL Process</h2>  <p>It is also possible to download the whole BPEL suitcase (packaged process) by selecting the Manage tab of the process we want to download under the Processes tab.</p>  <p><a href="http://blogs.oracle.com/reynolds/WindowsLiveWriter/ObtainingWSDLfromaDeployed10gBPELProcess_9CD8/image_14.png"><img title="image" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="102" alt="image" src="http://blogs.oracle.com/reynolds/WindowsLiveWriter/ObtainingWSDLfromaDeployed10gBPELProcess_9CD8/image_thumb_6.png" width="591" border="0" /></a> </p>  <p>At the bottom of this screen we can download the suitcase by clicking the Export Process button.&#160; This downloads the suitcase as a zip file.</p>  <h2>Summary</h2>  <p>Often we are looking at deployed processes without easy access to the original JDeveloper project.&#160; Through the BPEL console we can verify both individual WSDL interfaces and also download the whole BPEL source, making it easy to check what is happening.&#160; So remember, next time you are faced with odd behavior and want to look at the BPEL source or partner link details, you don’t need to call the developer!</p>]]></description>
         <link>http://blogs.oracle.com/reynolds/2009/11/obtaining_wsdl_from_a_deployed.html</link>
         <guid>http://blogs.oracle.com/reynolds/2009/11/obtaining_wsdl_from_a_deployed.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category">SOA Suite</category>
        
        
         <pubDate>Tue, 10 Nov 2009 18:09:37 +0000</pubDate>
      </item>
      
      <item>
         <title>Software Required for Test 11g SOA Cluster</title>
         <description><![CDATA[<p>In my last entry I spoke about some of the gotchas that are involved in setting up a cluster.&#160; Over the next few entries I am going to describe how to build a SOA Suite 11g cluster for use in a test environment.&#160; In this entry we will look at the target architecture and the required software.</p>  <h2>Target Architecture</h2>  <p>I am going to build my 11g cluster on 3 machines.</p>  <ul>   <li>Machine DB will host an 11gR1 database.&#160; I will also use it to host a software load balancer (I will use WebCache). </li>    <li>Machine SOA1 will host two WebLogic installations.&#160; A WebLogic 11g installation will have a single SOA domain hosting a SOA Suite cluster, including BAM.&#160; A WebLogic 10.3 installation will have a single OSB domain hosting an OSB cluster. </li>    <li>Machine SOA2 will have the same software as SOA1 and will host the same two domains. </li> </ul>  <p>When OSB 11g is released then the need for two separate WebLogic installations will go away as the intention is for OSB and the rest of SOA Suite to run on the same WebLogic software version.</p>  <p>As there are two WebLogic domains then I will run an admin server on each machine, one domains admin server on SOA1 and the other domains admin server on SOA2.&#160; This helps reduce the memory footprint.</p>  <p>Logically the architecture is shown below with a load balancer distributing load across the SOA and OSB clusters with a backend 11g database.</p>  <p>&#160;<a href="http://blogs.oracle.com/reynolds/WindowsLiveWriter/SoftwareRequiredforTest11gSOACluster_CD0D/LogicalCluster_2.jpg"><img title="LogicalCluster" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="308" alt="LogicalCluster" src="http://blogs.oracle.com/reynolds/WindowsLiveWriter/SoftwareRequiredforTest11gSOACluster_CD0D/LogicalCluster_thumb.jpg" width="468" border="0" /></a> </p>  <p>As for testing I don’t have a hardware load balancer then I run the load balancer on the same machine as the database to give the physical architecture shown below.</p>  <p><a href="http://blogs.oracle.com/reynolds/WindowsLiveWriter/SoftwareRequiredforTest11gSOACluster_CD0D/PhysicalCluster_2.jpg"><img title="PhysicalCluster" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="347" alt="PhysicalCluster" src="http://blogs.oracle.com/reynolds/WindowsLiveWriter/SoftwareRequiredforTest11gSOACluster_CD0D/PhysicalCluster_thumb.jpg" width="468" border="0" /></a> </p>  <p>I will run this on 3 virtual machines on a server with 8gb memory, allowing 2gb for each virtual machine.</p>  <p>As a large number of customers seem to be running Linux these days I will use Oracle Enterprise Linux 5.3.&#160; I will use 64-bit Linux for the DB machine and 32-bit Linux for the SOA machines.</p>  <p>It is quite common for clusters to be using a RAC database rather than a single instance database, but that was one VM too many for me to get my head around.</p>  <h2>Software Required</h2>  <p>So now we have identified the logical and physical architecture we need to identify what software we will require.&#160; The software used is all available for download from OTN by clicking on the software link as shown in the table below.&#160; Our target machine for the software is also shown in the table.</p>  <table cellspacing="0" cellpadding="2" width="591" border="0"><tbody>     <tr>       <td valign="top" width="218">         <h3>Software</h3>       </td>        <td valign="top" width="151">         <h3>Purpose</h3>       </td>        <td valign="top" width="10">         <h3>Target</h3>       </td>        <td valign="top" width="212">         <h3>Notes</h3>       </td>     </tr>      <tr>       <td valign="top" width="218"><a href="http://www.oracle.com/technology/software/products/middleware/index.html" target="_blank">Oracle WebLogic Server 11g Rel 1</a></td>        <td valign="top" width="151">Required for SOA Suite</td>        <td valign="top" width="10">SOA1, SOA2</td>        <td valign="top" width="212">&#160;</td>     </tr>      <tr>       <td valign="top" width="218"><a href="http://www.oracle.com/technology/software/products/middleware/htdocs/111110_fmw.html" target="_blank">SOA Suite</a></td>        <td valign="top" width="151">Core SOA Suite</td>        <td valign="top" width="10">SOA1, SOA2</td>        <td valign="top" width="212">&#160;</td>     </tr>      <tr>       <td valign="top" width="218"><a href="http://www.oracle.com/technology/software/products/osb/index.html" target="_blank">Oracle Service Bus 10gR3</a></td>        <td valign="top" width="151">Service Bus</td>        <td valign="top" width="10">SOA1, SOA2</td>        <td valign="top" width="212">11g release will be available shortly.</td>     </tr>      <tr>       <td valign="top" width="218"><a href="http://www.oracle.com/technology/software/products/middleware/htdocs/111110_fmw.html" target="_blank">Repository Creation Utility</a></td>        <td valign="top" width="151">Creates Meta-Data repository for SOA Suite</td>        <td valign="top" width="10">DB</td>        <td valign="top" width="212">May be run from any machine with network access to database.</td>     </tr>      <tr>       <td valign="top" width="218"><a href="http://www.oracle.com/technology/software/products/database/index.html" target="_blank">Oracle Database 11g Release 1</a></td>        <td valign="top" width="151">Holds Meta-Data repository for SOA Suite</td>        <td valign="top" width="10">DB</td>        <td valign="top" width="212">Any database certified with SOA Suite may be used.</td>     </tr>      <tr>       <td valign="top" width="218"><a href="http://www.oracle.com/technology/software/products/middleware/htdocs/111110_fmw.html" target="_blank">Web Tier Utilities</a></td>        <td valign="top" width="151">Contains Web Cache for use as a load balancer</td>        <td valign="top" width="10">DB</td>        <td valign="top" width="212">Another load balancer may used.</td>     </tr>      <tr>       <td valign="top" width="218"><a href="http://edelivery.oracle.com/EPD/Search/get_form" target="_blank">Enterprise Linux</a></td>        <td valign="top" width="151">Operating System</td>        <td valign="top" width="10">SOA1, SOA2, DB</td>        <td valign="top" width="212">Any OS certified with database or SOA Suite may be used.&#160; DB machine may be a different OS to SOA machines.</td>     </tr>   </tbody></table>  <p>&#160;</p>  <h2>Load Balancing</h2>  <p>There are a number of software load balancers available, including functionality built into Linux so why did I use WebCache.&#160; Well there are a number of reasons.</p>  <ol>   <li>I like WebCache</li>    <li>It has a nice web based UI for configuring and monitoring</li>    <li>It supports cookie based affinity (see previous post for importance of this)</li>    <li>It does the job</li> </ol>  <p>Just be careful when using WebCache with SOA Suite that you do not use it to cache data.&#160; To my knowledge no testing has been done within Oracle with using WebCache in conjunction with SOA Suite 11g so don’t deploy it in a production environment.</p>  <p>I have to confess that the idea of using WebCache as a load balancer was not mine, but my colleague Nick Cosmidis, so thanks Nick.</p>  <h2>Other Resources</h2>  <p>Setting up a cluster requires shared storage, ideally for the domain home but also for shared resources such as JMS message stores.&#160; I could have used an iSCSI appliance to provide this but I chose instead to use the DB machine as a shared file server for the mid-tier components.</p>  <p>The cluster also requires IP addresses.&#160; Obvious but there are different requirements for those IP addresses.&#160; The IP address for the load balancer must be routable from all the clients of the cluster.&#160; The database, SOA Suite and OSB instances can have non-routable IP addresses as long as they can talk to each other and the the load balancer.&#160; The clients don’t have to be able to access the database, SOA Suite or OSB directly because they will go through the load balancer.</p>  <h2>Virtualization</h2>  <p>I am running this on a virtualized environment, a single 8GB machine hosting all three machines.&#160; The only software virtualization fully supported by Oracle is Oracle Virtual Machine.&#160; That is not to say it won’t work on other software virtualization environments such as VMware, just that it is not fully supported on those environments.&#160; For more information on Oracle’s support policy with respect to virtualization in general check out <a href="http://www.oracle.com/technology/products/ias/hi_av/oracleas_supported_virtualization.html" target="_blank">this link</a>.&#160; For specific information on VMware support then check Note 249212.1 in <a href="https://myoraclesupport.com/" target="_blank">MetaLink</a>.</p>]]></description>
         <link>http://blogs.oracle.com/reynolds/2009/10/software_required_for_test_11g.html</link>
         <guid>http://blogs.oracle.com/reynolds/2009/10/software_required_for_test_11g.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category">SOA Suite</category>
        
        
         <pubDate>Fri, 30 Oct 2009 20:01:17 +0000</pubDate>
      </item>
      
      <item>
         <title>What I learnt About Clustering</title>
         <description><![CDATA[<p>Since moving to support I have learned a lot about clustering.&#160; Some of the things I have learnt are;</p>  <ul>   <li>Lots of customers are running SOA Suite clusters </li>    <li>Lots of them haven't read the High Availability Guide (<a href="http://download.oracle.com/docs/cd/B31017_01/core.1013/b28941/toc.htm">10g</a> or <a href="http://download.oracle.com/docs/cd/E12839_01/core.1111/e10106/toc.htm">11g</a>) </li>    <li>Lots of them haven't read the Enterprise Deployment Guide or EDG (<a href="http://download.oracle.com/docs/cd/E10291_01/core.1013/e10294/toc.htm">10g</a> or <a href="http://download.oracle.com/docs/cd/E12839_01/core.1111/e12036/toc.htm">11g</a>) </li>    <li>Many of them have problems because of the points above </li> </ul>  <p>Part of the problem for many customers is that setting up a cluster has a lot of steps and a few gotchas that can come back to bite you.&#160; Just got off the phone with a customer who was having problems with a cluster install, nothing too serious but irritating and slowing him down.&#160; Unless the HA &amp; EDG are followed very carefully it is easy to make mistakes.&#160; A few common problem areas I have seen are</p>  <ul>   <li>Failing to separate the design and run time of the ESB     <br />The ESB design time is a singleton and there must never be more than one instance of the ESB design time active against the same repository at the same time.</li>    <li>Poor configuration of JGroups or Coherence     <br />In 10g JGroups is used to identify cluster membership, in 11g Coherence plays the same role.&#160; If these are not configured consistently across the cluster then one part of the cluster may be unaware of the existence of other parts of the cluster with dire circumstances for some shared resources.</li>    <li>Failure to set up virtual addresses correctly     <br />The cluster should have a single virtual address. This virtual address needs to be configured in the HTTP listener, into the OC4J servlet engine and into the BPEL URL settings, amongst other places.&#160; Failure to do this can lead to odd behavior.</li>    <li>Failure to test on a cluster     <br />Seems many companies have clusters in production but not in test and dev.&#160; Surely no-one is that stupid you say.&#160; Well they may configure test instances with a cluster but for resource reasons run only one node of the cluster, after all a one node cluster is still a cluster right...&#160; They then wonder why they only get certain problems in production and can't reproduce them in test.</li>    <li>Many customers fail to have suitable test load balancers     <br />Often customer will not have a hardware load balancer for use in their test or dev environments and will rely on a software load balancer.&#160; Some of these software load balancers use IP stickiness to keep affinity between clients and servers.&#160; This is bad when testing because it means that if you run a test script from a single machine it will only target a single machine in the cluster....&#160; Make sure when testing with a software load balancer that it uses HTTP cookie affinity rather than IP address affinity.</li>    <li>Poor testing with BPEL drivers     <br />Often we use BPEL processes as test harnesses to exercise functionality.&#160; This is good but it doesn't work well in a cluster without some modifications to the driver process.&#160; By default BPEL will optimize communications, within the same JVM it will use Java calls, between JVMs in the same cluster it will use ORMI, it only uses HTTP if it has to.&#160; To test properly we need to distribute load through the load balancer and hence want to use HTTP.&#160; In the invokes we can use the property optSoapShortcut=false to force calls to go through HTTP and hence the load balancer.</li> </ul>  <p>The above isn't an exhaustive list.&#160; If you have others then feel free to share them, I would love to add more to the list.</p>]]></description>
         <link>http://blogs.oracle.com/reynolds/2009/10/what_i_learnt_about_clustering.html</link>
         <guid>http://blogs.oracle.com/reynolds/2009/10/what_i_learnt_about_clustering.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category">SOA Suite</category>
        
        
          <category domain="http://www.sixapart.com/ns/types#tag">Cluster</category>
        
         <pubDate>Wed, 28 Oct 2009 04:29:13 +0000</pubDate>
      </item>
      
      <item>
         <title><![CDATA[All Change &amp; Open World]]></title>
         <description><![CDATA[<p>I haven't written anything for a couple of months, but in my defence I would like to point out that I have changed jobs at Oracle.&#160; I now work in global support services, supporting the Oracle SOA products.&#160; As part of this change I have moved from Easter Compton in England to Monument, Colorado, moving myself, wife and 4 children a quarter of a the way around the world has proven more challenging than expected.</p>  <p>A few weeks ago I was in Orlando on an HA training course for 11g SOA Suite and I'll be sharing some stuff about this in future blogs.&#160; I also put together a 1 day course for support engineers around SOA Architectures and again I will post some of this stuff over the next couple of weeks.</p>  <p>But this week I am in San Francisco for Open World.&#160; If those who know want to stop by and see me I will be in the <a href="http://www.oracle.com/us/openworld/033230.htm">Support Stars Bar</a> on Monday afternoon and Tuesday morning.&#160; On Wednesday at 12:30 I have a <a href="http://www.oracle.com/ocom/groups/public/@ocompublic/documents/webcontent/036522.pdf">book signing</a> at the <a href="http://www.oracle.com/us/openworld/018174">bookstore</a>.&#160; So stop by and say hello.</p>  <p>This is my first US <a href="http://www.oracle.com/us/openworld/index.htm">Open World</a> and I am looking forward to the chance to catch up with old friends and hopefully make some new ones.</p>]]></description>
         <link>http://blogs.oracle.com/reynolds/2009/10/all_change_open_world.html</link>
         <guid>http://blogs.oracle.com/reynolds/2009/10/all_change_open_world.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category">Miscellaneous</category>
        
        
          <category domain="http://www.sixapart.com/ns/types#tag">Support</category>
        
         <pubDate>Mon, 12 Oct 2009 15:15:57 +0000</pubDate>
      </item>
      
      <item>
         <title>SOA at the Top of the UK</title>
         <description><![CDATA[<p>As part of the three peaks challenge which I completed this week the Oracle team were challenged to get a picture of someone reading Matt and my book - the SOA Suite Developers Guide -on top of each peak.&#160; Thought I would share the story and the pictures with you.</p>  <p>The objective of the three peaks challenge is to walk up the highest peak in each of England, Scotland and Wales in a single 24 hour period.</p>  <h2>Peak 1 - Ben Nevis</h2>  <p><a href="http://blogs.oracle.com/reynolds/WindowsLiveWriter/SOAattheTopoftheUK_8291/AntonyAndNeilReadingBenNevis2small.jpg"><img title="Reading SOA Suite Developers Guide atop Ben Nevis" style="border-right: 0px; border-top: 0px; display: inline; margin-left: 0px; border-left: 0px; margin-right: 0px; border-bottom: 0px" height="184" alt="Reading SOA Suite Developers Guide atop Ben Nevis" src="http://blogs.oracle.com/reynolds/WindowsLiveWriter/SOAattheTopoftheUK_8291/AntonyAndNeilReadingBenNevis2small_thumb.jpg" width="244" align="left" border="0" /></a> Ben Nevis in Scotland is the highest peak of the three at 1344m.&#160; We started our ascent at 5pm on Friday and reached the summit by 7:30pm.&#160; As can be seen on the picture of myself and Neil Spink reading the SOA Suite book, weather at the top was clear so that we could see for miles.&#160; The weather was hot and sunny and I struggled a little on the way down but we were all off the mountain by 9:45pm and on the road to Scafell Pike in the Lake District, not far from my brother-in-laws house.&#160; We left for Scafell at 9:51pm.</p>  <p>&#160;</p>  <p>&#160;</p>  <h2></h2>  <p></p>  <h2>Peak 2 - Scafell Pike</h2>  <p><a href="http://blogs.oracle.com/reynolds/WindowsLiveWriter/SOAattheTopoftheUK_8291/AndyPicScafellSmall.jpg"><img title="AndyPicScafellSmall" style="border-right: 0px; border-top: 0px; display: inline; margin-left: 0px; border-left: 0px; margin-right: 0px; border-bottom: 0px" height="184" alt="AndyPicScafellSmall" src="http://blogs.oracle.com/reynolds/WindowsLiveWriter/SOAattheTopoftheUK_8291/AndyPicScafellSmall_thumb.jpg" width="244" align="left" border="0" /></a> Scafell Pike in England is the smallest of the three peaks at 978m.&#160; We arrived at 3:32am, just as the sky was lightening up in the east.&#160; The moon was also very bright with little cloud cover so we had no problem seeing our route and we reached the summit by 5:30am just as the sun was rising above the surrounding peaks of the Lake District.&#160; There was little cloud about and Daniel Roberts and myself could easily see the book at the top.&#160; We were all back down the mountain by 7:17pm and on the road to Snowdon.&#160; Our drivers might have been controlling 17 seater mini-buses, but to the occupants we felt like we were participating in a particularly tough rally as we wound our way out through the tortuous lanes on our way to North Wales.</p>  <p>&#160;</p>  <h2>Peak 3 - Snowdon</h2>  <p><a href="http://blogs.oracle.com/reynolds/WindowsLiveWriter/SOAattheTopoftheUK_8291/AntonyandAndyReadingSnowdon_2.jpg"><img title="AntonyandAndyReadingSnowdon" style="border-right: 0px; border-top: 0px; display: inline; margin-left: 0px; border-left: 0px; margin-right: 0px; border-bottom: 0px" height="184" alt="AntonyandAndyReadingSnowdon" src="http://blogs.oracle.com/reynolds/WindowsLiveWriter/SOAattheTopoftheUK_8291/AntonyandAndyReadingSnowdon_thumb.jpg" width="244" align="left" border="0" /></a> The final peak, Snowdon, is the tallest mountain in England and Wales at 1,085m and was challenging in two ways.&#160; When we arrived at 11:50am we had already spent more than 8 hours on mountains and more than 11 hours crammed into what seemed to be a shrinking mini-bus, so we were not at our most energetic.&#160; Also at Snowdon the weather was failing and it was beginning to rain.&#160; However arrival at Snowdon energised us and within a minute of arrival we were striking out towards the mountain.&#160; The initial approach up the Pyg Track was fairly easy going, with just a scramble at the end to reach the summit by 1:45pm.&#160; The summit was cloudy and wet so no-one wanted to hang around for long, especially myself and Andy Gale who found the book rather damp going.&#160; The descent was also very quick, using the Miners Track to drop down off the mountain very rapidly, followed by what felt like a long run/walk around the mountain back to the start point.&#160; We had all arrived back by 4:02pm, meaning that as a group we completed the challenge in 23 hours and 2 minutes.</p>  <h2>Thanks</h2>  <p>Special thanks must go to our drivers, Colin, James, Martin and Jackie who got us between peaks rapidly and safely.&#160; I was very appreciative of Andy Gale who made sure I kept pace on Scafell Pike and Snowdon.&#160; Finally the determination award must go to Neil Spink who despite blisters and damaged knees climbed Snowdon and completed the challenge.</p>  <h2><a href="http://www.justgiving.com/antonyreynolds/" target="_blank">Sponsorship</a></h2>  <p>Apart from wanting to show that we were not all over the hill (most of us were well over 40!) we also wanted to raise money for the <a href="http://www.justgiving.com/antonyreynolds/" target="_blank">NSPCC</a>.&#160; We are still a few hundred pounds shy of raising £10,000 for this charity so please feel free to go to <a href="http://www.justgiving.com/antonyreynolds/" target="_blank">my justgiving page and sponsor me</a>.</p>  <h2>Statistics</h2>  <p>The following is from a GPS tracker we took with us.</p>  <p><strong>Ben Nevis </strong>- start at 51m, Top 1,347m&#160; (include the trig point I guess), distance 15.1km or 9.38 miles</p>  <p><strong>Scafell Pike </strong>- start at 29m, Top&#160; 985m, distance 9 km or.5.59 miles</p>  <p><strong>Snowdon </strong>- Lowest Point 376m, Top 1,088m , distance 12.4 KM or 7.7miles</p>  <p><strong>Total Climb </strong>= 1296 + 956 + 712 = 2,964m or 9,724 ft</p>  <p><strong>Total Distance </strong>= 22.67miles</p>]]></description>
         <link>http://blogs.oracle.com/reynolds/2009/07/soa_at_the_top_of_the_uk.html</link>
         <guid>http://blogs.oracle.com/reynolds/2009/07/soa_at_the_top_of_the_uk.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category">Miscellaneous</category>
        
        
          <category domain="http://www.sixapart.com/ns/types#tag">ThreePeaks SOASuiteBook</category>
        
         <pubDate>Tue, 14 Jul 2009 08:18:05 +0000</pubDate>
      </item>
      
      <item>
         <title>11g SOA Suite Now Available</title>
         <description><![CDATA[<p>Today sees not only the <a href="http://www.oracle.com/webapps/events/EventsDetail.jsp?p_eventId=95671&amp;src=6749911&amp;src=6749911&amp;Act=209&amp;msgid=7962525" target="_blank">official launch of SOA Suite 11g</a> but also the availability of the software.&#160; You can download it all now from OTN.&#160; Downloads are available for Windows, Linux, Solaris and HP-UX.&#160; You will need the following to develop and run 11g SOA Suite applications.</p>  <ul>   <li><a href="http://www.oracle.com/technology/software/products/ias/htdocs/wls_main.html" target="_blank">Oracle WebLogic Server 11g R1</a> (with or without Oracle Enterprise Pack for Eclipse - OEPE).</li>    <li><a href="http://www.oracle.com/technology/software/products/middleware/htdocs/111110_fmw.html" target="_blank">Oracle SOA Suite 11g R1</a> (includes BPEL, Human Workflow, Business Rules, BAM, Mediator, B2B, OWSM, User Messaging Service and Enterprise Manager Fusion Middleware Control)</li>    <li><a href="http://www.oracle.com/technology/software/products/middleware/htdocs/111110_fmw.html" target="_blank">Oracle Repository Creation Utility 11g R1</a> (creates the database schemas needed by SOA Suite and other components)</li>    <li><a href="http://www.oracle.com/technology/software/products/jdev/htdocs/soft11.html" target="_blank">Oracle JDeveloper 11g R1</a> this also needs the SOA plug in which should be available through the JDev extensions mechanism.</li>    <li><a href="http://www.oracle.com/technology/documentation/middleware.html" target="_blank">Documentation</a> is also available online or may be downloaded.</li> </ul>  <p>Watch the launch webcast and enjoy the latest release of the software, it a big step forward for SOA Suite.</p>]]></description>
         <link>http://blogs.oracle.com/reynolds/2009/07/11g_soa_suite_now_available.html</link>
         <guid>http://blogs.oracle.com/reynolds/2009/07/11g_soa_suite_now_available.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category">SOA Suite</category>
        
        
          <category domain="http://www.sixapart.com/ns/types#tag">11g SOASuite</category>
        
         <pubDate>Wed, 01 Jul 2009 16:02:13 +0000</pubDate>
      </item>
      
      <item>
         <title>Clustering SOA Suite</title>
         <description><![CDATA[<h1>Building a SOA Suite Cluster</h1>  <p>Having spent a couple of weeks working on a SOA Suite cluster thought I would share some thoughts around clustering and SOA Suite.&#160; Clustering of both BPEL Process Manager and Oracle Service Bus is relatively straightforward but there are a few gotchas.&#160; Both BPEL and SOA Suite are stateless in the way they implement clustering, however BPEL does of course persist state to a database.</p>  <h2>SOA Suite Clusters</h2>  <p><a href="http://blogs.oracle.com/reynolds/WindowsLiveWriter/ClusteringSOASuite_EB25/image_2.png"><img title="image" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="220" alt="image" src="http://blogs.oracle.com/reynolds/WindowsLiveWriter/ClusteringSOASuite_EB25/image_thumb.png" width="379" align="left" border="0" /></a>Both BPEL and OSB clusters expect to be fronted by a load balancer.&#160; Both can provide load balancing through a front end web server but a hardware load balancer is the best approach as shown in the diagram.</p>  <p>In this example we have an Oracle Real Application Cluster database running on 3-nodes to provide a high availability database environment.&#160; We then have two clusters.&#160; A cluster of 5 BPEL Process Manager instances, all pointing to the same RAC database, and a cluster of 5 OSB instances.&#160; The BPEL cluster and the OSB cluster are both fronted by two hardware load balancers.</p>  <p>The BPEL instances and the OSB instances are in an active-active mode, meaning that all nodes are processing requests at the same time.&#160; The load balancers are in active-passive mode, meaning that one load balancer processes all the traffic with the other load balancer acting as a hot standby in case of failure of the first load balancer.</p>  <p>This configuration avoids a single point of failure as every component is duplicated.&#160; The system has been sized to be able to sustain the expected load even in the event of losing a machine.&#160; This is known as "n+1" architecture, meaning that we need "n" machines to meet the requirements and so we provide "n+1" machines to allow for machine failure.&#160; In the example shown we actually have two machines more than we need in normal operation because the the RAC database is running an "n+1" configuration as well as the SOA Suite.&#160; Note that by running OSB on the same machines as BPEL we reduce the amount of extra hardware needed for failover and also reduce the latency of OSB-BPEL communication.</p>  <p>In the event of a failure then only in-process requests would be impacted.&#160; Any requests that are "idempotent" (meaning they can be resubmitted with no ill effects) can be set up to automatically retry, further reducing the impact of a software or hardware failure.&#160; Both BPEL and OSB can be set to automatically retry requests in event of failure, making the failover transparent.</p>  <p>Note that clustering does not help if we have a site failure due to fire, flooding, power failure or air conditioning failure for example.&#160; In those cases we would need to have some sort of disaster recovery site, perhaps using Oracle Data Guard to keep the sites in synch at the database level.</p>  <h2>BPEL Clusters</h2>  <p>A BPEL cluster is effectively defined by a shared dehydration store.&#160; Synchronous interactions must be processed within a single BPEL server instance, as the client has connected to a socket and expects a response on that same socket.&#160; Asynchronous interactions are like any other long running BPEL process and may start processing on one node and then have processing resumed on another node, either due to failure or some other event.&#160; The dehydration store (an oracle RAC database in the example above) provides a common location for process state that allows any BPEL instance to resume execution of a process instance.</p>  <p>When installing a BPEL cluster the best place to start is the <a href="http://download.oracle.com/docs/cd/B31017_01/core.1013/b28941/soa.htm#BGBJIFHH" target="_blank">High Availability Guide</a>.&#160; This outlines that you create a BPEL cluster by doing the following:</p>  <ul>   <li>Get the address of the load balancer.</li>    <li>Run the repository creation assistant to create the BPEL meta-data in the database.</li>    <li>Install OHS and OC4J components on the machines.</li>    <li>Install BPEL Process Manager into the app server instances installed previously.</li>    <li>If using a RAC database make sure that the JNDI data sources are using all RAC nodes.&#160; See the Enterprise Deployment Guide for <a href="http://download.oracle.com/docs/cd/B31017_01/core.1013/b28939/j2ee.htm#ASTED006" target="_blank">instructions on using Fast Connection Failover</a>.</li>    <li>Configure BPEL in a cluster as outlined in the <a href="http://download.oracle.com/docs/cd/B31017_01/core.1013/b28939/j2ee.htm#sthref134" target="_blank">Enterprise Deployment Guide</a>.</li>    <ul>     <li>Set up JGroups to make all nodes aware of each other in the cluster.&#160; Note that in 11g Coherence will be used for this which will simplify configuration.</li>      <li>Set enableCluster and ClusterName in the collaxa-config.xml file.</li>      <li>Make sure the BPEL PM instances all use the load balancer address for server URL and callback URLs.&#160; This ensures that in event of node failure requests and responses are rerouted to remaining instances.</li>   </ul>    <li>Deploy processes on each node to make sure that all components are available on all nodes.&#160; If you don't do this some processes will work because they don't have dependencies on non-BPEL components, but others will not.</li> </ul>  <p>Once set up use the BPEL fault handling framework to make sure that any calls to OSB are automatically retried in event of failure.</p>  <h2>OSB Clusters</h2>  <p>An OSB domain may have a single OSB cluster.&#160; This cluster is installed like any other cluster in WebLogic.&#160; Details on configuring the cluster can be found in the <a href="http://download.oracle.com/docs/cd/E12840_01/common/docs103/confgwiz/index.html" target="_blank">Creating WebLogic Domains Using the Configuration Wizard</a> documentation.&#160; For normal operation the OSB cluster is completely stateless, however the metrics gathering and aggregation takes place in a singleton service that by default is assigned to the first machine created in the cluster.&#160; If this server fails then metrics will stay in the message queues to which they are delivered until a new instance starts.</p>  <ul>   <li>Get address of the load balancer.</li>    <li>Install OSB software onto each machine or into a single shared location.&#160; If a shared location make sure that the reference to it is the same on each machine.</li>    <li>Create an OSB domain</li>    <ul>     <li>Creating a cluster and machines and assign servers to machines as explained in the <a href="http://download.oracle.com/docs/cd/E12840_01/common/docs103/confgwiz/custom-alsb.html#wp1092169" target="_blank">Creating WebLogic Domains Using the Configuration Wizard</a> documentation.</li>      <li>Use load balancer address for cluster address.</li>   </ul>    <li>If you are not using a shared file location for your OSB install then you need to copy the contents of the osb domain directory to all nodes.&#160; This ensure that the correct scripts are available for the node manager to launch managed servers.</li>    <li>Run node manager on each machine.</li>    <li>You can now launch your admin server and start the managed servers one at a time.&#160; It is recommended that you start the OSB server running the data collectors first.&#160; This will avoid timeouts on the other machines in the cluster and ensure that metrics are available.</li>    <li>If message queues are required to be highly available then they should use persistent storage either on a shared highly available disk (a SAN for example) or they should use database persistence.</li>    <li>If you are using an Oracle database then you should configure your OSB domain to store metrics in the Oracle database rather than in pointbase as explained in <a href="http://download.oracle.com/docs/cd/E12840_01/common/docs103/confgwiz/howdoi.html#wp1096686" target="_blank">Creating WebLogic Domains Using the Configuration Wizard</a>.</li> </ul>  <p>When calling BPEL or external web services from OSB make sure that you specify retries to allow for node failure.&#160; Intra-OSB calls should be done using "local" transport for efficiency.</p>  <h2>Summary</h2>  <p>Configuring a cluster is a bit more involved than configuring a single instance, but it is not massively more complicated and it does provide both scalability and high availability.&#160; Both BPEL and OSB scale linearly with increased nodes.&#160; The only limitation on BPEL is the load on the backend dehydration store.&#160; So go ahead, enjoy a cluster!</p>]]></description>
         <link>http://blogs.oracle.com/reynolds/2009/06/clustering_soa_suite.html</link>
         <guid>http://blogs.oracle.com/reynolds/2009/06/clustering_soa_suite.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category">SOA Suite</category>
        
        
          <category domain="http://www.sixapart.com/ns/types#tag">Cluster SOASuite OSB BPEL</category>
        
         <pubDate>Tue, 30 Jun 2009 15:44:12 +0000</pubDate>
      </item>
      
      <item>
         <title>OTN Podcast</title>
         <description><![CDATA[<p><a href="http://feeds2.feedburner.com/OtnArch2Arch"><img style="display: inline; margin: 0px 10px 0px 0px" src="http://www.oracle.com/technology/syndication/arch2arch-podcasts/arch2arch-podcasts-small.gif" align="left" /></a> OTN have just posted a podcast “<a href="http://streaming.oracle.com/ebn/podcasts/A2A/media/7705720_soa_suite_dev_guide.mp3">Oracle SOA Suite Developer's Guide: An Architect's Perspective</a>” featuring an interview by Bob Rhubart with myself and <a href="http://blogs.bpel-people.com/">Matt Wright</a> about our book, the <a href="https://www.packtpub.com/developers-guide-for-oracle-soa-suite-10gr3/book" target="_blank">Oracle SOA Suite Developers Guide</a>.&#160; Matt comes across sounding calm and assured and I come across as …, well I’ll let you decide for yourself.&#160; In my defence the interview was about 11pm my time and 8am Matts time, with Bob splitting the difference at about 3pm.&#160; Listen and Enjoy.</p>]]></description>
         <link>http://blogs.oracle.com/reynolds/2009/06/otn_podcast.html</link>
         <guid>http://blogs.oracle.com/reynolds/2009/06/otn_podcast.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category">SOA Suite</category>
        
        
         <pubDate>Wed, 03 Jun 2009 23:19:56 +0000</pubDate>
      </item>
      
      <item>
         <title>Using 11g Database with SOA Suite 10.1.3</title>
         <description><![CDATA[<h1>Installing SOA Suite 10.1.3 with an 11g Database</h1>  <p>Just at a customer who has an 11g RAC database that he wants to use for his SOA repository.&#160; If you try and install SOA Suite into an 11g database, it tells you that the database is not supported and the irca configuration assistant fails to find a java library.&#160; 11g is a certified platform for SOA Suite 10.1.3.4 so here is how to get it installed.</p>  <h2>IRCA</h2>  <p>Before installing the SOA Suite executables you need to run the irca script to create the SOA Suite schemas in the 11g database.&#160; The irca script needs to be able to find an ojdbc14.jar file.&#160; This file is not shipped with the 11g database which provides libraries for Java 5 and Java 6 rather than the almost obsolete Java 1.4.&#160; This leaves you with a couple of options;</p>  <ul>   <li>Use an Oracle 10g home as your Oracle home, if you have one on the machine, when running irca. </li>    <li>Copy the JDBC libraries from an Oracle 10g home (&lt;Oracle10g_Home&gt;/jdbc/lib) to the Oracle 11g jdbc location (&lt;Oracle11g_Home&gt;/jdbc/lib). </li> </ul>  <p>Having done this then the irca script should run fine and create the ORABPEL, ORESB and ORAWSM schemas for you in an 11g database.&#160; You are now ready to run the SOA Suite installer.</p>  <h2>Installer</h2>  <p>When you run the installer to create the SOA Suite instance it will fail when checking for the existence of the SOA Suite schemas unless you patch the installer files first.&#160; The way to do this is to download patch 6265268 from MetaLink and follow the instructions which basically require you to modify the install media as follows:</p>  <ul>   <li>Replace DBConnectQueries.jar      <ul>       <li>Move          <ul>           <li><strong>&lt;MEDIA&gt;/stage/Queries/DBConnectQueries/8.4/1/DBConnectQueries.jar </strong></li>         </ul>       </li>        <li>to          <ul>           <li><strong>&lt;MEDIA&gt;/stage/Queries/DBConnectQueries/8.4/1/DBConnectQueries.jar.pre6265268 </strong></li>         </ul>       </li>        <li>Copy          <ul>           <li><strong>&lt;PATCH&gt;/DBConnectQueries.jar </strong></li>         </ul>       </li>        <li>from the patch to </li>        <ul>         <li><strong>&lt;MEDIA&gt;/stage/Queries/DBConnectQueries/8.4/1/DBConnectQueries.jar</strong></li>       </ul>        <li><em>Note that the current patch documentation incorrectly refers to an 8.5 directory rather than the 8.4 that actually exists.</em></li>     </ul>   </li>    <li>Replace IP_DBQueries.jar      <ul>       <li>Move          <ul>           <li><strong>&lt;MEDIA&gt;/stage/Queries/IP_DBQueries/3.0/1/IP_DBQueries.jar </strong></li>         </ul>       </li>        <li>to          <ul>           <li><strong>&lt;MEDIA&gt;/stage/Queries/IP_DBQueries/3.0/1/IP_DBQueries.jar.pre6265268 </strong></li>         </ul>       </li>        <li>Copy          <ul>           <li><strong>&lt;PATCH&gt;/IP_DBQueries.jar </strong></li>         </ul>       </li>        <li>from the patch to          <ul>           <li><strong>&lt;MEDIA&gt;/stage/Queries/IP_DBQueries/3.0/1/IP_DBQueries.jar </strong></li>         </ul>       </li>     </ul>   </li> </ul>  <p>You can now launch the installer and there will be no complaints about an 11g database.&#160; Note that if you are installing a SOA Suite cluster then this will need to be done for each SOA Suite instance being installed.</p>  <h2>What’s the Point?</h2>  <p>As you are making these changes your mind keeps asking why you are doing this.&#160; Apart from being told to do so by your DBAs there are some good reasons for using 11g.&#160; The 11g database is the most manageable Oracle database ever, and several options only work on the 11g database.&#160; 11gR1 has been out for a long time now and so from a longevity perspective its best to put new deployments on an 11gR1 platform even if you have a release-1 strategy to avoid “bleeding edge” deployments.</p>  <p>Finally as you can see, it is not that hard to use an 11g database with SOA Suite.</p>]]></description>
         <link>http://blogs.oracle.com/reynolds/2009/05/using_11g_database_with_soa_su.html</link>
         <guid>http://blogs.oracle.com/reynolds/2009/05/using_11g_database_with_soa_su.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category">SOA Suite</category>
        
        
         <pubDate>Tue, 19 May 2009 04:15:52 +0000</pubDate>
      </item>
      
      <item>
         <title>Using Oracle Enterprise Linux with SOA Suite 10.1.3</title>
         <description><![CDATA[<p>I have just been with a customer who was using Oracle Enterprise Linux 5.&#160; Now this shouldn’t be any different from other Linux installations except for one minor problem, the SOA Suite installer insists on checking that the Linux flavor is one explicitly supported by SOA Suite.&#160; Well OEL wasn’t in the list when SOA Suite 10.1.3.1 came out and so the installer fails on the pre-requisite checks and won’t go any further, even if you applied all the required patches to the OS.&#160; Fortunately there is a patch 6339508 which provides replacement pre-requisite tests.&#160; To use it you need to add two parameters to the runInstaller command as shown below.</p>  <blockquote>   <p>./runInstaller PREREQ_CONFIG_LOCATION=&lt;PATCH_LOC&gt;/prereq –paramFile &lt;PATCH_LOC&gt;/oraparam.ini</p> </blockquote>  <p>PATCH_LOC is the location where you unzipped the 6339508 patch.&#160; With these new parameters the installer correctly recognizes Oracle Enterprise Linux as a supported platform.&#160; Note that OEL needs some specific patches when used with SOA Suite and these need to be installed prior to running the installer.&#160; Check the documentation for details.</p>  <p>I am seeing an increasing number of customers taking up OEL, I think because of the attraction of a single company supporting the whole technology infrastructure stack, OS, AS and DB.&#160; I expect to see more of this still in the future.</p>]]></description>
         <link>http://blogs.oracle.com/reynolds/2009/05/using_oracle_enterprise_linux.html</link>
         <guid>http://blogs.oracle.com/reynolds/2009/05/using_oracle_enterprise_linux.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category">SOA Suite</category>
        
        
         <pubDate>Mon, 18 May 2009 04:17:03 +0000</pubDate>
      </item>
      
      <item>
         <title>Raising Money for the NSPCC</title>
         <description><![CDATA[<p><a href="http://blogs.oracle.com/reynolds/WindowsLiveWriter/RaisingMoneyfortheNSPCC_9FB1/image_2.png"><img title="image" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; margin-left: 0px; margin-right: 0px; border-right-width: 0px" height="244" alt="image" src="http://blogs.oracle.com/reynolds/WindowsLiveWriter/RaisingMoneyfortheNSPCC_9FB1/image_thumb.png" width="176" align="left" border="0" /></a>One of Oracles chosen charities in the UK is the <a href="http://www.nspcc.org.uk/" target="_blank">NSPCC, the National Society for the Prevention of Cruelty to Children.</a>&#160; The NSPCC is the UK's leading charity specialising in child protection and the prevention of cruelty to children. It is the only children's charity with statutory powers, enabling it to act to safeguard children.&#160; In the UK it is well known for running <a href="http://www.nspcc.org.uk/helpandadvice/whoturnto/childline/childline_wda36385.html" target="_blank">Child Line</a>, a 24-hour helpline for children in distress or danger. Trained volunteer counsellors comfort, advise and protect children and young people who may feel they have nowhere else to turn.</p>  <p>This year together with a number of other Oracle UK employees I will be participating in the <a href="http://en.wikipedia.org/wiki/National_Three_Peaks_Challenge" target="_blank">Three Peaks Challenge</a> in July - climbing to the top of <a href="http://en.wikipedia.org/wiki/Ben_Nevis" target="_blank">Ben Nevis</a>, <a href="http://en.wikipedia.org/wiki/Scafell_Pike" target="_blank">Scafell Pike</a> and <a href="http://en.wikipedia.org/wiki/Snowdon" target="_blank">Snowdon</a>, all within 24 hours.</p> <object type="application/x-shockwave-flash" allowScriptAccess="always" allowNetworking="all" height="230" width="150" align="right" data="http://www.justgiving.com/widgets/jgwidget.swf" flashvars="EggId=1887203&IsMS=0"><param name="movie" value="http://www.justgiving.com/widgets/jgwidget.swf" /><param name="allowScriptAccess" value="always" /><param name="allowNetworking" value="all" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><param name="flashvars" value="EggId=1887203&amp;IsMS=0" /><param name="bgcolor" value="#ffffff" /></object>  <p>This will be no mean feat - it involves making your own sandwiches as well as walking for 15 hours/30 miles up/down over 10,000 feet interspersed with 500miles of driving. I've been walking up and down stairs in the office for weeks in preparation.</p>  <p>If you would like to sponsor me in this somewhat madcap activity, then <a href="http://www.justgiving.com/antonyreynolds" target="_blank">donations can be made via PayPal, Credit or Debit Card at my Justgiving site</a>.&#160; If you’re a UK taxpayer, Justgiving makes sure 25% in Gift Aid, plus a 3% supplement, are added to your donation.</p>  <p>So go ahead, sponsor me!</p>]]></description>
         <link>http://blogs.oracle.com/reynolds/2009/05/raising_money_for_the_nspcc.html</link>
         <guid>http://blogs.oracle.com/reynolds/2009/05/raising_money_for_the_nspcc.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category">Miscellaneous</category>
        
        
         <pubDate>Thu, 14 May 2009 10:22:05 +0000</pubDate>
      </item>
      
      <item>
         <title>Mastering Details with Flat Files</title>
         <description><![CDATA[<h2>The Problem</h2>  <p>The native format builder wizard in the file adapter is great at reading flat file structures but doesn’t support reading more structured file structures.&#160; Sometimes we need to read more complex structures such as master-detail records.&#160; Let’s look at how we can use the file adapter to read structured file formats.</p>  <p>For example imagine a laundry list file such as the one below:</p>  <blockquote>   <table cellspacing="0" cellpadding="2" width="200" border="1"><tbody>       <tr>         <td valign="top" width="198">P,101,James            <br />L,Shirt,2,Starch             <br />L,Socks,6,De-odorise             <br />L,Pants,2,Remove Stains</td>       </tr>        <tr>         <td valign="top" width="198">P,220,JoJo            <br />L,Sweatshirt,1,Handwash             <br />L,Shirt,3,No Iron             <br />L,Socks,2,Iron             <br />L,Pants,2,Steam Press             <br />L,Tie,1,Dry clean</td>       </tr>        <tr>         <td valign="top" width="198">P,305,Ruth            <br />L,Skirt,7,Iron Pleats             <br />L,Socks,8,Iron</td>       </tr>     </tbody></table> </blockquote>  <p>To make it easier to see the record structure I have put boxes around the individual records.&#160; This can be represented in XML as shown below</p>  <p><a href="http://blogs.oracle.com/reynolds/WindowsLiveWriter/MasteringDetailswithFlatFiles_111FA/image_4.png"><img title="image" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="202" alt="image" src="http://blogs.oracle.com/reynolds/WindowsLiveWriter/MasteringDetailswithFlatFiles_111FA/image_thumb_1.png" width="604" border="0" /></a> </p>  <p>The native format builder wizard would either treat each line as either the same type of record (“Multiple records are of single type”) or as two different types of record (“Multiple records are of different types”).</p>  <p><a href="http://blogs.oracle.com/reynolds/WindowsLiveWriter/MasteringDetailswithFlatFiles_111FA/image_2.png"><img title="image" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="348" alt="image" src="http://blogs.oracle.com/reynolds/WindowsLiveWriter/MasteringDetailswithFlatFiles_111FA/image_thumb.png" width="463" border="0" /></a></p>  <p>In the first case we would have a single record type with four fields that fails to distinguish between people (lines pre-fixed with ‘P’) and laundry items (lines pre-fixed with ‘L’).&#160; This does not reflect the fact that the two lines are of different types.&#160; The second case, multiple records are of different types, is closer to what we want.&#160; It creates two records types, the type being determined by the value of the first field.&#160; The XML for this is shown below:</p>  <p><a href="http://blogs.oracle.com/reynolds/WindowsLiveWriter/MasteringDetailswithFlatFiles_111FA/image_6.png"><img title="image" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="279" alt="image" src="http://blogs.oracle.com/reynolds/WindowsLiveWriter/MasteringDetailswithFlatFiles_111FA/image_thumb_2.png" width="484" border="0" /></a> </p>  <p>However this case creates a list of two record types with no recognition that one record is nested inside the other.</p>  <p>Comparing the two XML representations we can see what needs to be done; we need to add an Items element under Room and move the Item element to be under Items.&#160; The question is how do we describe this using the <a href="http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28994/nfb.htm#CIAEFBHH" target="_blank">native schema constructs</a> supported by the file adapter.</p>  <h2>Creating a Master-Detail Records Native Format Schema</h2>  <p>The easiest way to deal with this is to use the native format builder wizard in the file adapter to create the basic outline of the records for us.&#160; We choose “Multiple records are of different types” and provide appropriate names for the two records types and individual fields within the records.</p>  <p>Having created the basic native format schema we can now edit it to be exactly the way we want it for the laundry list.</p>  <p>We make the following changes in the generated native schema file:</p>  <ul>   <li>Replace the &lt;choice&gt; element by a &lt;sequence&gt; element.&#160; In conjunction with other changes this will give us a list of elements of the same type, rather than of list of elements of two different types.      <ul>       <li>         <table cellspacing="0" cellpadding="2" width="509" border="1"><tbody>             <tr>               <td valign="top" width="390">&lt;xsd:<strong>choice minOccurs=&quot;1&quot; maxOccurs=&quot;unbounded&quot;                    <br />&#160;&#160;&#160; nxsd:choiceCondition=&quot;terminated&quot;                     <br />&#160;&#160;&#160; nxsd:terminatedBy=&quot;,&quot;</strong>&gt;                   <br />&#160;&#160;&#160; …                   <br />&lt;/xsd:<strong>choice</strong>&gt;</td>                <td valign="top" width="117">&lt;xsd:<strong>sequence</strong>&gt;                   <br />&#160;&#160; …                   <br />&lt;/xsd:<strong>sequence</strong>&gt;</td>             </tr>           </tbody></table>       </li>     </ul>   </li>    <li>Replace the conditionValue attributes with startsWith attributes and add a comma to the end of the attribute values.&#160; This will allow the native schema processor to identify the start of master records and child records.&#160; We also add a maxOccurs attribute to the elements modified so that they can have multiple instances in a sequence.      <ul>       <li>         <table cellspacing="0" cellpadding="2" width="450" border="1"><tbody>             <tr>               <td valign="top" width="213">&lt;xsd:element name=&quot;Item&quot;                  <br />&#160;&#160;&#160; nxsd:<strong>conditionValue=&quot;L&quot;</strong>&gt;                   <br />…                   <br />&lt;/xsd:element&gt;</td>                <td valign="top" width="235">&lt;xsd:element name=&quot;Item&quot;                  <br />&#160;&#160;&#160; nxsd:<strong>startsWith=&quot;L,&quot;                    <br />&#160;&#160;&#160; maxOccurs=&quot;unbounded&quot;</strong>&gt;                   <br />…                   <br />&lt;/xsd:element&gt;</td>             </tr>              <tr>               <td valign="top" width="213">&lt;xsd:element name=&quot;Room&quot;                  <br />&#160;&#160;&#160; nxsd:<strong>conditionValue=&quot;P&quot;</strong>&gt;                   <br />…                   <br />&lt;/xsd:element&gt;</td>                <td valign="top" width="235">&lt;xsd:element name=&quot;Room&quot;                  <br />&#160;&#160;&#160; nxsd:<strong>startsWith=&quot;P,&quot;                    <br />&#160;&#160;&#160; maxOccurs=&quot;unbounded&quot;</strong>&gt;                   <br />&#160;&#160;&#160; …                   <br />&lt;/xsd:element&gt;</td>             </tr>           </tbody></table>       </li>     </ul>   </li>    <li>Add an &lt;Items&gt; element as a sequence to the &lt;Room&gt; element sequence and move the &lt;Item&gt; element to be inside the &lt;Items&gt; sequence.      <ul>       <p>&lt;xsd:element name=&quot;Room&quot; nxsd:startsWith=&quot;P,&quot; maxOccurs=&quot;unbounded&quot;&gt;          <br />&#160;&#160;&#160; &lt;xsd:complexType&gt;           <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;xsd:sequence&gt;           <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; …           <br /><strong>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;xsd:element name=&quot;Items&quot; maxOccurs=&quot;1&quot;&gt;            <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;xsd:complexType&gt;             <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;xsd:sequence&gt;             <br /></strong>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;xsd:element name=&quot;Item&quot; nxsd:startsWith=&quot;L,&quot; maxOccurs=&quot;unbounded&quot;&gt;           <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; …           <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/xsd:element&gt;           <br /><strong>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/xsd:sequence&gt;            <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/xsd:complexType&gt;             <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/xsd:element&gt;             <br /></strong>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/xsd:sequence&gt;           <br />&#160;&#160;&#160; &lt;/xsd:complexType&gt;           <br />&lt;/xsd:element&gt;</p>     </ul>   </li> </ul>  <p>This gives us a native schema format that looks like this:</p>  <p><a href="http://blogs.oracle.com/reynolds/WindowsLiveWriter/MasteringDetailswithFlatFiles_111FA/image_8.png"><img title="image" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="192" alt="image" src="http://blogs.oracle.com/reynolds/WindowsLiveWriter/MasteringDetailswithFlatFiles_111FA/image_thumb_3.png" width="604" border="0" /></a> </p>  <p>Note that this is the structure that we were aiming for in the first place.</p>  <h2>Sample Code</h2>  <p>I have created a simple BPEL process that performs the following steps</p>  <ul>   <li>Read a laundry file using the wizard generated native schema format.&#160; This creates an XML document with two distinct records types.      <ul>       <li>Note that in the process I do not delete the file so it is important to make sure that if you re-use the same file with the process you need to update its timestamp! </li>     </ul>   </li>    <li>Read the laundry file again using the modified native schema format.&#160; This creates an XML document with master-detail style records which reflects the actual format of the file.      <ul>       <li>Note that I use a synch read with the filename provided by the inbound header from the previous file read.&#160;&#160; I delete the input file after reading it. </li>     </ul>   </li>    <li>Write the laundry file using a pure XML schema to create an XML document file of the laundry list. </li> </ul>  <p><a href="http://blogs.oracle.com/reynolds/MasterDetailFileProcess.zip"><img title="MasterDetailFileProcess" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="484" alt="MasterDetailFileProcess" src="http://blogs.oracle.com/reynolds/WindowsLiveWriter/MasteringDetailswithFlatFiles_111FA/MasterDetailFileProcess_3.jpg" width="624" border="0" /></a> </p>  <p>Sample code is zipped up as a JDeveloper project and can be <a href="http://blogs.oracle.com/reynolds/MasterDetailFileProcess.zip">downloaded here</a>.&#160; In addition to the normal BPEL artifacts within the project, I have included a sample laundry file (laundry.sample.txt) in the top level of the project directory.&#160; After deploying to a BPEL server the process will look in C:\FileTransfer\InBound for the input file, after processing the input file it is written to C:\FileTransfer\Processed and the output file is generated in C:\FileTransfer\OutBound.&#160; Either create appropriate directories or edit the project to use new directories.</p>  <h2>Documentation</h2>  <p>This entry has used the facilities of the native format schemas in SOA Suite.&#160; These are documented in <a href="http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28994/nfb.htm" target="_blank">chapter 7 of the Oracle® Application Server Adapters for Files, FTP, Databases, and Enterprise Messaging User's Guide</a>.</p>  <p></p>  <p>Good luck in using the adapters to process master-detail records!</p>]]></description>
         <link>http://blogs.oracle.com/reynolds/2009/05/mastering_details_with_flat_fi.html</link>
         <guid>http://blogs.oracle.com/reynolds/2009/05/mastering_details_with_flat_fi.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category">SOA Suite</category>
        
        
         <pubDate>Mon, 11 May 2009 12:07:19 +0000</pubDate>
      </item>
      
      <item>
         <title>Open Group SOA Source Book</title>
         <description><![CDATA[<p><img style="display: inline; margin-left: 0px; margin-right: 0px" src="http://www.opengroup.org/images2/the-open-group.gif" /> </p>  <p>Last Wednesday <a href="http://www.opengroup.org/" target="_blank">the Open Group</a> made available their <a href="http://www.opengroup.org/projects/soa-book/" target="_blank">SOA Source Book</a>.&#160; They describe it as “a collection of source material produced by the <a href="https://www.opengroup.org/projects/soa/uploads/40/18697/SOA_WG.pdf" target="_blank">SOA Working Group</a> for use by enterprise architects working with Service-Oriented Architecture”.&#160; Having looked at it I have to say it seems to have a high information density and would be a good place to start getting someone's head around SOA concepts.&#160; Well worth a look.</p>]]></description>
         <link>http://blogs.oracle.com/reynolds/2009/05/open_group_soa_source_book.html</link>
         <guid>http://blogs.oracle.com/reynolds/2009/05/open_group_soa_source_book.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category">SOA</category>
        
        
         <pubDate>Wed, 06 May 2009 13:44:38 +0000</pubDate>
      </item>
      
      <item>
         <title>Tuxedo Connections</title>
         <description><![CDATA[<h1>Tuxedo Connections or the On Ramp to Tux</h1>  <p>Tuxedo can be considered as the original and purest service oriented architecture.&#160; The key abstraction in Tuxedo is the service and everything is made to fit into the service mould.&#160; It seems strange then that people think of Tuxedo as a legacy application.&#160; Tuxedo is highly regarded by the senior management team in Oracle who view it as a key tool to support extreme transaction processing.&#160; The question is then, how does this relate to the rest of the SOA world which does not subscribe to the Tuxedo technologies such ATMI, C++ or COBOL.</p>  <p>The diagram below shows the different interfaces into and out of the Tuxedo world.&#160; Lets look at them briefly and how they relate to the rest of the SOA world which is focussed on XML, SOAP and HTTP.<a href="http://blogs.oracle.com/reynolds/WindowsLiveWriter/TuxedoConnections_322A/image_2.png"><img title="image" style="border-right: 0px; border-top: 0px; display: block; float: none; margin-left: auto; border-left: 0px; margin-right: auto; border-bottom: 0px" height="255" alt="image" src="http://blogs.oracle.com/reynolds/WindowsLiveWriter/TuxedoConnections_322A/image_thumb.png" width="644" border="0" /></a></p>  <h2>Native Client Interfaces</h2>  <p>The native client interfaces to Tuxedo are the C, C++, .Net or COBOL client interfaces using ATMI (Application to Transaction Monitor Interface).&#160; There is also a version of ATMI for Java, called Jolt.&#160; These interfaces allow clients to invoke Tuxedo services and get responses.&#160; They do not allow Tuxedo to invoke services in these clients except by listening on Tuxedo message queues, these interfaces are asymmetric.</p>  <h2>Legacy Client and Server Interfaces</h2>  <p>A Tuxedo domain can interface to other Tuxedo domains, treating their services as though they were its own services.&#160; This capability is extended to other systems such as mainframe systems.&#160; The external systems see Tuxedo services as native services and invoke them as they would any other service, similarly Tuxedo sees these external systems as native Tuxedo services and invokes them as it would any other service.&#160; This provides relatively seamless integration between legacy environments and Tuxedo and allows either side to operate as a server to the other, in other words these interfaces are symmetric.</p>  <h2>Open System Interfaces</h2>  <p>In addition to treating legacy mainframe interfaces and other Tuxedo domains in the same way as local services Tuxedo can also do this for such open system standards as CORBA and java code running in WebLogic Server.&#160; CORBA applications can invoke Tux services through the CORBA API and Tuxedo services can invoke CORBA objects.&#160; The WebLogic Tuxedo Connector (WTC) extends the capabilities of Jolt to become fully symmetric in that EJBs in WebLogic can be invoked as services from Tuxedo.</p>  <h2>A Transactional Note</h2>  <p>Note that all the interfaces we have spoken about so far are transactional, as in they are part of the Tuxedo transaction infrastructure, invoking a remote mainframe transaction may cause an XA transaction to be started within Tuxedo.&#160; When calling an EJB in WebLogic this also is part of the overall Tuxedo XA transaction infrastructure.</p>  <h2>Web Service Access to Tuxedo</h2>  <p>There are two alternative ways to get Web Services to access Tuxedo.&#160; The most obvious is to use SALT (Service Architecture Leveraging Tuxedo) which exposes Tuxedo services as web services, and allows Tuxedo to invoke Web Services as though they were Tuxedo services.&#160; This is a symmetric interface and takes care of all the XML to Tuxedo translations but it is not transactional.&#160; The web service call is not part of the transaction.&#160; A web service request to Tuxedo may cause a Tux transaction to be initiated, but webs services don’t currently provide a transactional context.&#160; Similarly when Tux makes a call to a web service, that call is not part of any Tuxedo transaction.</p>  <p>So what if you want transactionality and access to web services.&#160; This is where the service bus comes in.&#160; The Oracle Service Bus (OSB) takes advantage of the WebLogic Tuxedo Connector to provide a fast efficient and transactional interface to and from the Tuxedo world.&#160; This allows a pipeline to make two seperate calls to Tuxedo as part of the same transaction.&#160; Note that there are a couple fo wrinkles to making this happen and I will deal with those in a later post.</p>  <h2>Summary – Long Live Tux, King of Services</h2>  <p>Not only is Tuxedo the original service oriented architecture but despite being more than 20 years old, through SALT and WebLogic Tuxedo Connector it still speaks the modern lingo of service buses, Java, XML, SOAP and HTTP.&#160; So if you have a Tuxedo investment don’t write it off, but look at how you can more easily make your Tux services available to the new fangled XML based web service world.</p>]]></description>
         <link>http://blogs.oracle.com/reynolds/2009/04/tuxedo_connections.html</link>
         <guid>http://blogs.oracle.com/reynolds/2009/04/tuxedo_connections.html</guid>
        
          <category domain="http://www.sixapart.com/ns/types#category">SOA</category>
        
        
         <pubDate>Wed, 22 Apr 2009 02:34:48 +0000</pubDate>
      </item>
      
   </channel>
</rss>
