[JBoss jBPM] - Update of the root token after one of the sub-tokens in the
by a.grin
Hi,
I have the following scenario:
1. Fork in the process that splits it into 3 branches
2. Each branch has one task. Each task will be assigned to the different user.
3. Each task has only one leaving transition - to join node.
4. One user completes the task. Sub-token advances to the join node.
Database record for the sub-token is updated - ok.
Root token remains on the same node (fork) but is also updated. Only one field changes in the root token record - nextlogindex. It forces also the update of the version field.
Is this update (that changes root token) really needed?
This behaviour creates a problem for the stateful application when several users work with the same process in parallel (each one on his own task in parallel process branch). Hibernate StaleObjectException is very probable.
Thanks,
Andrey.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134074#4134074
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134074
18 years, 1 month
[Installation, Configuration & DEPLOYMENT] - Re: [Help] Resources In Jars in Deployment EAR
by Mazinger
"Mazinger" wrote : I am attempting to adapt my company's product for deployment on JBoss. We are currently capable of easy deployment with the WebSphere and Weblogic application servers and are looking to expand it's compatibility and ease of use.
|
| Our product uses several properties and XML schema files which are bundled within jar files that, such as config.jar and schemas.jar. These files are then added to the EAR as part of the deployment.
|
| When I attempt to start the server and deploy the EAR, I get errors stating that the XML schemas cannot be found. This leads me to believe that our CatalogManager.properties cannot be found, even thought it in the ear.
|
| The error starts out like:
|
| 17:39:02,391 INFO [ProxyFactory] Bound EJB Home 'P12StorageDataAccess' to jndi 'P12_STORAGE_DATA_ACCESS'
| | 17:39:04,825 INFO [EJBDeployer] Deployed: file:/opt/jboss/server/default/tmp/deploy/tmp38619.ear-contents/ejb.jar
| | 17:39:05,479 INFO [ProxyFactory] Bound EJB Home 'FailedTolecResponseDataAccessSession' to jndi 'FAILED_TOLEC_RESPONSE_SESSION'
| | 17:39:06,658 INFO [EJBDeployer] Deployed: file:/opt/jboss/server/default/tmp/deploy/tmp38619.ear-contents/ejb2.jar
| | 17:39:06,762 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../tmp/deploy/tmp38619.ear-contents/cc-exp.war/
| | 17:39:12,558 ERROR [STDERR] Cannot find CatalogManager.properties
| | 17:39:18,601 WARN [XMLUtilsImpl] ** Warning, line 6, uri file:///var/testharness/dtdCache/
| | org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'http://localhost/workbench/2005/10/31/webapp.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
| | 17:39:18,602 ERROR [XMLUtilsImpl] XMLUtils.createDocument(String) - Exception
I feel like I messed something up in my server config, but class loaders are a little outside my realm.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134073#4134073
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134073
18 years, 1 month
[Installation, Configuration & DEPLOYMENT] - [Help] Resources In Jars in Deployment EAR
by Mazinger
I am attempting to adapt my company's product for deployment on JBoss. We are currently capable of easy deployment with the WebSphere and Weblogic application servers and are looking to expand it's compatibility and ease of use.
Our product uses several properties and XML schema files which are bundled within jar files that, such as config.jar and schemas.jar. These files are then added to the EAR as part of the deployment.
When I attempt to start the server and deploy the EAR, I get errors stating that the XML schemas cannot be found. This leads me to believe that our CatalogManager.properties cannot be found, even thought it in the ear.
The error starts out like:
17:39:02,391 INFO [ProxyFactory] Bound EJB Home 'P12StorageDataAccess' to jndi 'P12_STORAGE_DATA_ACCESS'
| 17:39:04,825 INFO [EJBDeployer] Deployed: file:/opt/jboss/server/default/tmp/deploy/tmp38619.ear-contents/ejb.jar
| 17:39:05,479 INFO [ProxyFactory] Bound EJB Home 'FailedTolecResponseDataAccessSession' to jndi 'FAILED_TOLEC_RESPONSE_SESSION'
| 17:39:06,658 INFO [EJBDeployer] Deployed: file:/opt/jboss/server/default/tmp/deploy/tmp38619.ear-contents/ejb2.jar
| 17:39:06,762 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../tmp/deploy/tmp38619.ear-contents/cc-exp.war/
| 17:39:12,558 ERROR [STDERR] Cannot find CatalogManager.properties
| 17:39:18,601 WARN [XMLUtilsImpl] ** Warning, line 6, uri file:///var/testharness/dtdCache/
| org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'http://localhost/workbench/2005/10/31/webapp.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
| 17:39:18,602 ERROR [XMLUtilsImpl] XMLUtils.createDocument(String) - Exception
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134072#4134072
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134072
18 years, 1 month