[jBPM] - jbpm5 and birt 2.6.2
by Chris Melas
Chris Melas [http://community.jboss.org/people/melc] created the discussion
"jbpm5 and birt 2.6.2"
To view the discussion, visit: http://community.jboss.org/message/602977#602977
--------------------------------------------------------------
If anyone is interested on upgrading birt report runtime of jbpm5 to the current birt version which is birt 2.6.2, then it is necessary to do the following,
1.replace all links in build.xml related to birt 2.3.2 / 2_3_2 with the corresponding birt 2.6.2 / 2_6_2 in order to use the installation process via ant , otherwise just place the necessary birt folders/files in jboss (i.e. jboss-5.1.0.GA/server/default/data/birt/ReportEngine, jboss-5.1.0.GA/server/default/data/birt/overall_activity.rptdesign, jboss-5.1.0.GA/server/default/data/birt/process_summary.rptdesign). Please note that the report files will have to be opened and saved with the birt 2.6.2 eclipse editor in order to get the 2.6.2 formating.
2.replace the birt libraries in jbpm-gwt-console-server-5.1.0.M1.war : chartengineapi-2.3.2.jar, coreapi-2.3.2.jar, dataadapterapi-2.3.2.jar, dteapi-2.3.2.jar,engineapi-2.3.2.jar, modelapi-2.3.2.jar,scriptapi-2.3.2.jar with the ones found in birt 2.6.2 runtime. The corresponding jar libraries in 2.6.2 do not have the 2.6.2 suffix but it does not matter, however it's good practice to have it in order to know which version has been used.
3. replace the js rhino library in jbpm-gwt-console-server-5.1.0.M1.war: js-1.6R2.jar with the js.jar inside rhino1_7R2.zip
This procedure seems to do the job, however i would greatly appreciate if anyone could point out any side effects that occur due to the replacement of these libraries, thanks.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/602977#602977]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 11 months
[jBPM] - Persisted jbpm5: 'delay timer' behavior after JBoss restart
by Victor Zorin
Victor Zorin [http://community.jboss.org/people/zorin] created the discussion
"Persisted jbpm5: 'delay timer' behavior after JBoss restart"
To view the discussion, visit: http://community.jboss.org/message/602935#602935
--------------------------------------------------------------
We are testing implementation of JBPM5 plugin for Liferay portal, where JBoss is run independently from Liferay.
In our persisting setup (JBoss5.1.0GA + drools-5.2.0M1 + jbpm-bpmn2-5.0.0) we ran a simple test case when 'delay timer' is defined as:
<intermediateCatchEvent id="_7" name="Timer" >
<timerEventDefinition>
<timeCycle>120s</timeCycle>
</timerEventDefinition>
</intermediateCatchEvent>
Once process instance hits this event, JBoss is manually shut down and immediately restarted.
Session is reloaded using the following code:
java.util.Properties sessionProperties = new java.util.Properties();
sessionProperties.put("drools.processInstanceManagerFactory", "org.jbpm.persistence.processinstance.JPAProcessInstanceManagerFactory");
sessionProperties.put("drools.processSignalManagerFactory", "org.jbpm.persistence.processinstance.JPASignalManagerFactory");
KnowledgeSessionConfiguration config = KnowledgeBaseFactory.newKnowledgeSessionConfiguration(sessionProperties);
StatefulKnowledgeSession resultSession = JPAKnowledgeService.loadStatefulKnowledgeSession(
storedSession.getId(), // we get it from own records
KnowledgeUtil.getInstance().getKnowledgeBase(),
config, getEnvironment());
The ISSUE is:
CASE #1: If StatefulKnowledgeSession is reloaded before the expiry of 'delay timer', process wakes up properly. PERFECT !
CASE #2: If StatefulKnowledgeSession is reloaded after the expiry of 'delay timer', timer is stuck, i.e. nothing happens. PROBLEM !
(Timer works properly when JBoss is not restarted)
That means those process instances, which have timers may get stuck forever (if shutdown time falls to timer expiry), i.e. JBoss can not be reliably restarted.
Any thoughts on this?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/602935#602935]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 11 months
[JBoss Cache] - Memory leak in JBossCache
by Nishi Kant
Nishi Kant [http://community.jboss.org/people/nishi.kant] created the discussion
"Memory leak in JBossCache"
To view the discussion, visit: http://community.jboss.org/message/602875#602875
--------------------------------------------------------------
Hi All,
I’m using JBoss cache in my project, recently I have enabled replication. While putting the system through the load of 9K users with each user modifying the state every 10 sec found that there is sharp increase in amount of memory being consumed by the process. After few hours process raised out of Memory from old generation. Memory histogram of the process shows following two classes taking lots of heap space.
1: 7023853 224763296 java.lang.ThreadLocal$ThreadLocalMap$Entry
2: 7022005 168528120 java.util.concurrent.locks.ReentrantReadWriteLock$Sync$HoldCounter
I’m have 3 nodes in cluster. I’m using async replication and my configuration file is as follows:-
Any help will be highly appreciated.
Thanks,
Nishi
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/602875#602875]
Start a new discussion in JBoss Cache at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 11 months