Georgy Nechukin [http://community.jboss.org/people/nechukin] replied to the discussion
"Recover async activities after jBPM4 restart"
To view the discussion, visit: http://community.jboss.org/message/554492#554492
--------------------------------------------------------------
Solution found. The reason why jobs were not recovered automatically is the too long lock timeout in job executor settings:
<process-engine-context>
<job-executor threads="4" idle="1000" idle-max="120000" lock="3600000"/>
</process-engine-context>
I changed the lock to 10000 (10 seconds) and now it's recovering normally.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/554492#554492]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
Peeter Smitt [http://community.jboss.org/people/980933] created the discussion
"WCM and portal integration"
To view the discussion, visit: http://community.jboss.org/message/554436#554436
--------------------------------------------------------------
Hi
We just finished one project with IBM Portal 6.1 and IBM WCM 6.1. Honestly I wasn't too happy how those two products were integrated. Biggest problems were that WCM navigation and portal navigation are totally different things and it creates problems with bread crumbs and sitemap, secondly IBM WCM API is so slow that we needed to write couple of hacks to get it working with normal speed. I have been looking around for a while and haven't found any WCM + Portal integration that I truly like. Common problem seems to be that WCM systems are built to work alone without portal server and thus there are overlapping functionalities which are not handled properly when integrating those two things.
I give it some thought and tried to come up with some solution how this integration can be done. Basically idea is to let WCM deal with content versioning, syndication, security, etc but when it comes to navigation and presentation then that part should be covered by portal side. I created one google doc explain the idea - https://docs.google.com/document/edit?id=1PT5RYuJqhUotXmoMZOBw88uFlKiDOIG...https://docs.google.com/document/edit?id=1PT5RYuJqhUotXmoMZOBw88uFlKiDOIG.... Would be grateful to get your ideas.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/554436#554436]
Start a new discussion in JBoss Portal at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
Michael Wohlfart [http://community.jboss.org/people/mwohlf] replied to the discussion
"Recover async activities after jBPM4 restart"
To view the discussion, visit: http://community.jboss.org/message/554363#554363
--------------------------------------------------------------
hmm... what about something like this:
ManagementService managementService = processEngine.getManagementService();
List<ProcessInstance> list = processEngine.getExecutionService().createProcessInstanceQuery().list();
for (ProcessInstance processInstance : list) {
Job job = managementService.createJobQuery().processInstanceId(processInstance.getId()).uniqueResult();
managementService.executeJob(job.getId());
}
but what I don't understand is this:
shouldn't the job executor pick up this anyways in its next cycle, why do we need to do this manually?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/554363#554363]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
Ales Justin [http://community.jboss.org/people/alesj] replied to the discussion
"Implementing a non-flat deployment for Weld Integration"
To view the discussion, visit: http://community.jboss.org/message/554348#554348
--------------------------------------------------------------
> > If a class can't be loaded by the classloader then I can't see how Weld would end up with the Class object to pass to loadBeanDeploymentArchive...
> In that case, the "is reachable check" is pointless and I'm replacing the current implementation of loadBDA by one that uses a singleton map of CL->Archives.
How did we then decide to handle library archives?
Or, actually, how did you implement it?
Or what happens if you push in a java.* Class instance into this loadBDA method?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/554348#554348]
Start a new discussion in JBoss Microcontainer Development POJO Server at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
Max Andersen [http://community.jboss.org/people/max.andersen%40jboss.com] replied to the discussion
"Portlet Development is Effectively Unusable in JBoss Tools"
To view the discussion, visit: http://community.jboss.org/message/554344#554344
--------------------------------------------------------------
Hi Robert,
Hope you had a good weekend :)
The portlet facet should be enabled if the runtime it is pointing to have a JBoss portlet runtime installed in it.
If you are sure you got a JBoss portlet runtime installed then I would love to hear which one since then we might have a bug in the identification.
In any case you can disabled the facet/runtime check in Preferences (JBoss Tools > JBoss Portlet > Check runtimes for portlet components)
When that is disabled then portlet facet is possible to install on runtimes with no known Portlet implementation.
I'm actually starting to think we should make that the default since users seem to be more confused by it...
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/554344#554344]
Start a new discussion in JBoss Tools Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]