[JBoss jBPM] - Modifing a Deployed Process Definition
by chane
I have an existing process definition deployed (jbpm-jpdl-3.2.2.jar). As expected, there are new requirements for which we need to add to the process definition. I would like to modify the existing process definition rather than deploy a second version.
Otherwise, I will need to write a program to convert all of the existing process instances to the new version.
While our process is complex (lots of nodes, decisions, wait states and sub processes), I'm hoping modifying the process definition is a doable programming exercise.
Basically, I want to modify a couple of current wait states to include new outbound transitions and then new processing paths (nodes/decisions/wait states).
Sorry for the long lead up to my questions. First, since I am only adding to the process definition and not modifying (removing/renaming/deleting) anything that currently exists, will I be safe to just "add" the new stuff to the process definition table (created using POJOs and hibernate - not directly inserting into the table)? I was thinking of loading the process definition and then "adding" nodes (of the correct type) via the api (I'm assuming there is an api to do this).
Or will I also need to modify all of the existing process instances?
Basically what we are doing is modifying the current flow:
start -> node -> node -> wait --A--> node --> etc...
--B--> node --> etc...
To add a third transition:
--C--> node --> etc...
So any "open" process instance can execute the C transition from the wait state (if that is where the PI is waiting).
TIA,
Chris....
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162423#4162423
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162423
17 years, 9 months
[Beginners Corner] - JBoss failed for stress test? Or Log4j?
by gan.gary
I have a Vb6 client that consume JBoss/Hibernate. While doing the stress test for overnight, VB6 run completely and JBoss is still up but data processed half. And I found the log produced is with size: 4.01 GB (4,314,379,264 bytes) with this setting:
<appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender">
| <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
| <param name="File" value="${jboss.server.log.dir}/server.log"/>
| <param name="Append" value="false"/>
|
| <!-- Rollover at midnight each day -->
| <param name="DatePattern" value="'.'yyyy-MM-dd"/>
|
| <!-- Rollover at the top of each hour
| <param name="DatePattern" value="'.'yyyy-MM-dd-HH"/>
| -->
|
| <layout class="org.apache.log4j.PatternLayout">
| <!-- The default pattern: Date Priority [Category] Message\n -->
| <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
|
| <!-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n
| <param name="ConversionPattern" value="%d %-5r %-5p [%c] (%t:%x) %m%n"/>
| -->
| </layout>
| </appender>
Is it a known issue for JBoss? Do I need to turn on the file-rolling?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162417#4162417
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162417
17 years, 9 months