[JBoss jBPM] - jBPM Book--Need Your Help!
by vedj
Hi
I am a technical editor and am currently working on a book on jBPM - the book targets Business Analysts who need to develop a process model for implementation in a a business process management system
I am urgently looking for technical reviewers to provide feedback on the content of the book. If you have experience with jBPM, then please contact me either through this board or by emailing vedj@packtpub.com/davidb(a)packtpub.com.
Reviewing the material is not difficult, but does require some devotion of time to the project. As a reviewer you will be credited in the book, have the opportunity to include a short bio (including some chance to promote your business to readers!), and will receive free copies of the book once it is published.
If you are interested in doing this, please contact me. We hope to publish the book next month -- but need your help urgently to do so!
It's an interesting book, and you'll get the opportunity to see the content before it's published -- and improve on the final book so that it does a great job of serving the jBPM community.
Thank you very much!
Ved
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047485#4047485
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047485
18 years, 11 months
[JCA/JBoss] - Re: Migration to MySQL
by bartek.polakowski
Ok one more time from the beginning. This is what I do:
1)I have mySQL ver 5.0.24a-community-nt so I copy the MySQL JDBC driver (mysql-connector-java-5.0.6-bin.jar) to the $JBOSS_HOME/server/default/lib
2)I delete $JBOSS_HOME/server/default/deploy/hsqldb-ds.xml
3)I copy $JBOSS_HOME/docs/examples/jca/mysql-ds.xml to $JBOSS_HOME/server/default/deploy and modify the <local-tx-datasource> element with my MySQL connection settings:
<jndi-name>MySqlDS</jndi-name> <connection-url>jdbc:mysql://mysql-hostname:3306/jbossdb</connection-url>
| <driver-class>com.mysql.jdbc.Driver</driver-class>
| <user-name>jboss</user-name>
| <password>jboss</password>
4)In $JBOSS_HOME/server/default/conf/standardjaws.xml I change the <type-mapping> element to mySQL:
<datasource>java:/DefaultDS</datasource>
| <type-mapping>mySQL</type-mapping>
5)In standardjbosscmp-jdbc.xml I change the following
<datasource>java:/DefaultDS</datasource>
| <datasource-mapping>mySQL</datasource-mapping>
| <fk-constraint>true</fk-constraint>
6)I add the following within the element of login-config.xml:
<application-policy name = "MySqlDbRealm">
| <authentication>
| <login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule" flag = "required">
| <module-option name = "principal">jboss</module-option>
| <module-option name = "userName">jboss</module-option>
| <module-option name ="password">jboss</module-option>
| <module-option name = "managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=DefaultDS</module-option>
| </login-module>
| </authentication>
| </application-policy>
7) I Replace file $JBOSS_HOME/server/default/deploy/jms/hsql-jdbc2-service.xml by file $JBOSS_HOME/docs/examples/jms/mysql-jdbc2-service.xml
8) Change MySqlDS to DefaultDS in $JBOSS_HOME/server/default/deploy/jms/mysql-jdbc2-service.xml:
<depends optional-attribute-name="ConnectionManager">jboss.jca:service=DataSourceBinding,name=DefaultDS</depends>
9) I rename hsqldb-jdbc-state-service.xml to mysql-jdbc-state-service.xml.
And still the same:/ Maybe I use some incompatible versions of jboss and mysql or the driver is wrong?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047483#4047483
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047483
18 years, 11 months
[JBoss jBPM] - Re: New jBPM Getting Started Documentation
by vedj
Hi
I am a technical editor and am currently working on a book on jBPM - the book targets Business Analysts who need to develop a process model for implementation in a a business process management system
I am urgently looking for technical reviewers to provide feedback on the content of the book. If you have experience with jBPM, then please contact me either through this board or by emailing vedj@packtpub.com/davidb(a)packtpub.com.
Reviewing the material is not difficult, but does require some devotion of time to the project. As a reviewer you will be credited in the book, have the opportunity to include a short bio (including some chance to promote your business to readers!), and will receive free copies of the book once it is published.
If you are interested in doing this, please contact me. We hope to publish the book next month -- but need your help urgently to do so!
It's an interesting book, and you'll get the opportunity to see the content before it's published -- and improve on the final book so that it does a great job of serving the jBPM community.
Thank you very much!
Ved
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047481#4047481
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047481
18 years, 11 months
[JBoss Seam] - Unable to stop conversation propagation for <s:link action=?
by cdanielw
An <s:link/>, where the navigation is defined by the action attribute, propagates the conversation event though the propagation attribute is set to none, a <s:conversationPropagation propagation="none"/> is added to the tag body or a <f:param name="conversationPropagation" value="none"/> is added to the tag body.
I opened an issue for this (http://jira.jboss.com/jira/browse/JBSEAM-1162?page=all), but it was closed. Since this is not a bug, the only way I can see it is that the documentation fails to mention this limitation. Am I missing something obvious?
Below is an extended test case, which should cover most cases.
1) Pointing your browser to test1 begins (or joins) a conversation.
2) Clicking on one of the links navigates to test2, hopefully without propagating the conversation. Whether the conversation was propagated or not is what we actually want to test
3) In test2, clicking on the link starts a new conversation and navigates back to test1. Starting the new conversation will fail if we propagated the conversation from test1.
The links colored red propagates the conversation, while the green ones don?t. All <s:link action=?xxx?/> propagates the conversation. <s:link view=?xxx?/> and <h:commandLink/> doesn?t.
test1.xhtml
| <?xml version='1.0' encoding='UTF-8'?>
| <html xmlns="http://www.w3.org/1999/xhtml"
| xmlns:f="http://java.sun.com/jsf/core"
| xmlns:h="http://java.sun.com/jsf/html"
| xmlns:s="http://jboss.com/products/seam/taglib">
| <head></head>
| <body>
| <h:form>
|
| <h:panelGrid columns="1">
| <s:div>Using s:link - only the ones using the "view" attribute actually stops the conversation propagation:</s:div>
| <s:link value="1" view="/test2.xhtml" propagation="none" style="color: green;"/>
|
| <s:link value="2" action="/test2.xhtml" propagation="none" style="color: red;"/>
|
| <s:link value="3" action="toTest2" propagation="none" style="color: red;"/>
|
| <s:link value="4" action="#{someComponent.doSomething}" propagation="none" style="color: red;"/>
|
| <s:link value="5" view="/test2.xhtml" style="color: green;">
| <s:conversationPropagation propagation="none"/>
| </s:link>
|
| <s:link value="6" action="/test2.xhtml" style="color: red;">
| <s:conversationPropagation propagation="none"/>
| </s:link>
|
| <s:link value="7" action="toTest2" style="color: red;">
| <s:conversationPropagation propagation="none"/>
| </s:link>
|
| <s:link value="8" action="#{someComponent.doSomething}" style="color: red;">
| <s:conversationPropagation propagation="none"/>
| </s:link>
|
| <s:link value="9" view="/test2.xhtml" style="color: green;">
| <f:param name="conversationPropagation" value="none"/>
| </s:link>
|
| <s:link value="10" action="/test2.xhtml" style="color: red;">
| <f:param name="conversationPropagation" value="none"/>
| </s:link>
|
| <s:link value="11" action="toTest2" style="color: red;">
| <f:param name="conversationPropagation" value="none"/>
| </s:link>
|
| <s:link value="12" action="#{someComponent.doSomething}" style="color: red;">
| <f:param name="conversationPropagation" value="none"/>
| </s:link>
|
| <s:div>Using commandLink:</s:div>
|
| <h:commandLink value="13" action="/test2.xhtml" style="color: green;">
| <s:conversationPropagation propagation="none"/>
| </h:commandLink>
|
| <h:commandLink value="14" action="toTest2" style="color: green;">
| <s:conversationPropagation propagation="none"/>
| </h:commandLink>
|
| <h:commandLink value="15" action="#{someComponent.doSomething}" style="color: green;">
| <s:conversationPropagation propagation="none"/>
| </h:commandLink>
|
| <h:commandLink value="16" action="/test2.xhtml" style="color: green;">
| <f:param name="conversationPropagation" value="none"/>
| </h:commandLink>
|
| <h:commandLink value="17" action="toTest2" style="color: green;">
| <f:param name="conversationPropagation" value="none"/>
| </h:commandLink>
|
| <h:commandLink value="18" action="#{someComponent.doSomething}" style="color: green;">
| <f:param name="conversationPropagation" value="none"/>
| </h:commandLink>
|
| <s:div>Using commandLink and not ending propagation - should definitely fail:</s:div>
|
| <h:commandLink value="19" action="/test2.xhtml" style="color: red;"/>
|
| <h:commandLink value="20" action="toTest2" style="color: red;"/>
|
| <h:commandLink value="21" action="#{someComponent.doSomething}" style="color: red;"/>
| </h:panelGrid>
|
| </h:form>
| </body>
| </html>
|
test2.xhtml
| <?xml version='1.0' encoding='UTF-8'?>
| <html xmlns="http://www.w3.org/1999/xhtml"
| xmlns:h="http://java.sun.com/jsf/html">
| <head></head>
| <body>
| <h:form>
| <h:commandLink value="To test 1" action="toTest1"/>
| </h:form>
| </body>
| </html>
|
SomeComponent.java
| import org.jboss.seam.annotations.Name;
|
| @Name("someComponent")
| public class SomeComponent {
| public String doSomething() {
| System.out.println("Something done!");
| return "toTest2";
| }
| }
|
|
The relevant parts from pages.xml
| <page view-id="/test1.xhtml" >
| <begin-conversation join="true"/>
| <navigation>
| <rule if-outcome="toTest2">
| <redirect view-id="/test2.xhtml"/>
| </rule>
| </navigation>
| </page>
|
| <page view-id="/test2.xhtml">
| <navigation>
| <rule if-outcome="toTest1">
| <begin-conversation/>
| <redirect view-id="/test1.xhtml"/>
| </rule>
| </navigation>
| </page>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047480#4047480
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047480
18 years, 11 months