[jBPM] - Integrating jBPM 5 into web application - architecture
by Pedro Gonçalves
Pedro Gonçalves [https://community.jboss.org/people/pgoncalves] created the discussion
"Integrating jBPM 5 into web application - architecture"
To view the discussion, visit: https://community.jboss.org/message/736299#736299
--------------------------------------------------------------
Hello,
I've been trying to integrate the jBPM5 into my own web app, but I've some doubts about how to make it.
My processes are mostly composed by Human Actions, which make them long running processes.
My problem is similar to the one discribed here: https://community.jboss.org/message/636561#636561 https://community.jboss.org/message/636561#636561
I've already configured jBPM to use persistense and I was able to start processes (building kbase, ksession, taskService, etc.). But everytime I start a process, or try to list the started processes I create a new entry on SessionInfo (in the database), and I got a empty list of started processes (I've 2 process instances holding a human action).
* It is clear to me that I'm not managing the sessions properly, my question is, what is the best way to do it? :p
* Does jBPM5.3 brings any improvement on this?
* What are the best practices regarding the use of the kbase, ksessions, taskServices, etc.
Thanks in advance!
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/736299#736299]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 9 months
[jBPM] - JBPM 5.2 console can't get any Guvnor Process Definition
by Rogelio Di Pasquale
Rogelio Di Pasquale [https://community.jboss.org/people/roger0681] created the discussion
"JBPM 5.2 console can't get any Guvnor Process Definition"
To view the discussion, visit: https://community.jboss.org/message/646993#646993
--------------------------------------------------------------
I'm using
jbpm-5.2.0.Final
jbpm-5.2.0.Final-gwt-console
guvnor-distribution-wars-5.3.1.Final
on
jboss-as-7.0.1
I could create process definitions in Eclipse, add them to Guvnor, build the package, create snapshots, etc. But when trying to see process definitions in jbpm-console, I just see nothing.
If I try using the rest api ( http://127.0.0.1:8080/gwt-console-server/rs/process/definitions http://127.0.0.1:8080/gwt-console-server/rs/process/definitions), I get:
{"definitions":[]}
(and JBoss logs says that parsed 0 process definitions).
I've made several packages in Guvnor, and jbpm-console seems to be trying to parse processes from all of them, but keeps saying he got 0 processes to parse.
Here I upload a list of assets obtained from the Guvnor's rest api ( http://127.0.0.1:8080/drools-guvnor/rest/packages/defaultPackage/assets http://127.0.0.1:8080/drools-guvnor/rest/packages/defaultPackage/assets).
Should jbpm-console see any process? What does a process definition look like in the rest API when it is parseable by jbpm-console?
Thanks a lot,
Roger
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/646993#646993]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 9 months
[jBPM] - Why JBPM5.4 full installer demo keeps writing Creating RulesRepository in server.log?
by Thomas Setiabudi
Thomas Setiabudi [https://community.jboss.org/people/thomas.setiabudi] created the discussion
"Why JBPM5.4 full installer demo keeps writing Creating RulesRepository in server.log?"
To view the discussion, visit: https://community.jboss.org/message/777946#777946
--------------------------------------------------------------
Hi,
I use jbpm5.4 Full installer, run ant install.demo, then ant start.demo,
I try to open JBPM-console, login as krisv/krisv, get personal task list, logout, and then close my browser.
I observe server.log and every once in a while it makes log entry like this,
19:31:23,079 WARN [org.drools.guvnor.server.repository.RulesRepositoryManager] (http-localhost-127.0.0.1-8080-2) Creating RulesRepository with default username.
19:31:23,079 INFO [stdout] (http-localhost-127.0.0.1-8080-2) =============== session-guest-60
19:31:23,095 INFO [stdout] (http-localhost-127.0.0.1-8080-2) =============== session-guest-60
19:31:33,095 WARN [org.drools.guvnor.server.repository.RulesRepositoryManager] (http-localhost-127.0.0.1-8080-2) Creating RulesRepository with default username.
19:31:33,095 INFO [stdout] (http-localhost-127.0.0.1-8080-2) =============== session-guest-61
19:31:33,111 INFO [stdout] (http-localhost-127.0.0.1-8080-2) =============== session-guest-61
What is that? and who triggers it?
Regards,
Thomas Setiabudi
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/777946#777946]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 9 months
[Performance Tuning] - Servers swapping memory
by Suchit Khobarekar
Suchit Khobarekar [https://community.jboss.org/people/SuchitKhobarekar] created the discussion
"Servers swapping memory"
To view the discussion, visit: https://community.jboss.org/message/795421#795421
--------------------------------------------------------------
Hi,
We have configured Liferay servers on JBoss AS 7.1.1. We have two environments Stage and Prod which are pretty much identical in terms of the hardware and software. However we are seeing some heavy swapping happening on the Prod servers. About a few hours after the servers are started they start swapping memory and this is how it read (as below):
Memory Used Total Percentage
============================
Physical 4079M 7872M 51%
Actual 3630M 7872M 46%
Swap 878M 2047M 42%
This is not a good sign for us. The JAVA_OPTS setting in standalone.conf is as below
JAVA_OPTS="$JAVA_OPTS -Dfile.encoding=UTF-8 -Djava.net.preferIPv4Stack=true -Duser.timezone=GMT -server -XX:NewSize=700m -XX:MaxNewSize=700m -Xms2048m -Xmx4096m -XX:MaxPermSize=1536m -XX:SurvivorRatio=6 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:ParallelGCThreads=16 -XX:+CMSCompactWhenClearAllSoftRefs -XX:CMSInitiatingOccupancyFraction=85 -XX:+CMSScavengeBeforeRemark -XX:+CMSConcurrentMTEnabled -XX:ParallelCMSThreads=2"
There are 2 nodes with 8 GB of RAM each
I found a thread which mentioned that the -Xms and -Xmx should ideally have the same values. This is the thread https://community.jboss.org/message/221207#221207 https://community.jboss.org/message/221207
Any help on this is really appreciated. I
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/795421#795421]
Start a new discussion in Performance Tuning at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 10 months