[JBoss jBPM] - Re: How to deploy a BPEL process using the APIs?
by dhanushgopinath
Alex,
I moved this entire deployment to a Webservice Impl that is deployed on a JBOSS AS. So no I presume I can use the default DataSource and not the Hibernate Server Mode over TCP.(Am I right??)
I am using the default Data Source, but still the same issue is coming.
The issue is18:40:58,385 INFO [TomcatDeployer] deploy, ctxPath=/Workflow3, warUrl=.../tmp/deploy/tmp55362Workflow3-exp.war/
| 18:40:59,103 ERROR [[/Workflow3]] Exception sending context initialized event to listener instance of class org.jbpm.bpel.integration.server.IntegrationConfigurator
| org.jbpm.bpel.BpelException: process not found: name=Workflow3, targetNamespace=http://www.altair.com/Workflow3, version=null
| at org.jbpm.bpel.deploy.DeploymentDescriptor.findProcessDefinition(DeploymentDescriptor.java:89)
| at org.jbpm.bpel.integration.server.IntegrationConfigurator.contextInitialized(IntegrationConfigurator.java:56)
if you look at it you can see that when I am trying to deploy the web module it is not able to find the process that was deployed.
In this case graphSession.findLatestProcessDefinition is returning null
Why is it not able to find?
After deploying the process definition i tried to use the same API to find the process definition using the following code: In this case I was able to get it
| if (processDefinition instanceof BpelProcessDefinition)
| {
| BpelGraphSession graphSession = BpelGraphSession.getContextInstance(jbpmContext);
| graphSession.deployProcessDefinition((BpelProcessDefinition) processDefinition);
|
| ProcessDefinition processDefinition2 = graphSession.findLatestProcessDefinition(processDefinition.getName(),"http://www.altair.com/Workflow3");
| }
|
in this case processDefinition2 was identical as processDefinition.
But when I go ahead and deploy web module, it tries to find the deployed process definition it is returned null. Why is this happening.
Is there anything else I need to do ?
Please let me know. I am following the same code base as given earlier.
Thanks
Dhanush
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165325#4165325
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165325
17 years, 8 months
[JBoss jBPM] - BPEL Correlation & Eventhandling
by naera
For my bachelor thesis I am working on the implementation of a specific BPEL Process and I am stuck since days with an CorrelationViolation.
I optain an CorrelationViolation when I invoke the openServiceCall operation. If I delete the whole Eventhandler part, the invoking of the openServiceCall isn't a problem at all, and the correlation worked with before with several recieve/return paires instead of event handler, but this won't serve the purpose.
Any kind of help would highly be appreciated.
Thanks
Environment:
AS: jboss-4.2.2.GA
BPEL Engine: jbpm-bpel-1.1.GA
OS: Windows XP Pro SP2
optained error
15:00:39,640 ERROR [StartListener] request delivery failed due to non-recoverable exception, giving up
| org.jbpm.bpel.graph.exe.BpelFaultException: org.jbpm.bpel.graph.exe.FaultInstance@1be6f3c[name={http://docs.oasis-open.org/wsbpel/2.0/process/executable}correlationViolation]
| at org.jbpm.bpel.integration.exe.CorrelationSetInstance.checkInitialized(CorrelationSetInstance.java:117)
| at org.jbpm.bpel.integration.exe.CorrelationSetInstance.getProperties(CorrelationSetInstance.java:92)
| at org.jbpm.bpel.integration.def.Correlations.getReceptionProperties(Correlations.java:72)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
| at org.jbpm.bpel.integration.def.Correlations_$$_javassist_43.getReceptionProperties(Correlations_$$_javassist_43.java)
| at org.jbpm.bpel.integration.jms.RequestListener.formatSelector(RequestListener.java:106)
| at org.jbpm.bpel.integration.jms.RequestListener.<init>(RequestListener.java:80)
| at org.jbpm.bpel.integration.jms.JmsIntegrationService.jmsReceive(JmsIntegrationService.java:80)
| at org.jbpm.bpel.integration.jms.JmsIntegrationService.receive(JmsIntegrationService.java:70)
| at org.jbpm.bpel.graph.exe.ScopeInstance.enableEvents(ScopeInstance.java:221)
| at org.jbpm.bpel.integration.def.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:144)
| at org.jbpm.bpel.integration.def.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:61)
| at org.jbpm.bpel.integration.def.ReceiveAction.initializeProcessInstance(ReceiveAction.java:87)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
| at org.jbpm.bpel.integration.def.ReceiveAction_$$_javassist_93.initializeProcessInstance(ReceiveAction_$$_javassist_93.java)
| at org.jbpm.bpel.integration.jms.StartListener.deliverRequest(StartListener.java:210)
| at org.jbpm.bpel.integration.jms.StartListener.onMessage(StartListener.java:168)
| at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:682)
| at java.lang.Thread.run(Thread.java:595)
|
createServiceCall.bpel
<process
| name="createServiceCall"
| targetNamespace="http://coresystems.ch/bt/bpel/createServiceCall"
| xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
| xmlns:xsd="http://www.w3.org/2001/XMLSchema"
| xmlns:tns="http://coresystems.ch/bt/bpel/createServiceCall"
| xmlns:nswsdl="http://coresystems.ch/bt/wsdl/createServiceCall" xmlns:sxt="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Trace" xmlns:sxed="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor" xmlns:ns0="http://www.coresystems.ch/webservices" xmlns:ns1="http://coresystems.ch/bt/xsd/createServiceCall">
|
| <!-- IMPORTS OF WSDL FILES -->
| <import namespace="http://coresystems.ch/bt/wsdl/createServiceCall" location="createServiceCall.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
| <!-- PARTNER LINK DECLARATION -->
| <partnerLinks>
| <partnerLink name="ClientPartnerLink" partnerLinkType="nswsdl:ClientPartnerLink" myRole="customer"/>
| </partnerLinks>
|
| <!-- VARIABLE DECLARATIONS -->
| <variables>
| <variable name="businessPartnerID" type="xsd:string"/>
| <variable name="serviceCallID" type="xsd:string"/>
| <variable name="systemOrEquipIsChosen" type="xsd:boolean"/>
| <variable name="openServiceCallInput" messageType="nswsdl:openServiceRequestInMessage"/>
| <variable name="openServiceCallOutput" messageType="nswsdl:openServiceRequestOutMessage"/>
| </variables>
|
| <!-- PROCESS ITSELF -->
| <correlationSets>
| <correlationSet name="serviceCallCreation" properties="nswsdl:requestID"/>
| </correlationSets>
| <eventHandlers>
| <onEvent partnerLink="ClientPartnerLink" operation="getSystems" portType="nswsdl:openServiceRequest" variable="getSystemsIn" messageType="nswsdl:getSystemsOperationRequest">
| <correlations>
| <correlation set="serviceCallCreation" initiate="no"/>
| </correlations>
| <scope name="Scope1">
| <variables>
| <variable name="getSystemsOut" messageType="nswsdl:getSystemsOperationResponse"/>
| <variable name="getSystemsIn" messageType="nswsdl:getSystemsOperationRequest"/>
| </variables>
| <sequence name="Sequence1">
| <assign name="Assign1">
| <copy>
| <from variable="serviceCallID"/>
| <to>$getSystemsOut.getSystemsObject/serviceCallID</to>
| </copy>
| </assign>
| <reply name="replyGetSystems" partnerLink="ClientPartnerLink" operation="getSystems" portType="nswsdl:openServiceRequest" variable="getSystemsOut">
| <correlations>
| <correlation set="serviceCallCreation" initiate="no"/>
| </correlations>
| </reply>
| </sequence>
| </scope>
| </onEvent>
| </eventHandlers>
| <sequence name="mainSequence">
| <receive name="openServiceCall" createInstance="yes" partnerLink="ClientPartnerLink" operation="openServiceRequest" portType="nswsdl:openServiceRequest" variable="openServiceCallInput">
| <correlations>
| <correlation set="serviceCallCreation" initiate="yes"/>
| </correlations>
| </receive>
| <assign name="assignIDs">
| <copy>
| <from>$openServiceCallInput.openServiceObject/businessPartnerID</from>
| <to variable="businessPartnerID"/>
| </copy>
| <copy>
| <from>$openServiceCallInput.openServiceObject/serviceCallID</from>
| <to variable="serviceCallID"/>
| </copy>
| <copy>
| <from>$openServiceCallInput.openServiceObject/serviceCallID</from>
| <to>$openServiceCallOutput.openServiceObject/serviceCallID</to>
| </copy>
| <copy>
| <from>true()</from>
| <to>$openServiceCallOutput.openServiceObject/serviceCreationSuccessfull</to>
| </copy>
| </assign>
| <reply name="openServiceCallReturn" partnerLink="ClientPartnerLink" operation="openServiceRequest" portType="nswsdl:openServiceRequest" variable="openServiceCallOutput">
| <correlations>
| <correlation set="serviceCallCreation" initiate="no"/>
| </correlations>
| </reply>
| </sequence>
| </process>
|
createServiceCall.wsdl
<?xml version="1.0" encoding="UTF-8"?>
| <definitions name="createServiceCall" targetNamespace="http://coresystems.ch/bt/wsdl/createServiceCall"
| xmlns="http://schemas.xmlsoap.org/wsdl/"
| xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
| xmlns:xsd="http://www.w3.org/2001/XMLSchema"
| xmlns:tns="http://coresystems.ch/bt/wsdl/createServiceCall"
| xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
| xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop" xmlns:ns0="http://coresystems.ch/bt/xsd/createServiceCall" xmlns:ns1="http://coresystems.ch/bt/xsd/createServiceCall">
|
|
| <!-- MESSAGES -->
| <types>
| <xsd:schema targetNamespace="http://coresystems.ch/bt/wsdl/createServiceCall" xmlns:tns="http://coresystems.ch/bt/wsdl/createServiceCall" xmlns:ns2="http://www.coresystems.ch/webservices">
| <xsd:import schemaLocation="createServiceCallSchema.xsd" namespace="http://www.coresystems.ch/webservices"/>
| <xsd:element name="openServiceRequestInType">
| <xsd:complexType>
| <xsd:sequence>
| <xsd:element name="businessPartnerID" type="xsd:string"></xsd:element>
| <xsd:element name="serviceCallID" type="xsd:string"></xsd:element>
| </xsd:sequence>
| </xsd:complexType>
| </xsd:element>
| <xsd:element name="openServiceRequestOutType">
| <xsd:complexType>
| <xsd:sequence>
| <xsd:element name="serviceCreationSuccessfull" type="xsd:boolean"></xsd:element>
| <xsd:element name="serviceCallID" type="xsd:string"></xsd:element>
| </xsd:sequence>
| </xsd:complexType>
| </xsd:element>
| <xsd:element name="getSystemsInType">
| <xsd:complexType>
| <xsd:sequence>
| <xsd:element name="serviceCallID" type="xsd:string"></xsd:element>
| </xsd:sequence>
| </xsd:complexType>
| </xsd:element>
| <xsd:element name="getSystemsOutType">
| <xsd:complexType>
| <xsd:sequence>
| <xsd:element name="serviceCallID" type="xsd:string"></xsd:element>
| <xsd:element name="systemArray" type="ns2:ArrayOfBPSystemInfo"></xsd:element>
| </xsd:sequence>
| </xsd:complexType>
| </xsd:element>
| </xsd:schema>
| </types>
| <message name="openServiceRequestInMessage">
| <part name="openServiceObject" element="tns:openServiceRequestInType"/>
| </message>
| <message name="openServiceRequestOutMessage">
| <part name="openServiceObject" element="tns:openServiceRequestOutType"/>
| </message>
|
| <message name="getSystemsOperationRequest">
| <part name="getSystemsObject" element="tns:getSystemsInType"/>
| </message>
| <message name="getSystemsOperationResponse">
| <part name="getSystemsObject" element="tns:getSystemsOutType"/>
| </message>
| <portType name="openServiceRequest">
| <operation name="openServiceRequest">
| <input name="input" message="tns:openServiceRequestInMessage"/>
| <output name="output" message="tns:openServiceRequestOutMessage"/>
| </operation>
| <operation name="getSystems">
| <input name="input1" message="tns:getSystemsOperationRequest"/>
| <output name="output1" message="tns:getSystemsOperationResponse"/>
| </operation>
| </portType>
|
| <!-- PARTNERLINKS -->
| <plnk:partnerLinkType name="ClientPartnerLink">
| <plnk:role name="customer" portType="tns:openServiceRequest"/>
| </plnk:partnerLinkType>
|
| <vprop:property name="requestID" type="xsd:string"/>
| <vprop:propertyAlias propertyName="tns:requestID" messageType="tns:openServiceRequestOutMessage" part="openServiceObject">
| <vprop:query>/tns:openServiceRequestOutType/serviceCallID</vprop:query>
| </vprop:propertyAlias>
| <vprop:propertyAlias propertyName="tns:requestID" messageType="tns:getSystemsOperationRequest" part="getSystemsObject">
| <vprop:query>/tns:getSystemsInType/serviceCallID</vprop:query>
| </vprop:propertyAlias>
| <vprop:propertyAlias propertyName="tns:requestID" messageType="tns:getSystemsOperationResponse" part="getSystemsObject">
| <vprop:query>/tns:getSystemsOutType/serviceCallID</vprop:query>
| </vprop:propertyAlias>
| <vprop:propertyAlias propertyName="tns:requestID" messageType="tns:openServiceRequestInMessage" part="openServiceObject">
| <vprop:query>/tns:openServiceRequestInType/serviceCallID</vprop:query>
| </vprop:propertyAlias>
| </definitions>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165321#4165321
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165321
17 years, 8 months
[JBoss jBPM] - Re: How to deploy a BPEL process using the APIs?
by dhanushgopinath
Hi Alex,
Where are the client properties configured? is it in jbpm.hibernate.cfg.xml ? I tried configuring the hsqldb-ds.xml to use it over tcp. I also made jbpm.hibernate.cfg.xml to use the JDBC Conenction Properties as you mentioned earlier.
But it was failing to load the BPEL. The Database Connection page in the JBPM BPEL was showing Database Connection Failure.
Please see my hsqldb-ds.xml
<?xml version="1.0" encoding="UTF-8"?>
|
| <!-- The Hypersonic embedded database JCA connection factory config -->
|
| <!-- $Id: hsqldb-ds.xml 39791 2006-01-10 18:14:42Z dimitris $ -->
|
| <datasources>
| <local-tx-datasource>
|
| <!-- The jndi name of the DataSource, it is prefixed with java:/ -->
| <!-- Datasources are not available outside the virtual machine -->
| <jndi-name>DefaultDS</jndi-name>
|
| <!-- For server mode db, allowing other processes to use hsqldb over tcp.
| This requires the org.jboss.jdbc.HypersonicDatabase mbean.
| <connection-url>jdbc:hsqldb:hsql://localhost:1701</connection-url> -->
|
| <!-- For totally in-memory db, not saved when jboss stops.
| The org.jboss.jdbc.HypersonicDatabase mbean is required for proper db shutdown
| <connection-url>jdbc:hsqldb:.</connection-url>
| -->
| <!-- For in-process persistent db, saved when jboss stops.
| The org.jboss.jdbc.HypersonicDatabase mbean is required for proper db shutdown
| -->
| <connection-url>jdbc:hsqldb:${jboss.server.data.dir}${/}hypersonic${/}localDB</connection-url>
|
| <!-- The driver class -->
| <driver-class>org.hsqldb.jdbcDriver</driver-class>
|
| <!-- The login and password -->
| <user-name>sa</user-name>
| <password></password>
|
| <!--example of how to specify class that determines if exception means connection should be destroyed-->
| <!--exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.DummyExceptionSorter</exception-sorter-class-name-->
|
| <!-- this will be run before a managed connection is removed from the pool for use by a client-->
| <!--<check-valid-connection-sql>select * from something</check-valid-connection-sql> -->
|
| <!-- The minimum connections in a pool/sub-pool. Pools are lazily constructed on first use -->
| <min-pool-size>5</min-pool-size>
|
| <!-- The maximum connections in a pool/sub-pool -->
| <max-pool-size>20</max-pool-size>
|
| <!-- The time before an unused connection is destroyed -->
| <!-- NOTE: This is the check period. It will be destroyed somewhere between 1x and 2x this timeout after last use -->
| <!-- TEMPORARY FIX! - Disable idle connection removal, HSQLDB has a problem with not reaping threads on closed connections -->
| <idle-timeout-minutes>0</idle-timeout-minutes>
|
| <!-- sql to call when connection is created
| <new-connection-sql>some arbitrary sql</new-connection-sql>
| -->
|
| <!-- sql to call on an existing pooled connection when it is obtained from pool
| <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
| -->
|
| <!-- example of how to specify a class that determines a connection is valid before it is handed out from the pool
| <valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.DummyValidConnectionChecker</valid-connection-checker-class-name>
| -->
|
| <!-- Whether to check all statements are closed when the connection is returned to the pool,
| this is a debugging feature that should be turned off in production -->
| <track-statements/>
|
| <!-- Use the getConnection(user, pw) for logins
| <application-managed-security/>
| -->
|
| <!-- Use the security domain defined in conf/login-config.xml -->
| <security-domain>HsqlDbRealm</security-domain>
|
| <!-- Use the security domain defined in conf/login-config.xml or the
| getConnection(user, pw) for logins. The security domain takes precedence.
| <security-domain-and-application>HsqlDbRealm</security-domain-and-application>
| -->
|
| <!-- HSQL DB benefits from prepared statement caching -->
| <prepared-statement-cache-size>32</prepared-statement-cache-size>
|
| <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
| <metadata>
| <type-mapping>Hypersonic SQL</type-mapping>
| </metadata>
|
| <!-- When using in-process (standalone) mode -->
| <depends>jboss:service=Hypersonic,database=localDB</depends>
| <!-- Uncomment when using hsqldb in server mode
| <depends>jboss:service=Hypersonic</depends>
| -->
| </local-tx-datasource>
|
| <!-- Uncomment if you want hsqldb accessed over tcp (server mode)
|
| <mbean code="org.jboss.jdbc.HypersonicDatabase"
| name="jboss:service=Hypersonic">
| <attribute name="Port">1701</attribute>
| <attribute name="BindAddress">localhost</attribute>
| <attribute name="Silent">true</attribute>
| <attribute name="Database">default</attribute>
| <attribute name="Trace">false</attribute>
| <attribute name="No_system_exit">true</attribute>
| </mbean>
| -->
|
| <!-- For hsqldb accessed from jboss only, in-process (standalone) mode -->
| <mbean code="org.jboss.jdbc.HypersonicDatabase"
| name="jboss:service=Hypersonic,database=localDB">
| <attribute name="Database">localDB</attribute>
| <attribute name="InProcessMode">true</attribute>
| </mbean>
|
| </datasources>
|
and jbpm.hibernate.cfg.xml
<?xml version='1.0' encoding='utf-8'?>
| <!DOCTYPE hibernate-configuration PUBLIC
| "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
| "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
|
| <hibernate-configuration>
|
| <session-factory>
|
| <!-- SQL dialect -->
| <property name="hibernate.dialect">org.hibernate.dialect.HSQLDialect</property>
| <property name="hibernate.cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property>
|
| <!-- JDBC connection properties (begin) === -->
| <!--
| <property name="hibernate.connection.driver_class">org.hsqldb.jdbcDriver</property>
| <property name="hibernate.connection.url">jdbc:hsqldb:mem:jbpm;sql.enforce_strict_size=true</property>
| <property name="hibernate.connection.username">sa</property>
| <property name="hibernate.connection.password"/>
| <property name="hibernate.hbm2ddl.auto">create</property> -->
| <!-- ==== JDBC connection properties (end) -->
|
| <!-- DataSource properties (begin) -->
| <property name="hibernate.connection.datasource">java:/DefaultDS</property>
| <!-- DataSource properties (end) -->
|
| <!-- JTA transaction properties (begin) ===
| <property name="hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</property>
| <property name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.JBossTransactionManagerLookup</property>
| <property name="jta.UserTransaction">UserTransaction</property>
| ==== JTA transaction properties (end) -->
|
| <!-- logging properties (begin) -->
| <property name="hibernate.format_sql">true</property>
| <property name="hibernate.use_sql_comments">true</property>
| <!-- logging properties (end) -->
|
| <!-- ############################################ -->
| <!-- # mapping files with external dependencies # -->
| <!-- ############################################ -->
|
| <!-- following mapping file has a dependendy on -->
| <!-- 'bsh-{version}.jar'. -->
| <!-- uncomment this if you don't have bsh on your -->
| <!-- classpath. you won't be able to use the -->
| <!-- script element in process definition files -->
| <mapping resource="org/jbpm/graph/action/Script.hbm.xml"/>
|
| <!-- following mapping files have a dependendy on -->
| <!-- 'jbpm-identity.jar', mapping files -->
| <!-- of the pluggable jbpm identity component. -->
| <!-- Uncomment the following 3 lines if you -->
| <!-- want to use the jBPM identity mgmgt -->
| <!-- component. -->
| <!-- identity mappings (begin) -->
| <mapping resource="org/jbpm/identity/User.hbm.xml"/>
| <mapping resource="org/jbpm/identity/Group.hbm.xml"/>
| <mapping resource="org/jbpm/identity/Membership.hbm.xml"/>
| <!-- identity mappings (end) -->
|
| <!-- following mapping files have a dependendy on -->
| <!-- the JCR API -->
| <!-- jcr mappings (begin) ===
| <mapping resource="org/jbpm/context/exe/variableinstance/JcrNodeInstance.hbm.xml"/>
| ==== jcr mappings (end) -->
|
| <!-- ###################### -->
| <!-- # jbpm mapping files # -->
| <!-- ###################### -->
|
| <!-- hql queries and type defs -->
| <mapping resource="org/jbpm/db/hibernate.queries.hbm.xml" />
|
| <!-- graph.def mapping files -->
| <mapping resource="org/jbpm/graph/def/ProcessDefinition.hbm.xml"/>
| <mapping resource="org/jbpm/graph/def/Node.hbm.xml"/>
| <mapping resource="org/jbpm/graph/def/Transition.hbm.xml"/>
| <mapping resource="org/jbpm/graph/def/Event.hbm.xml"/>
| <mapping resource="org/jbpm/graph/def/Action.hbm.xml"/>
| <mapping resource="org/jbpm/graph/def/SuperState.hbm.xml"/>
| <mapping resource="org/jbpm/graph/def/ExceptionHandler.hbm.xml"/>
| <mapping resource="org/jbpm/instantiation/Delegation.hbm.xml"/>
|
| <!-- graph.node mapping files -->
| <mapping resource="org/jbpm/graph/node/StartState.hbm.xml"/>
| <mapping resource="org/jbpm/graph/node/EndState.hbm.xml"/>
| <mapping resource="org/jbpm/graph/node/ProcessState.hbm.xml"/>
| <mapping resource="org/jbpm/graph/node/Decision.hbm.xml"/>
| <mapping resource="org/jbpm/graph/node/Fork.hbm.xml"/>
| <mapping resource="org/jbpm/graph/node/Join.hbm.xml"/>
| <mapping resource="org/jbpm/graph/node/State.hbm.xml"/>
| <mapping resource="org/jbpm/graph/node/TaskNode.hbm.xml"/>
|
| <!-- context.def mapping files -->
| <mapping resource="org/jbpm/context/def/ContextDefinition.hbm.xml"/>
| <mapping resource="org/jbpm/context/def/VariableAccess.hbm.xml"/>
|
| <!-- taskmgmt.def mapping files -->
| <mapping resource="org/jbpm/taskmgmt/def/TaskMgmtDefinition.hbm.xml"/>
| <mapping resource="org/jbpm/taskmgmt/def/Swimlane.hbm.xml"/>
| <mapping resource="org/jbpm/taskmgmt/def/Task.hbm.xml"/>
| <mapping resource="org/jbpm/taskmgmt/def/TaskController.hbm.xml"/>
|
| <!-- module.def mapping files -->
| <mapping resource="org/jbpm/module/def/ModuleDefinition.hbm.xml"/>
|
| <!-- bytes mapping files -->
| <mapping resource="org/jbpm/bytes/ByteArray.hbm.xml"/>
|
| <!-- file.def mapping files -->
| <mapping resource="org/jbpm/file/def/FileDefinition.hbm.xml"/>
|
| <!-- scheduler.def mapping files -->
| <mapping resource="org/jbpm/scheduler/def/CreateTimerAction.hbm.xml"/>
| <mapping resource="org/jbpm/scheduler/def/CancelTimerAction.hbm.xml"/>
|
| <!-- graph.exe mapping files -->
| <mapping resource="org/jbpm/graph/exe/Comment.hbm.xml"/>
| <mapping resource="org/jbpm/graph/exe/ProcessInstance.hbm.xml"/>
| <mapping resource="org/jbpm/graph/exe/Token.hbm.xml"/>
| <mapping resource="org/jbpm/graph/exe/RuntimeAction.hbm.xml"/>
|
| <!-- module.exe mapping files -->
| <mapping resource="org/jbpm/module/exe/ModuleInstance.hbm.xml"/>
|
| <!-- context.exe mapping files -->
| <mapping resource="org/jbpm/context/exe/ContextInstance.hbm.xml"/>
| <mapping resource="org/jbpm/context/exe/TokenVariableMap.hbm.xml"/>
| <mapping resource="org/jbpm/context/exe/VariableInstance.hbm.xml"/>
| <mapping resource="org/jbpm/context/exe/variableinstance/ByteArrayInstance.hbm.xml"/>
| <mapping resource="org/jbpm/context/exe/variableinstance/DateInstance.hbm.xml"/>
| <mapping resource="org/jbpm/context/exe/variableinstance/DoubleInstance.hbm.xml"/>
| <mapping resource="org/jbpm/context/exe/variableinstance/HibernateLongInstance.hbm.xml"/>
| <mapping resource="org/jbpm/context/exe/variableinstance/HibernateStringInstance.hbm.xml"/>
| <mapping resource="org/jbpm/context/exe/variableinstance/LongInstance.hbm.xml"/>
| <mapping resource="org/jbpm/context/exe/variableinstance/NullInstance.hbm.xml"/>
| <mapping resource="org/jbpm/context/exe/variableinstance/StringInstance.hbm.xml"/>
|
| <!-- job mapping files -->
| <mapping resource="org/jbpm/job/Job.hbm.xml"/>
| <mapping resource="org/jbpm/job/Timer.hbm.xml"/>
| <mapping resource="org/jbpm/job/ExecuteNodeJob.hbm.xml"/>
| <mapping resource="org/jbpm/job/ExecuteActionJob.hbm.xml"/>
|
| <!-- taskmgmt.exe mapping files -->
| <mapping resource="org/jbpm/taskmgmt/exe/TaskMgmtInstance.hbm.xml"/>
| <mapping resource="org/jbpm/taskmgmt/exe/TaskInstance.hbm.xml"/>
| <mapping resource="org/jbpm/taskmgmt/exe/PooledActor.hbm.xml"/>
| <mapping resource="org/jbpm/taskmgmt/exe/SwimlaneInstance.hbm.xml"/>
|
| <!-- logging mapping files -->
| <mapping resource="org/jbpm/logging/log/ProcessLog.hbm.xml"/>
| <mapping resource="org/jbpm/logging/log/MessageLog.hbm.xml"/>
| <mapping resource="org/jbpm/logging/log/CompositeLog.hbm.xml"/>
| <mapping resource="org/jbpm/graph/log/ActionLog.hbm.xml"/>
| <mapping resource="org/jbpm/graph/log/NodeLog.hbm.xml"/>
| <mapping resource="org/jbpm/graph/log/ProcessInstanceCreateLog.hbm.xml"/>
| <mapping resource="org/jbpm/graph/log/ProcessInstanceEndLog.hbm.xml"/>
| <mapping resource="org/jbpm/graph/log/ProcessStateLog.hbm.xml"/>
| <mapping resource="org/jbpm/graph/log/SignalLog.hbm.xml"/>
| <mapping resource="org/jbpm/graph/log/TokenCreateLog.hbm.xml"/>
| <mapping resource="org/jbpm/graph/log/TokenEndLog.hbm.xml"/>
| <mapping resource="org/jbpm/graph/log/TransitionLog.hbm.xml"/>
| <mapping resource="org/jbpm/context/log/VariableLog.hbm.xml"/>
| <mapping resource="org/jbpm/context/log/VariableCreateLog.hbm.xml"/>
| <mapping resource="org/jbpm/context/log/VariableDeleteLog.hbm.xml"/>
| <mapping resource="org/jbpm/context/log/VariableUpdateLog.hbm.xml"/>
| <mapping resource="org/jbpm/context/log/variableinstance/ByteArrayUpdateLog.hbm.xml"/>
| <mapping resource="org/jbpm/context/log/variableinstance/DateUpdateLog.hbm.xml"/>
| <mapping resource="org/jbpm/context/log/variableinstance/DoubleUpdateLog.hbm.xml"/>
| <mapping resource="org/jbpm/context/log/variableinstance/HibernateLongUpdateLog.hbm.xml"/>
| <mapping resource="org/jbpm/context/log/variableinstance/HibernateStringUpdateLog.hbm.xml"/>
| <mapping resource="org/jbpm/context/log/variableinstance/LongUpdateLog.hbm.xml"/>
| <mapping resource="org/jbpm/context/log/variableinstance/StringUpdateLog.hbm.xml"/>
| <mapping resource="org/jbpm/taskmgmt/log/TaskLog.hbm.xml"/>
| <mapping resource="org/jbpm/taskmgmt/log/TaskCreateLog.hbm.xml"/>
| <mapping resource="org/jbpm/taskmgmt/log/TaskAssignLog.hbm.xml"/>
| <mapping resource="org/jbpm/taskmgmt/log/TaskEndLog.hbm.xml"/>
| <mapping resource="org/jbpm/taskmgmt/log/SwimlaneLog.hbm.xml"/>
| <mapping resource="org/jbpm/taskmgmt/log/SwimlaneCreateLog.hbm.xml"/>
| <mapping resource="org/jbpm/taskmgmt/log/SwimlaneAssignLog.hbm.xml"/>
|
| <!-- ###################### -->
| <!-- # bpel mapping files # -->
| <!-- ###################### -->
|
| <!-- hql queries and type defs -->
| <mapping resource="org/jbpm/bpel/persistence/db/hibernate.queries.hbm.xml" />
|
| <!-- graph.def mapping files -->
| <mapping resource="org/jbpm/bpel/graph/def/BpelProcessDefinition.hbm.xml" />
| <mapping resource="org/jbpm/bpel/graph/def/ImportDefinition.hbm.xml" />
| <mapping resource="org/jbpm/bpel/graph/def/Import.hbm.xml" />
| <mapping resource="org/jbpm/bpel/graph/def/LinkDefinition.hbm.xml" />
| <mapping resource="org/jbpm/bpel/graph/def/Activity.hbm.xml" />
| <mapping resource="org/jbpm/bpel/graph/def/Namespace.hbm.xml" />
|
| <!-- graph.basic mapping files -->
| <mapping resource="org/jbpm/bpel/graph/basic/BasicActivity.hbm.xml" />
| <mapping resource="org/jbpm/bpel/graph/basic/AssignOperation.hbm.xml" />
| <mapping resource="org/jbpm/bpel/graph/basic/assign/Copy.hbm.xml" />
| <mapping resource="org/jbpm/bpel/graph/basic/assign/From.hbm.xml" />
| <mapping resource="org/jbpm/bpel/graph/basic/assign/To.hbm.xml" />
|
| <!-- graph.struct mapping files -->
| <mapping resource="org/jbpm/bpel/graph/struct/StructuredActivity.hbm.xml" />
|
| <!-- graph.scope mapping files -->
| <mapping resource="org/jbpm/bpel/graph/scope/Scope.hbm.xml" />
| <mapping resource="org/jbpm/bpel/graph/scope/Handler.hbm.xml" />
| <mapping resource="org/jbpm/bpel/graph/scope/Compensate.hbm.xml" />
|
| <!-- graph.exe mapping files -->
| <mapping resource="org/jbpm/bpel/graph/exe/LinkInstance.hbm.xml" />
| <mapping resource="org/jbpm/bpel/graph/exe/ScopeInstance.hbm.xml" />
| <mapping resource="org/jbpm/bpel/graph/exe/FaultInstance.hbm.xml" />
|
| <!-- variable.def mapping files -->
| <mapping resource="org/jbpm/bpel/variable/def/VariableDefinition.hbm.xml" />
| <mapping resource="org/jbpm/bpel/variable/def/VariableType.hbm.xml" />
|
| <!-- variable.exe mapping files -->
| <mapping resource="org/jbpm/bpel/variable/exe/ElementInstance.hbm.xml" />
| <mapping resource="org/jbpm/bpel/variable/exe/MessageValue.hbm.xml" />
|
| <!-- sublang.def mapping files -->
| <mapping resource="org/jbpm/bpel/sublang/def/Snippet.hbm.xml" />
|
| <!-- alarm mapping files -->
| <mapping resource="org/jbpm/bpel/alarm/AlarmAction.hbm.xml" />
|
| <!-- integration.catalog mapping files -->
| <mapping resource="org/jbpm/bpel/integration/catalog/CatalogEntry.hbm.xml" />
|
| <!-- integration.def mapping files -->
| <mapping resource="org/jbpm/bpel/integration/def/CorrelationSetDefinition.hbm.xml" />
| <mapping resource="org/jbpm/bpel/integration/def/PartnerLinkDefinition.hbm.xml" />
| <mapping resource="org/jbpm/bpel/integration/def/Correlations.hbm.xml" />
| <mapping resource="org/jbpm/bpel/integration/def/Correlation.hbm.xml" />
| <mapping resource="org/jbpm/bpel/integration/def/MessageAction.hbm.xml" />
| <mapping resource="org/jbpm/bpel/integration/def/ReceiveAction.hbm.xml" />
| <mapping resource="org/jbpm/bpel/integration/def/ReplyAction.hbm.xml" />
| <mapping resource="org/jbpm/bpel/integration/def/InvokeAction.hbm.xml" />
|
| <!-- integration.exe mapping files -->
| <mapping resource="org/jbpm/bpel/integration/exe/CorrelationSetInstance.hbm.xml" />
| <mapping resource="org/jbpm/bpel/integration/exe/PartnerLinkInstance.hbm.xml" />
|
| <!-- endpointref mapping files -->
| <mapping resource="org/jbpm/bpel/endpointref/EndpointReference.hbm.xml" />
| <mapping resource="org/jbpm/bpel/endpointref/SoapEndpointReference.hbm.xml" />
|
| <!-- wsdl mapping files -->
| <mapping resource="org/jbpm/bpel/wsdl/impl/PropertyImpl.hbm.xml" />
| <mapping resource="org/jbpm/bpel/wsdl/impl/PartnerLinkTypeImpl.hbm.xml" />
| <mapping resource="org/jbpm/bpel/wsdl/impl/PropertyAliasImpl.hbm.xml" />
| <mapping resource="org/jbpm/bpel/wsdl/impl/OperationImpl.hbm.xml" />
| <mapping resource="org/jbpm/bpel/wsdl/impl/PortTypeImpl.hbm.xml" />
| <mapping resource="org/jbpm/bpel/wsdl/impl/OperationMember.hbm.xml" />
| <mapping resource="org/jbpm/bpel/wsdl/impl/MessageImpl.hbm.xml" />
| <mapping resource="org/jbpm/bpel/wsdl/impl/PartImpl.hbm.xml" />
|
| </session-factory>
|
| </hibernate-configuration>
Please let me know how will these two behave in this case over TCP.
When we configure it over TCP should other properties becommented? Like the Default Datasource and all?
Thanks
Dhanush
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165304#4165304
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165304
17 years, 8 months
[JBoss jBPM] - Re: Can we assign mulptiple swimalnes to a task??
by sumit.jbpm
Ronald, please let me know you answered 'No' for my which particular question? I didn't got that.
I will try to be more specific, consider the following scenario.
If the swimlanes are defined in the following way;
| <swimlane name="Swimlane1">
| <assignment expression="group(SalesGroup1, SalesGroup2)"></assignment>
| </swimlane>
| <swimlane name="Swimlane2">
| <assignment expression="group(MarkettingGroup1, MarkettingGroup2)"></assignment>
| </swimlane>
|
than,
What we cannot assign is as following:
| <task-node name="CreateReservation">
| <task name="CreateReservation" swimlane="Swimlane1, Swimlane2">
| </task>
| <transition name="" to="Grant Approval"></transition>
| </task-node>
|
and what we can assign is as following:
| <task-node name="CreateReservation">
| <task name="CreateReservation" swimlane="Swimlane1">
| </task>
| <transition name="" to="Grant Approval"></transition>
| </task-node>
| <task-node name="GrantApproval">
| <task name="GrantApproval" swimlane="Swimlane2">
| </task>
| <transition name="" to="Grant Approval"></transition>
| </task-node>
|
Please correct me if I got a wrong understanding.
Thanks in advance.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165293#4165293
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165293
17 years, 8 months