[JBoss jBPM] - newbie questions
by kate.fr
Hello folks,
I 've just discovered jBPM so please don't blame me for my stupid questions.
I need to coordonate a complex workflow of tasks for our application (not human tasks), each task having some not trivial dependencies on others or on some resources (files, databases...), not all tasks written in the same language etc...
Anyway i made a quick prototype that seems to suit my needs with jbpm and the graphic designer that i ran in a java stand-alone program.
Now I am asking myself some existential questions:
- do i need to deploy my par file in an AS (did it with the server given starter-kit but i must start my process instances from there)
- if i don't will i be able to monitor my process instance via the console (i think i won't but maybe i can write my own monitoring tool without having to use a web app?)
- what the persistence service jbpm provides can offer to me (i for now don't persist anything or maybe i m not aware ;-))
Thanks for your assistance! i hope that's not too many questions
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971905#3971905
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971905
19 years, 7 months
[JBoss jBPM] - CLASS_ relationships in the jbpm_log table
by jacobo
Hi there,
I have got a problem that i am sure it will easy for you but I can't still solve.
You see: in the jbpm_log, you may see that JBPM keeps a log of nodes, variables updates, and other concepts. What it puzzles me is that, if I do want to retrieve the variable values updated for each node, i can't see how.
so far, I am doing it in a very dirty way, that if possible, I ouwld like to change. Here it is how i am doing it:
try{
session = openLocalSession();
loggingSession = new LoggingSession(session);
List logs = loggingSession.findLogsByToken(idToken);
List nodeLogs = LoggingInstance.getLogs( logs, NodeLog.class );
Iterator itnodeLogs = nodeLogs.iterator();
List updateLogs = LoggingInstance.getLogs( logs, StringUpdateLog.class );
And, after that, I round a loop thru itnodeLogs, and, believe it or not, i do compare each element by its Date!
nodeLog.getDate() and updateLog.getDate()
(it is the only column that I see it is similar).
So that, at the end, I get each variable added to each node, its value be4 and after the signal, besides...
It is working properly right now, but if someone knows a better way, I would really appreciate to know about it.
Thank you very much and best regards,
Jacobo
Thank you very much
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971901#3971901
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971901
19 years, 7 months
[JBoss jBPM] - Re: Oracle exception deploying process
by mteira
I've been looking at the build.xml ear file and as far as I understand, the hibernate.cfg.xml file is copied from the jbom-console.war that is uncompressed to extract their configuration files
<target name="customize.war">
| <ant antfile="../../console/build.xml" inheritall="false" />
| <mkdir dir="target/customizedwar" />
| <unzip src="${local.repository}/${lib.jbpm.console.dir}/jbpm-console.war" dest="target/customizedwar" />
and:
<mkdir dir="target/jbpm.configs" />
| <move todir="target/jbpm.configs">
| <fileset dir="target/customizedwar/WEB-INF/classes">
| <include name="*.xml" />
| </fileset>
| </move>
Furthermore, the hibernate.cfg.xml file is copied from the /jpdl/jar/src/main/config/hibernate.cfg.xml file when the jbpm-console.war is built:
<target name="create.customized.config.files">
| <mkdir dir="target/config.files" />
| <copy todir="target/config.files">
| <fileset dir="../jpdl/jar/src/main/config" />
| </copy>
To change the dialect to Oracle9 one, I had to touch directly that file (/jpdl/jar/src/main/config/hibernate.cfg.xml), but I got bad feelings doing that. Is this the preferred way to do this, or perhaps there's some other way, touching some build.preferences file or something so?
Regards.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971898#3971898
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971898
19 years, 7 months