[jBPM] - how to override mail configuration ?
by Jaber C. Mourad
Jaber C. Mourad [http://community.jboss.org/people/newbeewan] created the discussion
"how to override mail configuration ?"
To view the discussion, visit: http://community.jboss.org/message/548502#548502
--------------------------------------------------------------
Hi,
It is a stupid configuration question in jbpm 4 !
I have in my classpath a jbpm.mail.properties and it works !
For test purpose, I have an other properties file to switch to an other mail server which is not in the default package.
I configure my jbpm.cfg.xml to override the default configuration :
<import resource="jbpm.default.cfg.xml" />
<import resource="jbpm.tx.spring.cfg.xml" />
<import resource="jbpm.jpdl.cfg.xml" />
<import resource="jbpm.identity.cfg.xml" />
<import resource="jbpm.businesscalendar.cfg.xml" />
<import resource="jbpm.jobexecutor.cfg.xml" />
...
<transaction-context>
<mail-session>
<mail-server>
<session-properties resource="my/path/config/jbpm.mail.properties" />
</mail-server>
</mail-session>
</transaction-context>
...
And it doesn't have any effect on jbpm :(
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/548502#548502]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 10 months
[jBPM] - jBPM and Seam
by Leo van den berg
Leo van den berg [http://community.jboss.org/people/lvdberg] created the document:
"jBPM and Seam"
To view the document, visit: http://community.jboss.org/docs/DOC-15494
--------------------------------------------------------------
We want to share our experience with jBpm combined with Seam in this forum. You can find almost the same text in the Seam 2 forum:
We are using Seam 2.2 with jBPM 3.3 in our traffic management project and we have included different workflows and decisions handled by the jBPM/Drools modules.
Hopefully the following observations are useful to others:
1. The quality of the jBPM documentation isn't at the same level as the Seam documentation, so you need a lot of additional Googling to get your stuff working. The additional (free) Seam in Action chapter helps a lot, but see warning 4
2. if you're doing something which is not really PersonTask related, it's better to work directly with the jBpm API, because it saves you a lot of headache; The integration of Seam with the jBpm non-Task stuff isn't that good and - to be honest - the jBPM API's are very easy to use.
3. Never (*I mean never*) use the jBPM core to store domain objects/values, Searching for them in the database is very slow (tables are NOT indexed). You can do different things to solve the problem of retrieving processes based on domain object; (a) change some core classes of jBPM (b) add indexes to the tables yourself, (c) add simple searchtableswhich contains the relation between the domain object and the process/task.
4. Replace or remove the default logging of jBPM, all examples of jbpm.cfg.xml include this (even Seam in Action), but it is the worst thing you can have in your production environement. We found that out the hard way.
5. Try to use the workflow as asynchronous as practically possible, jBpm is not really fast, and slows down your rerender process if it's in the normal requiest/response chain. Combine it with Seam events and rich.push and you see miracles happen.
--------------------------------------------------------------
Comment by going to Community
[http://community.jboss.org/docs/DOC-15494]
Create a new document in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=102&co...]
15 years, 10 months
Re: [jboss-user] [jBPM] - Problem with stopping subProcesses (jbpm 4.3)
by Daniel Schiller
Daniel Schiller [http://community.jboss.org/people/danny_fh] replied to the discussion
"Problem with stopping subProcesses (jbpm 4.3)"
To view the discussion, visit: http://community.jboss.org/message/548478#548478
--------------------------------------------------------------
Hi HuiSheng Xu,
thanks for your reply. The main reason for all the stuff are the requests of our customer.
I don't want the main process to go on running, because in every activity there are operations executed in another system (i realised this with some customActivities already). Therefore, if the process is signaled to stop from outside, it has to stop right where it is, so that none of the remaining operations would be executed. Therefore i don't care, if the process is in a dead wait state. But i will change the state of the historyProcessInstance to "ended", so that it can be found as ended instance and will not be counted to the active ones.
What would be your suggestion for using customActivity in this case?
Anyway i'm afraid, that a further request would be, that this stop-function should work for any process. Not only those containing a special customActivity of me....
Thanks in advance,
Daniel
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/548478#548478]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 10 months