riftsaw SVN: r1078 - trunk.
by riftsaw-commits@lists.jboss.org
Author: heiko.braun(a)jboss.com
Date: 2010-11-02 16:34:21 -0400 (Tue, 02 Nov 2010)
New Revision: 1078
Modified:
trunk/pom.xml
Log:
set console version 2.2.3-Final and activity-monitor 1.0.0-Beta2
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2010-11-02 11:28:42 UTC (rev 1077)
+++ trunk/pom.xml 2010-11-02 20:34:21 UTC (rev 1078)
@@ -77,8 +77,8 @@
<properties>
<riftsaw.ode.version>2.2.0-SNAPSHOT</riftsaw.ode.version>
<riftsaw.engine.version>2.2.0-SNAPSHOT</riftsaw.engine.version>
- <bpel.console.version>2.2.2-SNAPSHOT</bpel.console.version>
- <activity.monitor.model.version>1.0.0-SNAPSHOT</activity.monitor.model.version>
+ <bpel.console.version>2.2.3-Final</bpel.console.version>
+ <activity.monitor.model.version>1.0.0-Beta2</activity.monitor.model.version>
<commons.logging.version>1.1.1</commons.logging.version>
<junit.version>4.8.1</junit.version>
<jboss.version>5.1.0.GA</jboss.version>
14 years, 1 month
riftsaw SVN: r1077 - in trunk/docs/docbook/userguide/src/main/en-US: module and 1 other directory.
by riftsaw-commits@lists.jboss.org
Author: heiko.braun(a)jboss.com
Date: 2010-11-02 07:28:42 -0400 (Tue, 02 Nov 2010)
New Revision: 1077
Added:
trunk/docs/docbook/userguide/src/main/en-US/images/Console_data.png
trunk/docs/docbook/userguide/src/main/en-US/images/Console_deployments.png
trunk/docs/docbook/userguide/src/main/en-US/images/Console_execution_path.png
trunk/docs/docbook/userguide/src/main/en-US/images/Console_history.png
trunk/docs/docbook/userguide/src/main/en-US/images/Console_instances.png
trunk/docs/docbook/userguide/src/main/en-US/images/Console_login.png
trunk/docs/docbook/userguide/src/main/en-US/images/Console_more_options.png
trunk/docs/docbook/userguide/src/main/en-US/images/Console_version.png
Modified:
trunk/docs/docbook/userguide/src/main/en-US/module/admin.xml
trunk/docs/docbook/userguide/src/main/en-US/module/clustering.xml
trunk/docs/docbook/userguide/src/main/en-US/module/db.xml
trunk/docs/docbook/userguide/src/main/en-US/module/deploy.xml
trunk/docs/docbook/userguide/src/main/en-US/module/esb.xml
Log:
Added new console sections. Update image path.
Added: trunk/docs/docbook/userguide/src/main/en-US/images/Console_data.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/docbook/userguide/src/main/en-US/images/Console_data.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/docbook/userguide/src/main/en-US/images/Console_deployments.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/docbook/userguide/src/main/en-US/images/Console_deployments.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/docbook/userguide/src/main/en-US/images/Console_execution_path.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/docbook/userguide/src/main/en-US/images/Console_execution_path.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/docbook/userguide/src/main/en-US/images/Console_history.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/docbook/userguide/src/main/en-US/images/Console_history.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/docbook/userguide/src/main/en-US/images/Console_instances.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/docbook/userguide/src/main/en-US/images/Console_instances.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/docbook/userguide/src/main/en-US/images/Console_login.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/docbook/userguide/src/main/en-US/images/Console_login.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/docbook/userguide/src/main/en-US/images/Console_more_options.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/docbook/userguide/src/main/en-US/images/Console_more_options.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/docbook/userguide/src/main/en-US/images/Console_version.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/docbook/userguide/src/main/en-US/images/Console_version.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/docs/docbook/userguide/src/main/en-US/module/admin.xml
===================================================================
--- trunk/docs/docbook/userguide/src/main/en-US/module/admin.xml 2010-11-02 10:41:00 UTC (rev 1076)
+++ trunk/docs/docbook/userguide/src/main/en-US/module/admin.xml 2010-11-02 11:28:42 UTC (rev 1077)
@@ -30,6 +30,9 @@
<listitem>
The process instances executing in the BPEL engine
</listitem>
+ <listitem>
+ The execution history of a process
+ </listitem>
</itemizedlist>
</section>
@@ -47,7 +50,7 @@
</para>
<imageobject>
- <imagedata fileref="images/BPELConsole-login.png" align="center" width="6in" />
+ <imagedata fileref="en-US/images/Console_login.png" align="center" width="6in" />
</imageobject>
<para>
@@ -81,13 +84,9 @@
<title>Deployed Process Definitions</title>
<para>
- Once logged in, the 'Process Overview' tab shows the currently deployed
+ Once logged in, the <emphasis>'Manage Instances'</emphasis> tab shows the currently deployed
BPEL processes and their versions.
- </para>
-
- <imageobject>
- <imagedata fileref="images/BPELConsole-processes.png" align="center" width="6in" />
- </imageobject>
+ </para>
</section>
@@ -95,27 +94,176 @@
<title>Process Instances</title>
<para>
- When a process definition is selected, the list of active process instances for
- that process definition (and version) will be displayed in the right hand
+ When a process definition is selected (<emphasis>Open</emphasis>), the list of active process instances for
+ that process definition (and version) will be displayed in the bottom
panel.
</para>
<imageobject>
- <imagedata fileref="images/BPELConsole-process-instances.png" align="center" width="6in" />
+ <imagedata fileref="en-US/images/Console_instances.png" align="center" width="6in" />
</imageobject>
-
- <para>
- When a process instance is selected, its details will be displayed in the lower
- <emphasis>Execution Details</emphasis>
- window. The <emphasis>Instance Data</emphasis> button will also become enabled, allowing
- further detail about the process to be displayed.
- </para>
-
- <imageobject>
- <imagedata fileref="images/BPELConsole-process-instance-data.png" align="center" width="6in" />
- </imageobject>
-
+
</section>
+
+ <section>
+ <title>Process Versions</title>
+ <para>
+ There is only one active version at a time. If you open a process definition the
+ active version will be chosen by default. Sometimes you need to manage instancs of a
+ retired version (i.e. to terminate running instances).
+ In that case the button <emphasis>More - Change Version</emphasis>
+ allows you to select a different version of that process.
+ </para>
+
+ <imageobject>
+ <imagedata fileref="en-US/images/Console_more_options.png" align="center" width="6in" />
+ </imageobject>
+
+ </section>
+
+ <section>
+ <title>Execution History</title>
+ <para>
+ The <emphasis>Execution History</emphasis> allows you to inspect the BPAF history data associated
+ with a process. You can specify a timespan and wether or not you'd like to see failed/terminated instances
+ included in the chart.
+ </para>
+
+ <imageobject>
+ <imagedata fileref="en-US/images/Console_history.png" align="keft" width="6in" />
+ </imageobject>
+
+ <para>
+ The chart has various keyboard bindings to browse through the displayed
+ execution data:
+
+ <table>
+ <thead>
+ <tr>
+ <th class="noteheader" colspan="4">Keyboard and Mouse Commands</th>
+
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <th>Up Arrow</th>
+ <td>Zoom In</td>
+ <th>Down Arrow</th>
+
+ <td>Zoom Out</td>
+ </tr>
+ <tr>
+ <th>Left Arrow</th>
+ <td>Half-Page Left</td>
+ <th>Right Arrow</th>
+ <td>Half-Page Right</td>
+
+ </tr>
+ <tr>
+ <th>Page-Up</th>
+ <td>Page Left</td>
+ <th>Page-Down</th>
+ <td>Page Right</td>
+ </tr>
+
+ <tr>
+ <th>TAB</th>
+ <td>Next Focus</td>
+ <th>Shift-TAB</th>
+ <td>Previous Focus</td>
+ </tr>
+ <tr>
+
+ <th>HOME</th>
+ <td>Max Zoom Out</td>
+ <th>ENTER</th>
+ <td>Max Zoom In to Focus</td>
+ </tr>
+ <tr>
+ <th>Mouse Drag</th>
+
+ <td>Scroll Chart</td>
+ <th>Shift Mouse Drag</th>
+ <td>Drag Select/Zoom</td>
+ </tr>
+ <tr>
+ <th>Mouse Wheel Up/Z</th>
+ <td>Zoom In</td>
+
+ <th>Mouse Wheel Down/X</th>
+ <td>Zoom Out</td>
+ </tr>
+ <tr>
+ <th>Backspace/Back Button</th>
+ <td>Back</td>
+ <th>Right Mouse Button</th>
+
+ <td>Context Menu</td>
+ </tr>
+ <tr>
+ <th>Left Click</th>
+ <td>Set Focus</td>
+ <th>Double Click</th>
+ <td>Max Zoom In to Focus</td>
+
+ </tr>
+
+
+ </tbody>
+ </table>
+ </para>
+
+ <section>
+ <title>Logging configuration options</title>
+ <para>
+
+ You need to explicitly enable history logging for a particular process through the 'deploy.xml' file
+ and for the BPEL engine in general through the 'bpel.properties' file. In order to record history
+ data, set the 'process-events' option for a particular process and make sure the 'org.jboss.soa.bpel.console.bpaf.BPAFLogAdapter'
+ is enabled.
+
+ </para>
+
+ <para>
+ Process configuration example (deploy.xml):
+<programlisting>
+<deploy xmlns="http://www.apache.org/ode/schemas/dd/2007/03"
+ xmlns:bpl="http://www.jboss.org/bpel/examples"
+ xmlns:intf="http://www.jboss.org/bpel/examples/wsdl">
+
+ <process name="bpl:HelloGoodbye">
+ <active>true</active>
+ <process-events generate="all"/>
+ <provide partnerLink="helloGoodbyePartnerLink">
+ <service name="intf:HelloGoodbyeService" port="HelloGoodbyePort"/>
+ </provide>
+ </process>
+</deploy>
+</programlisting>
+
+
+ </para>
+
+ </section>
+
+ </section>
+
+ <section>
+ <title>Instance Data and Execution Path</title>
+ <para>
+ When a process instance is selected, its details will be displayed in the
+ <emphasis>Execution Details</emphasis>
+ panel. The <emphasis>Instance Data</emphasis> button will also become enabled, allowing
+ further detail about the process to be displayed.
+ Likewise the <emphasis>Execution Path</emphasis> button opens the related instance execution graph.
+ </para>
+
+ <imageobject>
+ <imagedata fileref="en-US/images/Console_execution_path.png" align="center" width="6in" />
+ </imageobject>
+
+ </section>
+
<section>
<title>Retiring and Reactivating Process Definitions</title>
@@ -151,7 +299,7 @@
</para>
<imageobject>
- <imagedata fileref="images/ActivateRetire.png" align="center" width="6in" />
+ <imagedata fileref="en-US/images/Console_deployments.png" align="center" width="6in" />
</imageobject>
<para>
@@ -216,6 +364,12 @@
setting this value to <emphasis>true</emphasis>, then the web service will remain available
while the BPEL process is updated, however any changes in the WSDL will not be made available.</td>
</tr>
+ <tr>
+ <td>bpel.event.listeners (org.jboss.soa.bpel.console.bpaf.BPAFLogAdapter)</td>
+ <td>
+ Enables the BPAF logging used by the console to display the process execution history.
+ </td>
+ </tr>
</table>
</section>
Modified: trunk/docs/docbook/userguide/src/main/en-US/module/clustering.xml
===================================================================
--- trunk/docs/docbook/userguide/src/main/en-US/module/clustering.xml 2010-11-02 10:41:00 UTC (rev 1076)
+++ trunk/docs/docbook/userguide/src/main/en-US/module/clustering.xml 2010-11-02 11:28:42 UTC (rev 1077)
@@ -13,7 +13,7 @@
</para>
<imageobject>
- <imagedata fileref="images/riftsaw-cluster.jpg"/>
+ <imagedata fileref="en-US/images/riftsaw-cluster.jpg"/>
</imageobject>
</section>
Modified: trunk/docs/docbook/userguide/src/main/en-US/module/db.xml
===================================================================
--- trunk/docs/docbook/userguide/src/main/en-US/module/db.xml 2010-11-02 10:41:00 UTC (rev 1076)
+++ trunk/docs/docbook/userguide/src/main/en-US/module/db.xml 2010-11-02 11:28:42 UTC (rev 1077)
@@ -25,7 +25,7 @@
</para>
<imageobject>
- <imagedata fileref="images/RiftSaw-dbschemas.png" align="center"/>
+ <imagedata fileref="en-US/images/RiftSaw-dbschemas.png" align="center"/>
</imageobject>
</section>
Modified: trunk/docs/docbook/userguide/src/main/en-US/module/deploy.xml
===================================================================
--- trunk/docs/docbook/userguide/src/main/en-US/module/deploy.xml 2010-11-02 10:41:00 UTC (rev 1076)
+++ trunk/docs/docbook/userguide/src/main/en-US/module/deploy.xml 2010-11-02 11:28:42 UTC (rev 1077)
@@ -110,7 +110,7 @@
</para>
<imageobject>
- <imagedata fileref="images/EclipseImportExistingProjectsIntoWorkspace.png" align="center" width="4in" />
+ <imagedata fileref="en-US/images/EclipseImportExistingProjectsIntoWorkspace.png" align="center" width="4in" />
</imageobject>
<para>
@@ -120,7 +120,7 @@
</para>
<imageobject>
- <imagedata fileref="images/EclipseImportHelloWorld.png" align="center" width="4in" />
+ <imagedata fileref="en-US/images/EclipseImportHelloWorld.png" align="center" width="4in" />
</imageobject>
<para>
@@ -129,7 +129,7 @@
</para>
<imageobject>
- <imagedata fileref="images/EclipseHelloWorldProject.png" align="center" width="6in" />
+ <imagedata fileref="en-US/images/EclipseHelloWorldProject.png" align="center" width="6in" />
</imageobject>
<para>
@@ -146,7 +146,7 @@
</para>
<imageobject>
- <imagedata fileref="images/EclipseNewServer.png" align="center" width="4in" />
+ <imagedata fileref="en-US/images/EclipseNewServer.png" align="center" width="4in" />
</imageobject>
<para>
@@ -166,7 +166,7 @@
</para>
<imageobject>
- <imagedata fileref="images/EclipseAddRemoveProject.png" align="center" width="4in" />
+ <imagedata fileref="en-US/images/EclipseAddRemoveProject.png" align="center" width="4in" />
</imageobject>
<para>
@@ -176,7 +176,7 @@
</para>
<imageobject>
- <imagedata fileref="images/EclipseHelloWorldDeployed.png" align="center" width="3in" />
+ <imagedata fileref="en-US/images/EclipseHelloWorldDeployed.png" align="center" width="3in" />
</imageobject>
<para>
@@ -194,7 +194,7 @@
</para>
<imageobject>
- <imagedata fileref="images/EclipseSendHello.png" align="center" width="5in" />
+ <imagedata fileref="en-US/images/EclipseSendHello.png" align="center" width="5in" />
</imageobject>
<para>
@@ -205,7 +205,7 @@
</para>
<imageobject>
- <imagedata fileref="images/EclipseHelloWorldResponse.png" align="center" width="6in" />
+ <imagedata fileref="en-US/images/EclipseHelloWorldResponse.png" align="center" width="6in" />
</imageobject>
<para>
@@ -217,7 +217,7 @@
</para>
<imageobject>
- <imagedata fileref="images/EclipseHelloWorldUpdated.png" align="center" width="6in" />
+ <imagedata fileref="en-US/images/EclipseHelloWorldUpdated.png" align="center" width="6in" />
</imageobject>
<para>
@@ -234,7 +234,7 @@
</para>
<imageobject>
- <imagedata fileref="images/EclipseHelloWorldResponseUpdated.png" align="center" width="6in" />
+ <imagedata fileref="en-US/images/EclipseHelloWorldResponseUpdated.png" align="center" width="6in" />
</imageobject>
<para>
Modified: trunk/docs/docbook/userguide/src/main/en-US/module/esb.xml
===================================================================
--- trunk/docs/docbook/userguide/src/main/en-US/module/esb.xml 2010-11-02 10:41:00 UTC (rev 1076)
+++ trunk/docs/docbook/userguide/src/main/en-US/module/esb.xml 2010-11-02 11:28:42 UTC (rev 1077)
@@ -187,7 +187,7 @@
</para>
<imageobject>
- <imagedata fileref="images/BPELInvokeRelationship.jpg" align="center" width="6in" />
+ <imagedata fileref="en-US/images/BPELInvokeRelationship.jpg" align="center" width="6in" />
</imageobject>
<section>
14 years, 1 month
riftsaw SVN: r1076 - trunk/docs/docbook/userguide/src/main.
by riftsaw-commits@lists.jboss.org
Author: objectiser
Date: 2010-11-02 06:41:00 -0400 (Tue, 02 Nov 2010)
New Revision: 1076
Removed:
trunk/docs/docbook/userguide/src/main/module/
Log:
RIFTSAW-310 - updated docbook plugin to support maven3.
14 years, 1 month
riftsaw SVN: r1075 - in trunk/docs/docbook: gettingstartedguide/src/main and 5 other directories.
by riftsaw-commits@lists.jboss.org
Author: objectiser
Date: 2010-11-02 06:32:39 -0400 (Tue, 02 Nov 2010)
New Revision: 1075
Added:
trunk/docs/docbook/gettingstartedguide/src/main/en-US/
trunk/docs/docbook/gettingstartedguide/src/main/en-US/images/
trunk/docs/docbook/gettingstartedguide/src/main/en-US/master.xml
trunk/docs/docbook/gettingstartedguide/src/main/en-US/module/
trunk/docs/docbook/gettingstartedguide/src/main/en-US/xslt/
trunk/docs/docbook/userguide/src/main/en-US/
trunk/docs/docbook/userguide/src/main/en-US/images/
trunk/docs/docbook/userguide/src/main/en-US/master.xml
trunk/docs/docbook/userguide/src/main/en-US/module/
trunk/docs/docbook/userguide/src/main/en-US/module/admin.xml
trunk/docs/docbook/userguide/src/main/en-US/module/esb.xml
trunk/docs/docbook/userguide/src/main/en-US/xslt/
Removed:
trunk/docs/docbook/gettingstartedguide/src/main/images/
trunk/docs/docbook/gettingstartedguide/src/main/master.xml
trunk/docs/docbook/gettingstartedguide/src/main/module/
trunk/docs/docbook/gettingstartedguide/src/main/xslt/
trunk/docs/docbook/userguide/src/main/en-US/module/admin.xml
trunk/docs/docbook/userguide/src/main/en-US/module/esb.xml
trunk/docs/docbook/userguide/src/main/images/
trunk/docs/docbook/userguide/src/main/master.xml
trunk/docs/docbook/userguide/src/main/xslt/
Modified:
trunk/docs/docbook/gettingstartedguide/pom.xml
trunk/docs/docbook/userguide/pom.xml
Log:
RIFTSAW-310 - updated docbook plugin to support maven3.
Modified: trunk/docs/docbook/gettingstartedguide/pom.xml
===================================================================
--- trunk/docs/docbook/gettingstartedguide/pom.xml 2010-10-29 00:17:19 UTC (rev 1074)
+++ trunk/docs/docbook/gettingstartedguide/pom.xml 2010-11-02 10:32:39 UTC (rev 1075)
@@ -23,7 +23,7 @@
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.2</version>
+ <version>2.2.3</version>
<extensions>true</extensions>
<executions>
<execution>
@@ -54,13 +54,13 @@
<imageResource>
<directory>${basedir}/src/main</directory>
<includes>
- <include>images/**/*</include>
+ <include>**/images/**/*</include>
</includes>
</imageResource>
<formats>
<format>
<formatName>pdf</formatName>
- <stylesheetResource>file:///${basedir}/src/main/xslt/pdf.xsl</stylesheetResource>
+ <stylesheetResource>file:///${basedir}/src/main/en-US/xslt/pdf.xsl</stylesheetResource>
<finalName>GettingStartedGuide.pdf</finalName>
</format>
<format>
Copied: trunk/docs/docbook/gettingstartedguide/src/main/en-US/images (from rev 1038, trunk/docs/docbook/gettingstartedguide/src/main/images)
Copied: trunk/docs/docbook/gettingstartedguide/src/main/en-US/master.xml (from rev 1038, trunk/docs/docbook/gettingstartedguide/src/main/master.xml)
===================================================================
--- trunk/docs/docbook/gettingstartedguide/src/main/en-US/master.xml (rev 0)
+++ trunk/docs/docbook/gettingstartedguide/src/main/en-US/master.xml 2010-11-02 10:32:39 UTC (rev 1075)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % RH-ENTITIES SYSTEM "Common_Config/rh-entities.ent">
+]>
+
+<book lang="en">
+ <bookinfo>
+ <title>RiftSaw 2.2.0-SNAPSHOT</title>
+ <subtitle>Getting Started Guide</subtitle>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="module/author_group.xml"/>
+ </bookinfo>
+
+ <toc/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="module/installation.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="module/examples.xml"/>
+</book>
Copied: trunk/docs/docbook/gettingstartedguide/src/main/en-US/module (from rev 1038, trunk/docs/docbook/gettingstartedguide/src/main/module)
Copied: trunk/docs/docbook/gettingstartedguide/src/main/en-US/xslt (from rev 1038, trunk/docs/docbook/gettingstartedguide/src/main/xslt)
Deleted: trunk/docs/docbook/gettingstartedguide/src/main/master.xml
===================================================================
--- trunk/docs/docbook/gettingstartedguide/src/main/master.xml 2010-10-29 00:17:19 UTC (rev 1074)
+++ trunk/docs/docbook/gettingstartedguide/src/main/master.xml 2010-11-02 10:32:39 UTC (rev 1075)
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-<!ENTITY % RH-ENTITIES SYSTEM "Common_Config/rh-entities.ent">
-]>
-
-<book lang="en">
- <bookinfo>
- <title>RiftSaw 2.2.0-SNAPSHOT</title>
- <subtitle>Getting Started Guide</subtitle>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="module/author_group.xml"/>
- </bookinfo>
-
- <toc/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="module/installation.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="module/examples.xml"/>
-</book>
Modified: trunk/docs/docbook/userguide/pom.xml
===================================================================
--- trunk/docs/docbook/userguide/pom.xml 2010-10-29 00:17:19 UTC (rev 1074)
+++ trunk/docs/docbook/userguide/pom.xml 2010-11-02 10:32:39 UTC (rev 1075)
@@ -23,7 +23,7 @@
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.2</version>
+ <version>2.2.3</version>
<extensions>true</extensions>
<executions>
<execution>
@@ -54,13 +54,13 @@
<imageResource>
<directory>${basedir}/src/main</directory>
<includes>
- <include>images/**/*</include>
+ <include>**/images/**/*</include>
</includes>
</imageResource>
<formats>
<format>
<formatName>pdf</formatName>
- <stylesheetResource>file:///${basedir}/src/main/xslt/pdf.xsl</stylesheetResource>
+ <stylesheetResource>file:///${basedir}/src/main/en-US/xslt/pdf.xsl</stylesheetResource>
<finalName>UserGuide.pdf</finalName>
</format>
<format>
Copied: trunk/docs/docbook/userguide/src/main/en-US/images (from rev 1038, trunk/docs/docbook/userguide/src/main/images)
Copied: trunk/docs/docbook/userguide/src/main/en-US/master.xml (from rev 1038, trunk/docs/docbook/userguide/src/main/master.xml)
===================================================================
--- trunk/docs/docbook/userguide/src/main/en-US/master.xml (rev 0)
+++ trunk/docs/docbook/userguide/src/main/en-US/master.xml 2010-11-02 10:32:39 UTC (rev 1075)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % RH-ENTITIES SYSTEM "Common_Config/rh-entities.ent">
+]>
+
+<book lang="en">
+ <bookinfo>
+ <title>RiftSaw 2.1.0-SNAPSHOT</title>
+ <subtitle>User Guide</subtitle>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="module/author_group.xml"/>
+ </bookinfo>
+
+ <toc/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="module/introduction.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="module/admin.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="module/deploy.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="module/wsconfig.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="module/uddi.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="module/esb.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="module/clustering.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="module/db.xml"/>
+</book>
Copied: trunk/docs/docbook/userguide/src/main/en-US/module (from rev 1038, trunk/docs/docbook/userguide/src/main/module)
Deleted: trunk/docs/docbook/userguide/src/main/en-US/module/admin.xml
===================================================================
--- trunk/docs/docbook/userguide/src/main/module/admin.xml 2010-10-13 04:42:02 UTC (rev 1038)
+++ trunk/docs/docbook/userguide/src/main/en-US/module/admin.xml 2010-11-02 10:32:39 UTC (rev 1075)
@@ -1,215 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-]>
-<chapter id="admin">
- <title>Administration</title>
-
- <section>
- <title>Overview</title>
-
- <para>
- This section describes the administration capabilities associated with RiftSaw.
- </para>
-
- </section>
-
- <section>
- <title>BPEL Console</title>
-
- <section>
- <title>Overview</title>
- <para>
- This section provides an overview of the BPEL Console.
- The console provides the ability to view:
- </para>
-
- <itemizedlist>
- <listitem>
- The process definitions deployed to the BPEL engine
- </listitem>
- <listitem>
- The process instances executing in the BPEL engine
- </listitem>
- </itemizedlist>
-
- </section>
-
- <section>
- <title>Logging in</title>
-
- <para>
- The BPEL console can be located using the URL:
- <ulink url="http://localhost:8080/bpel-console">http://localhost:8080/bpel-console</ulink>.
- </para>
-
- <para>
- The first screen that is presented is the login screen:
- </para>
-
- <imageobject>
- <imagedata fileref="images/BPELConsole-login.png" align="center" width="6in" />
- </imageobject>
-
- <para>
- The default username is <emphasis>admin</emphasis> with password
- <emphasis>password</emphasis>.
- </para>
-
- <para>
- The Access Control mechanism used by the admin console is configured
- in the <filename>$deployFolder/bpel-console/bpel-identity.sar/META-INF/jboss-service.xml</filename>.
- The JAAS login module is initially set to use a property file based
- access mechanism, but can be replaced to use any appropriate alternative
- implementation.
- </para>
-
- <para>
- The users for the default mechanism are configured in the property file
- <filename>$deployFolder/bpel-console/bpel-identity.sar/bpel-users.properties</filename>.
- The entries in this file represent <emphasis>username=password</emphasis>.
- </para>
-
- <para>
- The user roles for the default mechanism are configured in the property file
- <filename>$deployFolder/bpel-console/bpel-identity.sar/bpel-roles.properties</filename>.
- The entries in this file represent <emphasis>username=role</emphasis>. The
- only role of interest currently is <emphasis>administrator</emphasis>.
- </para>
- </section>
-
- <section>
- <title>Deployed Process Definitions</title>
-
- <para>
- Once logged in, the 'Process Overview' tab shows the currently deployed
- BPEL processes and their versions.
- </para>
-
- <imageobject>
- <imagedata fileref="images/BPELConsole-processes.png" align="center" width="6in" />
- </imageobject>
-
- </section>
-
- <section>
- <title>Process Instances</title>
-
- <para>
- When a process definition is selected, the list of active process instances for
- that process definition (and version) will be displayed in the right hand
- panel.
- </para>
-
- <imageobject>
- <imagedata fileref="images/BPELConsole-process-instances.png" align="center" width="6in" />
- </imageobject>
-
- <para>
- When a process instance is selected, its details will be displayed in the lower
- <emphasis>Execution Details</emphasis>
- window. The <emphasis>Instance Data</emphasis> button will also become enabled, allowing
- further detail about the process to be displayed.
- </para>
-
- <imageobject>
- <imagedata fileref="images/BPELConsole-process-instance-data.png" align="center" width="6in" />
- </imageobject>
-
- </section>
-
- <section>
- <title>Retiring and Reactivating Process Definitions</title>
-
- <para>
- When a process definition is initially deployed (i.e. the first version of the process),
- it automatically becomes the active process definition. If that BPEL process definition
- is subsequently change and redeployed, then the previous version is <emphasis>retired</emphasis>,
- and the new version becomes the <emphasis>active</emphasis> version.
- </para>
-
- <para>
- The only difference between an <emphasis>active</emphasis> and <emphasis>retired</emphasis>
- process definition is that a <emphasis>retired</emphasis> process definition can no longer
- create new process instances. However if there are current process instances associated
- with the <emphasis>retired</emphasis> process definition version, then these will continue
- to execute.
- </para>
-
- <para>
- On some occasions, the administrator may wish to change which version of a process definition
- is considered the <emphasis>active</emphasis> version. Or they may simply want to
- <emphasis>retire</emphasis> the currently active process definition, so that no more
- process instances can be created, only allowing the already running process instances to
- continue until completed.
- </para>
-
- <para>
- To change the status of a process definition, the administrator should select the
- <emphasis>Runtime</emphasis> tab from the lefthand panel, and then select the
- <emphasis>Deployments</emphasis> option. This will show the process definitions, their
- versions and their current status (active or retired).
- </para>
-
- <imageobject>
- <imagedata fileref="images/ActivateRetire.png" align="center" width="6in" />
- </imageobject>
-
- <para>
- To change a particular version from <emphasis>retired</emphasis> to <emphasis>active</emphasis>,
- simply select the <emphasis>retired</emphasis> version and press the <emphasis>Activate</emphasis>
- button in the bottom right.
- </para>
-
- <para>
- To retire a currently active process definition, simply select the particular version and
- then press the <emphasis>Retire</emphasis> button in the bottom right.
- </para>
-
- </section>
-
- </section>
-
- <section>
- <title>BPEL Properties</title>
-
- <para>
- When RiftSaw has been installed within the JBossAS environment, there is a property file
- located at <filename>${JBossAS}/server/default/deploy/riftsaw.sar/bpel.properties</filename>.
- </para>
-
- <para>
- This property file contains a number of properties that are specific to ODE, and if interested
- in these properties, then you should refer to the ODE documentation. Only one point to note,
- the name of the property in this file maybe prefixed with <emphasis>bpel.</emphasis>, however
- in the ODE documentation the prefix would be <emphasis>ode.</emphasis>.
- </para>
-
- <para>
- This section will present the properties that are specific to RiftSaw.
- </para>
-
- <table frame="all">
- <title>RiftSaw specific properties</title>
- <tr>
- <td>bpel.uddi.*</td>
- <td>These properties relate to the UDDI support, which is discussed in a subsequent chapter.</td>
- </tr>
- <tr>
- <td>bpel.jaxws.client.initializer.impl</td>
- <td>This property is automatically set upon installation, based on the JAXWS stack being used.
- This value should not be changed.</td>
- </tr>
- <tr>
- <td>bpel.ws.stableInterface (default false)</td>
- <td>This property determines whether the Web Service interface, associated with a BPEL process,
- will be updated when a new version of the BPEL process is deployed. The benefit of setting this
- to <emphasis>false</emphasis> is that changes to the WSDL will be made active with the BPEL
- process. However the issue is that during the transition between the interfaces, the web service
- will momentarily be unavailble - which may cause heavily used services to reject requests. By
- setting this value to <emphasis>true</emphasis>, then the web service will remain available
- while the BPEL process is updated, however any changes in the WSDL will not be made available.</td>
- </tr>
- </table>
- </section>
-
-</chapter>
Copied: trunk/docs/docbook/userguide/src/main/en-US/module/admin.xml (from rev 1073, trunk/docs/docbook/userguide/src/main/module/admin.xml)
===================================================================
--- trunk/docs/docbook/userguide/src/main/en-US/module/admin.xml (rev 0)
+++ trunk/docs/docbook/userguide/src/main/en-US/module/admin.xml 2010-11-02 10:32:39 UTC (rev 1075)
@@ -0,0 +1,222 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+]>
+<chapter id="admin">
+ <title>Administration</title>
+
+ <section>
+ <title>Overview</title>
+
+ <para>
+ This section describes the administration capabilities associated with RiftSaw.
+ </para>
+
+ </section>
+
+ <section>
+ <title>BPEL Console</title>
+
+ <section>
+ <title>Overview</title>
+ <para>
+ This section provides an overview of the BPEL Console.
+ The console provides the ability to view:
+ </para>
+
+ <itemizedlist>
+ <listitem>
+ The process definitions deployed to the BPEL engine
+ </listitem>
+ <listitem>
+ The process instances executing in the BPEL engine
+ </listitem>
+ </itemizedlist>
+
+ </section>
+
+ <section>
+ <title>Logging in</title>
+
+ <para>
+ The BPEL console can be located using the URL:
+ <ulink url="http://localhost:8080/bpel-console">http://localhost:8080/bpel-console</ulink>.
+ </para>
+
+ <para>
+ The first screen that is presented is the login screen:
+ </para>
+
+ <imageobject>
+ <imagedata fileref="images/BPELConsole-login.png" align="center" width="6in" />
+ </imageobject>
+
+ <para>
+ The default username is <emphasis>admin</emphasis> with password
+ <emphasis>password</emphasis>.
+ </para>
+
+ <para>
+ The Access Control mechanism used by the admin console is configured
+ in the <filename>$deployFolder/bpel-console/bpel-identity.sar/META-INF/jboss-service.xml</filename>.
+ The JAAS login module is initially set to use a property file based
+ access mechanism, but can be replaced to use any appropriate alternative
+ implementation.
+ </para>
+
+ <para>
+ The users for the default mechanism are configured in the property file
+ <filename>$deployFolder/bpel-console/bpel-identity.sar/bpel-users.properties</filename>.
+ The entries in this file represent <emphasis>username=password</emphasis>.
+ </para>
+
+ <para>
+ The user roles for the default mechanism are configured in the property file
+ <filename>$deployFolder/bpel-console/bpel-identity.sar/bpel-roles.properties</filename>.
+ The entries in this file represent <emphasis>username=role</emphasis>. The
+ only role of interest currently is <emphasis>administrator</emphasis>.
+ </para>
+ </section>
+
+ <section>
+ <title>Deployed Process Definitions</title>
+
+ <para>
+ Once logged in, the 'Process Overview' tab shows the currently deployed
+ BPEL processes and their versions.
+ </para>
+
+ <imageobject>
+ <imagedata fileref="images/BPELConsole-processes.png" align="center" width="6in" />
+ </imageobject>
+
+ </section>
+
+ <section>
+ <title>Process Instances</title>
+
+ <para>
+ When a process definition is selected, the list of active process instances for
+ that process definition (and version) will be displayed in the right hand
+ panel.
+ </para>
+
+ <imageobject>
+ <imagedata fileref="images/BPELConsole-process-instances.png" align="center" width="6in" />
+ </imageobject>
+
+ <para>
+ When a process instance is selected, its details will be displayed in the lower
+ <emphasis>Execution Details</emphasis>
+ window. The <emphasis>Instance Data</emphasis> button will also become enabled, allowing
+ further detail about the process to be displayed.
+ </para>
+
+ <imageobject>
+ <imagedata fileref="images/BPELConsole-process-instance-data.png" align="center" width="6in" />
+ </imageobject>
+
+ </section>
+
+ <section>
+ <title>Retiring and Reactivating Process Definitions</title>
+
+ <para>
+ When a process definition is initially deployed (i.e. the first version of the process),
+ it automatically becomes the active process definition. If that BPEL process definition
+ is subsequently change and redeployed, then the previous version is <emphasis>retired</emphasis>,
+ and the new version becomes the <emphasis>active</emphasis> version.
+ </para>
+
+ <para>
+ The only difference between an <emphasis>active</emphasis> and <emphasis>retired</emphasis>
+ process definition is that a <emphasis>retired</emphasis> process definition can no longer
+ create new process instances. However if there are current process instances associated
+ with the <emphasis>retired</emphasis> process definition version, then these will continue
+ to execute.
+ </para>
+
+ <para>
+ On some occasions, the administrator may wish to change which version of a process definition
+ is considered the <emphasis>active</emphasis> version. Or they may simply want to
+ <emphasis>retire</emphasis> the currently active process definition, so that no more
+ process instances can be created, only allowing the already running process instances to
+ continue until completed.
+ </para>
+
+ <para>
+ To change the status of a process definition, the administrator should select the
+ <emphasis>Runtime</emphasis> tab from the lefthand panel, and then select the
+ <emphasis>Deployments</emphasis> option. This will show the process definitions, their
+ versions and their current status (active or retired).
+ </para>
+
+ <imageobject>
+ <imagedata fileref="images/ActivateRetire.png" align="center" width="6in" />
+ </imageobject>
+
+ <para>
+ To change a particular version from <emphasis>retired</emphasis> to <emphasis>active</emphasis>,
+ simply select the <emphasis>retired</emphasis> version and press the <emphasis>Activate</emphasis>
+ button in the bottom right.
+ </para>
+
+ <para>
+ To retire a currently active process definition, simply select the particular version and
+ then press the <emphasis>Retire</emphasis> button in the bottom right.
+ </para>
+
+ <para>
+ <note>
+ If you deploy a process definition version into RiftSaw server, the previous version of that process definition will go to 'retire' process automatically.
+ Also please noted that if you undeploy a process, the associated endpoints get deactivated only if it doesn't have any previous version of that process.
+ </note>
+ </para>
+
+ </section>
+
+ </section>
+
+ <section>
+ <title>BPEL Properties</title>
+
+ <para>
+ When RiftSaw has been installed within the JBossAS environment, there is a property file
+ located at <filename>${JBossAS}/server/default/deploy/riftsaw.sar/bpel.properties</filename>.
+ </para>
+
+ <para>
+ This property file contains a number of properties that are specific to ODE, and if interested
+ in these properties, then you should refer to the ODE documentation. Only one point to note,
+ the name of the property in this file maybe prefixed with <emphasis>bpel.</emphasis>, however
+ in the ODE documentation the prefix would be <emphasis>ode.</emphasis>.
+ </para>
+
+ <para>
+ This section will present the properties that are specific to RiftSaw.
+ </para>
+
+ <table frame="all">
+ <title>RiftSaw specific properties</title>
+ <tr>
+ <td>bpel.uddi.*</td>
+ <td>These properties relate to the UDDI support, which is discussed in a subsequent chapter.</td>
+ </tr>
+ <tr>
+ <td>bpel.jaxws.client.initializer.impl</td>
+ <td>This property is automatically set upon installation, based on the JAXWS stack being used.
+ This value should not be changed.</td>
+ </tr>
+ <tr>
+ <td>bpel.ws.stableInterface (default false)</td>
+ <td>This property determines whether the Web Service interface, associated with a BPEL process,
+ will be updated when a new version of the BPEL process is deployed. The benefit of setting this
+ to <emphasis>false</emphasis> is that changes to the WSDL will be made active with the BPEL
+ process. However the issue is that during the transition between the interfaces, the web service
+ will momentarily be unavailble - which may cause heavily used services to reject requests. By
+ setting this value to <emphasis>true</emphasis>, then the web service will remain available
+ while the BPEL process is updated, however any changes in the WSDL will not be made available.</td>
+ </tr>
+ </table>
+ </section>
+
+</chapter>
Deleted: trunk/docs/docbook/userguide/src/main/en-US/module/esb.xml
===================================================================
--- trunk/docs/docbook/userguide/src/main/module/esb.xml 2010-10-13 04:42:02 UTC (rev 1038)
+++ trunk/docs/docbook/userguide/src/main/en-US/module/esb.xml 2010-11-02 10:32:39 UTC (rev 1075)
@@ -1,268 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-]>
-<chapter id="esb">
- <title>JBoss ESB Integration</title>
-
- <section>
- <title>Overview</title>
-
- <para>
- This section outlines the support provided for the direct integration between RiftSaw
- and JBossESB.
- </para>
-
- <para>
- Bi-directional loose integration is available through the use of web services.
- For example, an ESB action may invoke a BPEL process running within RiftSaw
- by invoking the appropriate web service represented by a WSDL interface.
- Similarly, a BPEL process can invoke an ESB managed service that is capable
- of presenting itself as a web service.
- </para>
-
- <para>
- However this section will describe how integration between RiftSaw and JBossESB actions
- can be achieved without the use of web services (i.e. WSDL and SOAP).
- </para>
- </section>
-
- <section>
- <title>Using the <emphasis>BPELInvoke</emphasis> ESB action</title>
-
- <para>
- The <emphasis>BPELInvoke</emphasis> ESB action can be used within a
- <emphasis>jboss-esb.xml</emphasis> to request an invocation on a BPEL
- process running inside RiftSaw. The only constraints are that RiftSaw is
- installed within the same Java VM and that the requested BPEL process must
- have been deployed to the local RiftSaw engine.
- </para>
-
- <para>
- The following example illustrates the <emphasis>BPELInvoke</emphasis> ESB action
- being used as part of the <emphasis>bpel_helloworld</emphasis> sample.
- </para>
-
- <informalexample>
- <programlisting role="XML" ><![CDATA[
-<action name="action2" class="org.jboss.soa.esb.actions.bpel.BPELInvoke">
- <property name="service" value="{http://www.jboss.org/bpel/examples/wsdl}HelloService"/>
- <property name="port" value="HelloPort" />
- <property name="operation" value="hello" />
- <property name="requestPartName" value="TestPart" />
- <property name="responsePartName" value="TestPart" />
-</action>
- ]]></programlisting>
- </informalexample>
-
- <para>
- The ESB action class is <emphasis>org.jboss.soa.esb.actions.bpel.BPELInvoke</emphasis>.
- </para>
-
- <para>
- The properties for this ESB action are:
- </para>
-
- <itemizedlist>
- <listitem>
- <para>
- service
- </para>
- <para>
- This property is mandatory, and defines the service name registered in the WSDL associated
- with the deployed BPEL process.
- </para>
- </listitem>
- <listitem>
- <para>
- port
- </para>
- <para>
- This property is optional, and defines the port name registered in the WSDL associated
- with the deployed BPEL process. This parameter is only required if port specific endpoint
- configuration information has been registered as part of the BPEL process deployment.
- </para>
- </listitem>
- <listitem>
- <para>
- operation
- </para>
- <para>
- This property is mandatory, and represents the WSDL operation that is being invoked.
- </para>
- </listitem>
- <listitem>
- <para>
- requestPartName
- </para>
- <para>
- This optional property can be used to define the WSDL message part that the inbound
- ESB message content should be mapped to. This property should be used where the
- ESB message does not already represent a multi-part message.
- </para>
- </listitem>
- <listitem>
- <para>
- responsePartName
- </para>
- <para>
- This optional property can be used to extract the content of a response multi-part
- WSDL message, and place this in the ESB message being passed to the next ESB
- action in the pipeline. If this property is not defined, then the complete multi-part
- message value will be placed in the ESB message.
- </para>
- </listitem>
- <listitem>
- <para>
- abortOnFault
- </para>
- <para>
- This optional property can be used to indicate whether a fault, generated during the
- invocation of a BPEL process, should be treated as a message (when the value of this
- property is 'false'), or as an exception that will abort the ESB service. The default
- value is 'true', causing the ESB service to abort.
- </para>
- </listitem>
- </itemizedlist>
-
- <para>
- This ESB action supports inbound messages with content defined as either:
- </para>
-
- <itemizedlist>
- <listitem>
- <para>DOM</para>
- <para>
- If the message content is a DOM document or element, then this can either be
- used as the complete multi-part message, or as the content of a message part
- defined using the <emphasis>requestPartName</emphasis> property.
- </para>
- <para>
- If the message content is a DOM text node, then this can ONLY be used if a
- multi-part name has been defined in the <emphasis>requestPartName</emphasis>
- property.
- </para>
- </listitem>
- <listitem>
- <para>Java String</para>
- <para>
- If the message content is a string representation of an XML document, then
- the <emphasis>requestPartName</emphasis> is optional. If not specified, then
- the document must represent the multipart message.
- </para>
- <para>
- If the message content is a string that does not represent an XML document, then
- the <emphasis>requestPartName</emphasis> must be specified.
- </para>
- </listitem>
- </itemizedlist>
-
- <para>
- When the message content represents the complete multipart message, this must be defined as
- a top level element (whose name is irrelevant) with immediate child elements that
- represent each of the multiple parts of the message. Each of these elements must then
- have a single element/node, that represents the value of the named part.
- </para>
-
- <informalexample>
- <programlisting role="XML" ><![CDATA[
-<message>
- <TestPart>
- Hello World
- </TestPart>
-</message>
- ]]></programlisting>
- </informalexample>
-
- <para>
- This shows an example of a multipart message structure. The top element (i.e. <emphasis>message</emphasis>)
- is unimportant. The elements at the next level represent the part names - in this case
- there is only a single part, with name <emphasis>TestPart</emphasis>. The value of this
- part is defined as a text node, with value "Hello World". However this could have been an
- element representing the root node of a more complex XML value.
- </para>
-
- <para>
- The following diagram illustrates the inter-relationship of the JBossESB bpel_helloworld
- quickstart and the RiftSaw BPEL process configuration files.
- </para>
-
- <imageobject>
- <imagedata fileref="images/BPELInvokeRelationship.jpg" align="center" width="6in" />
- </imageobject>
-
- <section>
- <title>Fault Handling</title>
-
- <para>
- The normal response from a WSDL operation will be returned from the <emphasis>BPELInvoke</emphasis>
- ESB action as a normal message and placed on the action pipeline ready for processing by the next
- ESB action, or alternatively if no further actions have been defined, then returned back to the
- service client.
- </para>
-
- <para>
- Faults, associated with a WSDL operation, are handled slightly differently. Depending on configuration
- it is possible to receive the fault as an ESB message or for the fault to be treated as an
- exception which aborts the action pipeline. The configuration property used to determine which
- behaviour is used is called <emphasis>abortOnFault</emphasis>. The default value for this property
- is "true". As an example, from the loan fault quickstart sample,
- </para>
-
- <informalexample>
- <programlisting role="XML" ><![CDATA[
-<action name="action2" class="org.jboss.soa.esb.actions.bpel.BPELInvoke">
- <property name="service" value="{http://example.com/loan-approval/wsdl/}loanService"/>
- <property name="operation" value="request" />
- <property name="abortOnFault" value="true" />
-</action>
- ]]></programlisting>
- </informalexample>
-
- <para>
- A WSDL fault has two relevant pieces of information, the fault type (or code) and the fault details.
- These are both returned in specific parts of ESB message's body.
- </para>
-
- <orderedlist>
- <listitem>
- Fault code (as javax.xml.namespace.QName)
- <para>
- ESB message body part: <emphasis>org.jboss.soa.esb.message.fault.detail.code</emphasis>
- </para>
- <para>
- This body part identifies the specific WSDL fault returned by the BPEL process, associated with
- the WSDL operation that was invoked.
- </para>
- <warning>
- The specific version of the QName used by the JBoss server is from the stax-api.jar found in the
- server's lib/endorsed directory. If the client does not also include this jar in a folder that is
- in its endorsed directories, then a class version exception will occur when this ESB message
- part is accessed.
- </warning>
- </listitem>
- <listitem>
- Fault code (as textual representation of QName)
- <para>
- ESB message body part: <emphasis>org.jboss.soa.bpel.message.fault.detail.code</emphasis>
- </para>
- <para>
- This body part will return the textual representation of the QName for the fault code. The textual
- representation is of the form "{namespace}localpart" and can be converted back into a QName using the
- <emphasis>javax.xml.namespace.QName.valueOf(String)</emphasis> method.
- </para>
- </listitem>
- <listitem>
- Fault details
- <para>
- ESB message body part: <emphasis>org.jboss.soa.esb.message.fault.detail.detail</emphasis>
- </para>
- <para>
- This body part will contain the textual representation of the message content associated
- with the fault.
- </para>
- </listitem>
- </orderedlist>
- </section>
- </section>
-
-</chapter>
Copied: trunk/docs/docbook/userguide/src/main/en-US/module/esb.xml (from rev 1046, trunk/docs/docbook/userguide/src/main/module/esb.xml)
===================================================================
--- trunk/docs/docbook/userguide/src/main/en-US/module/esb.xml (rev 0)
+++ trunk/docs/docbook/userguide/src/main/en-US/module/esb.xml 2010-11-02 10:32:39 UTC (rev 1075)
@@ -0,0 +1,303 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+]>
+<chapter id="esb">
+ <title>JBoss ESB Integration</title>
+
+ <section>
+ <title>Overview</title>
+
+ <para>
+ This section outlines the support provided for the direct integration between RiftSaw
+ and JBossESB.
+ </para>
+
+ <para>
+ Bi-directional loose integration is available through the use of web services.
+ For example, an ESB action may invoke a BPEL process running within RiftSaw
+ by invoking the appropriate web service represented by a WSDL interface.
+ Similarly, a BPEL process can invoke an ESB managed service that is capable
+ of presenting itself as a web service.
+ </para>
+
+ <para>
+ However this section will describe how integration between RiftSaw and JBossESB actions
+ can be achieved without the use of web services (i.e. WSDL and SOAP).
+ </para>
+ </section>
+
+ <section>
+ <title>Using the <emphasis>BPELInvoke</emphasis> ESB action</title>
+
+ <para>
+ The <emphasis>BPELInvoke</emphasis> ESB action can be used within a
+ <emphasis>jboss-esb.xml</emphasis> to request an invocation on a BPEL
+ process running inside RiftSaw. The only constraints are that RiftSaw is
+ installed within the same Java VM and that the requested BPEL process must
+ have been deployed to the local RiftSaw engine.
+ </para>
+
+ <para>
+ The following example illustrates the <emphasis>BPELInvoke</emphasis> ESB action
+ being used as part of the <emphasis>bpel_helloworld</emphasis> sample.
+ </para>
+
+ <informalexample>
+ <programlisting role="XML" ><![CDATA[
+<action name="action2" class="org.jboss.soa.esb.actions.bpel.BPELInvoke">
+ <property name="service" value="{http://www.jboss.org/bpel/examples/wsdl}HelloService"/>
+ <property name="port" value="HelloPort" />
+ <property name="operation" value="hello" />
+ <property name="requestPartName" value="TestPart" />
+ <property name="responsePartName" value="TestPart" />
+</action>
+ ]]></programlisting>
+ </informalexample>
+
+ <para>
+ The ESB action class is <emphasis>org.jboss.soa.esb.actions.bpel.BPELInvoke</emphasis>.
+ </para>
+
+ <para>
+ The properties for this ESB action are:
+ </para>
+
+ <itemizedlist>
+ <listitem>
+ <para>
+ service
+ </para>
+ <para>
+ This property is mandatory, and defines the service name registered in the WSDL associated
+ with the deployed BPEL process.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ port
+ </para>
+ <para>
+ This property is optional, and defines the port name registered in the WSDL associated
+ with the deployed BPEL process. This parameter is only required if port specific endpoint
+ configuration information has been registered as part of the BPEL process deployment.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ operation
+ </para>
+ <para>
+ This property is mandatory, and represents the WSDL operation that is being invoked.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ requestPartName
+ </para>
+ <para>
+ This optional property can be used to define the WSDL message part that the inbound
+ ESB message content should be mapped to. This property should be used where the
+ ESB message does not already represent a multi-part message.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ responsePartName
+ </para>
+ <para>
+ This optional property can be used to extract the content of a response multi-part
+ WSDL message, and place this in the ESB message being passed to the next ESB
+ action in the pipeline. If this property is not defined, then the complete multi-part
+ message value will be placed in the ESB message.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ abortOnFault
+ </para>
+ <para>
+ This optional property can be used to indicate whether a fault, generated during the
+ invocation of a BPEL process, should be treated as a message (when the value of this
+ property is 'false'), or as an exception that will abort the ESB service. The default
+ value is 'true', causing the ESB service to abort.
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ <para>
+ This ESB action supports inbound messages with content defined as either:
+ </para>
+
+ <itemizedlist>
+ <listitem>
+ <para>DOM</para>
+ <para>
+ If the message content is a DOM document or element, then this can either be
+ used as the complete multi-part message, or as the content of a message part
+ defined using the <emphasis>requestPartName</emphasis> property.
+ </para>
+ <para>
+ If the message content is a DOM text node, then this can ONLY be used if a
+ multi-part name has been defined in the <emphasis>requestPartName</emphasis>
+ property.
+ </para>
+ </listitem>
+ <listitem>
+ <para>Java String</para>
+ <para>
+ If the message content is a string representation of an XML document, then
+ the <emphasis>requestPartName</emphasis> is optional. If not specified, then
+ the document must represent the multipart message.
+ </para>
+ <para>
+ If the message content is a string that does not represent an XML document, then
+ the <emphasis>requestPartName</emphasis> must be specified.
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ <para>
+ When the message content represents the complete multipart message, this must be defined as
+ a top level element (whose name is irrelevant) with immediate child elements that
+ represent each of the multiple parts of the message. Each of these elements must then
+ have a single element/node, that represents the value of the named part.
+ </para>
+
+ <informalexample>
+ <programlisting role="XML" ><![CDATA[
+<message>
+ <TestPart>
+ Hello World
+ </TestPart>
+</message>
+ ]]></programlisting>
+ </informalexample>
+
+ <para>
+ This shows an example of a multipart message structure. The top element (i.e. <emphasis>message</emphasis>)
+ is unimportant. The elements at the next level represent the part names - in this case
+ there is only a single part, with name <emphasis>TestPart</emphasis>. The value of this
+ part is defined as a text node, with value "Hello World". However this could have been an
+ element representing the root node of a more complex XML value.
+ </para>
+
+ <para>
+ The following diagram illustrates the inter-relationship of the JBossESB bpel_helloworld
+ quickstart and the RiftSaw BPEL process configuration files.
+ </para>
+
+ <imageobject>
+ <imagedata fileref="images/BPELInvokeRelationship.jpg" align="center" width="6in" />
+ </imageobject>
+
+ <section>
+ <title>Fault Handling</title>
+
+ <para>
+ The normal response from a WSDL operation will be returned from the <emphasis>BPELInvoke</emphasis>
+ ESB action as a normal message and placed on the action pipeline ready for processing by the next
+ ESB action, or alternatively if no further actions have been defined, then returned back to the
+ service client.
+ </para>
+
+ <para>
+ Faults, associated with a WSDL operation, are handled slightly differently. Depending on configuration
+ it is possible to receive the fault as an ESB message or for the fault to be treated as an
+ exception which aborts the action pipeline. The configuration property used to determine which
+ behaviour is used is called <emphasis>abortOnFault</emphasis>. The default value for this property
+ is "true". As an example, from the loan fault quickstart sample,
+ </para>
+
+ <informalexample>
+ <programlisting role="XML" ><![CDATA[
+<action name="action2" class="org.jboss.soa.esb.actions.bpel.BPELInvoke">
+ <property name="service" value="{http://example.com/loan-approval/wsdl/}loanService"/>
+ <property name="operation" value="request" />
+ <property name="abortOnFault" value="true" />
+</action>
+ ]]></programlisting>
+ </informalexample>
+
+ <para>
+ A WSDL fault has two relevant pieces of information, the fault type (or code) and the fault details.
+ These are both returned in specific parts of ESB message's body.
+ </para>
+
+ <orderedlist>
+ <listitem>
+ Fault code (as javax.xml.namespace.QName)
+ <para>
+ ESB message body part: <emphasis>org.jboss.soa.esb.message.fault.detail.code</emphasis>
+ </para>
+ <para>
+ This body part identifies the specific WSDL fault returned by the BPEL process, associated with
+ the WSDL operation that was invoked.
+ </para>
+ <warning>
+ The specific version of the QName used by the JBoss server is from the stax-api.jar found in the
+ server's lib/endorsed directory. If the client does not also include this jar in a folder that is
+ in its endorsed directories, then a class version exception will occur when this ESB message
+ part is accessed.
+ </warning>
+ </listitem>
+ <listitem>
+ Fault code (as textual representation of QName)
+ <para>
+ ESB message body part: <emphasis>org.jboss.soa.bpel.message.fault.detail.code</emphasis>
+ </para>
+ <para>
+ This body part will return the textual representation of the QName for the fault code. The textual
+ representation is of the form "{namespace}localpart" and can be converted back into a QName using the
+ <emphasis>javax.xml.namespace.QName.valueOf(String)</emphasis> method.
+ </para>
+ </listitem>
+ <listitem>
+ Fault details
+ <para>
+ ESB message body part: <emphasis>org.jboss.soa.esb.message.fault.detail.detail</emphasis>
+ </para>
+ <para>
+ This body part will contain the textual representation of the message content associated
+ with the fault.
+ </para>
+ </listitem>
+ </orderedlist>
+ </section>
+
+ <section>
+ <title>SAML Support</title>
+
+ <para>
+ If the ESB service uses PicketLink to obtain a SAML token, then this assertion
+ can be passed to the invoked BPEL process, using the <emphasis>requestSAMLPartName</emphasis>
+ property.
+ </para>
+
+ <informalexample>
+ <programlisting role="XML" ><![CDATA[
+<action name="action2" class="org.jboss.soa.esb.actions.bpel.BPELInvoke">
+ <property name="service" value="{http://simple_invoke/helloworld}HelloHeaderWSService"/>
+ <property name="operation" value="sayHi" />
+ <property name="requestPartName" value="sayHello" />
+ <property name="responsePartName" value="sayHelloResponse" />
+ <property name="requestSAMLPartName" value="Security" />
+</action>
+ ]]></programlisting>
+ </informalexample>
+
+ <para>
+ The part name identified by the <emphasis>requestSAMLPartName</emphasis> must be
+ defined as a WS-Security Security element, e.g.
+ </para>
+
+ <informalexample>
+ <programlisting role="XML" ><![CDATA[
+<part name="Security" element="wsse:Security"
+ xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext..." />
+ ]]></programlisting>
+ </informalexample>
+
+ </section>
+ </section>
+
+</chapter>
Copied: trunk/docs/docbook/userguide/src/main/en-US/xslt (from rev 1038, trunk/docs/docbook/userguide/src/main/xslt)
Deleted: trunk/docs/docbook/userguide/src/main/master.xml
===================================================================
--- trunk/docs/docbook/userguide/src/main/master.xml 2010-10-29 00:17:19 UTC (rev 1074)
+++ trunk/docs/docbook/userguide/src/main/master.xml 2010-11-02 10:32:39 UTC (rev 1075)
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-<!ENTITY % RH-ENTITIES SYSTEM "Common_Config/rh-entities.ent">
-]>
-
-<book lang="en">
- <bookinfo>
- <title>RiftSaw 2.1.0-SNAPSHOT</title>
- <subtitle>User Guide</subtitle>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="module/author_group.xml"/>
- </bookinfo>
-
- <toc/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="module/introduction.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="module/admin.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="module/deploy.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="module/wsconfig.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="module/uddi.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="module/esb.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="module/clustering.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="module/db.xml"/>
-</book>
14 years, 1 month