Bug 779632 (SOA-2002)

Summary: QE Review - jBPM Reference Guide
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: David Le Sage <dlesage>
Component: DocumentationAssignee: David Le Sage <dlesage>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.3 CP04 ER1   
Target Milestone: ---   
Target Release: 4.3 CP04 CR1   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-2002
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-10 20:15:18 UTC Type: Task
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description David Le Sage 2010-03-22 00:17:26 UTC
Affects: Documentation (Ref Guide, User Guide, etc.)
Date of First Response: 2010-03-24 05:04:38
project_key: SOA

Please undertake QE review of jBPM Reference Guide to ensure all documentation JIRAs have been dealt with correctly.

Comment 1 Martin Vecera 2010-03-24 08:32:04 UTC
Link: Added: This issue is related to SOA-1898


Comment 2 Martin Vecera 2010-03-24 09:04:38 UTC
Please add documentation for the new configuration parameter - number of retries (see JBPM-2691).

Comment 3 Martin Vecera 2010-03-24 09:04:56 UTC
Link: Added: This issue is related to JBPM-2691


Comment 4 David Le Sage 2010-03-25 04:11:53 UTC
Thanks for the feedback, Martin.  It would be really helpful to us, though, if you could cite section numbers as you go through the book so we know where to find things or, in this case, where they should go.  Thanks!  

Comment 5 David Le Sage 2010-03-25 05:34:39 UTC
Hello Martin,

As per SOA-1998 I have just added information about changes in numbers of retries that Alejandro documented.  Is that what the part to which you were referring?  If so, it is now in the document (Section 10.4.)


Cheers.

Comment 6 Martin Vecera 2010-03-25 08:08:50 UTC
Hello David, I did not went trhough the book. I just verified bug fixes and realized that these things are not documented anywhere.

Comment 7 Martin Vecera 2010-03-25 08:16:26 UTC
1) I suggest to put Section 10.4 under Chapter 3 because it deals with configuration.
2) Update the jbpm.cfg.xml listing in Chapter 3 and in the former Section 10.4 - job executor configuration uses <field .../> instead of <property .../>
3) The default value for retries is 1. It means that after a first failure, the job is retried once.
4) It would be better if jbpm.cfg.xml listings in Chapter 3 and Section 10.4 used the default value for retries field (now it reads 3).

Comment 8 David Le Sage 2010-03-26 01:37:45 UTC
Hello Martin,


Thanks for your feedback.  Much appreciated.

1.  I have moved it, as per your recommendation.
2. See soa-1998  - Alejandro has now standardised it on property.
3 and 4. Talked to Alejandro on IRC.  Three is now going to be the default value. There is only one listing now, instead of two.

Cheers.

Comment 9 Martin Vecera 2010-03-26 09:35:26 UTC
Link: Added: This issue related SOA-2015


Comment 10 Martin Vecera 2010-03-26 09:37:19 UTC
Please add a note on <field .../> -> <property .../> transition to release notes. Thanks.

Comment 11 David Le Sage 2010-03-29 03:43:12 UTC
Okay, I have added this to the Release Note:


Note:

"Field" has become "property" to avoid direct field injection as Red Hat prefers you to
use setter method invocation instead.


Comment 14 David Le Sage 2010-04-08 01:04:12 UTC
Fixed it.  :-)

Comment 17 Len DiMaggio 2010-04-08 15:35:50 UTC
Link: Added: This issue related SOA-1285


Comment 19 David Le Sage 2010-04-08 22:09:41 UTC
FYI - can you please look at these question that Len has raised?

Comment 20 Alejandro Guizar 2010-04-09 00:08:07 UTC
(3.5) Increasing the number of threads is not a bad plan. It can be used to increase throughput by carefully tuning the job executor parameters. See this article: http://www.theserverside.com/news/1363588/Scalability-and-Performance-of-jBPM-Workflow-Engine-in-a-JBoss-Cluster

As for the missing properties, they are deprecated.

(4.2.2)  The addition came for a customer request to document these features: SOA-1285 and JBPM-2164. As for why a user would want to do this, in a production environment it is very sensible not to grant the table creation privilege to the database login that runs the application. In this scenario the user needs alternate means to create the schema. The JbpmSchema API and the Ant task provide such means.

(4.2.3) The JbpmSchemaTask is packaged in jbpm-jpdl.jar. No script needs to be supplied - end users define and run this task in their own scripts, based on the sample snippet.

Comment 22 David Le Sage 2010-04-12 04:05:52 UTC
Len, 

As discussed on IRC, I have added information derived from Alejandro's responses to 4.2.2 and 4.2.3 to the document.  

Cheers.

Comment 24 David Le Sage 2010-04-12 22:20:52 UTC
Thanks, Len.