Tun Mang [http://community.jboss.org/people/tunmang] replied to the discussion
"Help for deploying a mail node with MailTemplateRegistry"
To view the discussion, visit: http://community.jboss.org/message/554523#554523
--------------------------------------------------------------
Hi Alejandro:
Thanks a lot for you help. But upgrading to 4.4 is really not an option for us now.
We tried the mail node in 4.3, but only the following one is OK:
Case (1) :
<mail name="send mail" g="251,159,80,40" template="task-notification" >
<transition to="end1"/>
</mail>
Other cases are all failed just in order to make the implemented MailProducer work:
Case (2): The exceptions are already posted in my previous post on Jul 23, 2010 4:58 PM. (We already make sure the template is defined in jbpm.default.cfg.xml, and also tried changing it to the task-notification template, but both throw the same exceptions.)
Based upon your last update, our questions are: is it possible to use an implemented MailProducer in a mail node in jbpm 4.3 and how ?
Thanks again
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/554523#554523]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
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...]