[jBPM] - How to cancel Timer Event
by Hrushikesh Chidley
Hrushikesh Chidley [http://community.jboss.org/people/hrushikesh.chidley] created the discussion
"How to cancel Timer Event"
To view the discussion, visit: http://community.jboss.org/message/615405#615405
--------------------------------------------------------------
Hi,
I am a newbie to jBPM and recently started working with jBPM v5.1.
I want to use the timer event in the process flow. My requirement is something like this -
- I want to initiate a process and then start the timeout for that process using timer task
- If the process finishes first and gives me result before the timer expires then I want to cancel the timer event.
- If in case the process does not complete and timer expired first, then I want to stop the process and raise a exception.
I am able to sort out almost every part of this requirement using jBPM 5.1 but the 'cancelling of timer part'.
Could anyone please let me know how can I cancel a timer event in the jBPM process?
Thank you for help.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/615405#615405]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 9 months
[jBPM] - Human Task Listener
by tmkohler
tmkohler [http://community.jboss.org/people/tmkohler] created the discussion
"Human Task Listener"
To view the discussion, visit: http://community.jboss.org/message/615732#615732
--------------------------------------------------------------
Hi,
I am a newbie in programming with jbpm. I started working with the user guide and I have no problems to develop simple applications which use the Service Task, ScriptTask. But I have some problems to develop a human task application. My goal is to get an information if a new human task for a special user or all users is accessible. The straight forward developed examples shown in the HumanTaskExample in the jbpm-examples section is not a solution for me. I need some technology where the MinaTaskServer informs me if a new task is accessible. Is there a solution without polling via the TaskClient? I do not find any examples or discussions in the forum.
Thanks a lot for the help.
Tom
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/615732#615732]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 9 months
[Snowdrop] - Solution: NPE VFS.getChild() snowdrop 2.0.0 M1 jboss 6
by erik romson
erik romson [http://community.jboss.org/people/romson] created the discussion
"Solution: NPE VFS.getChild() snowdrop 2.0.0 M1 jboss 6"
To view the discussion, visit: http://community.jboss.org/message/615850#615850
--------------------------------------------------------------
For anyone else:
I got a NullpoingterException in at VFS.getChild() when starting JBoss (sadly lost the stacktrace)
This was due to that I was importing spring resources from a folder that didn't exist (using a wildcard as in folder/*.xml)
In org.jboss.spring.vfs.VFSResourcePatternResolvingHelper#locateResources
if (!oneMatchingRootOnly)
{
while (urls.hasMoreElements())
resources.addAll(getVFSResources(urls.nextElement(), subPattern, pathMatcher));
} else
{
resources.addAll(getVFSResources(classLoader.getResource(rootDirPath), subPattern, pathMatcher));
}
return resources.toArray(new Resource[resources.size()]);
This getVFSResources(urls.nextElement(), subPattern, pathMatcher) returned null which later through the exception when accessing the URL
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/615850#615850]
Start a new discussion in Snowdrop at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 9 months
[JBoss Cache] - Jboss cache cacheloader not working
by Hari Sundharesan
Hari Sundharesan [http://community.jboss.org/people/haribaasha] created the discussion
"Jboss cache cacheloader not working"
To view the discussion, visit: http://community.jboss.org/message/615818#615818
--------------------------------------------------------------
JbossAS 5.1
Jboss cache 3.2.5
I have tried using the FileCacheloader,BdbjeCacheLoader and JDBMCacheLoader wtih the
<properties>location=/tmp/cacheloaction/</properties>
The cacheloader does not seem to work (does not load from cache on a server restart, no files are created incase of FileCacheLoader).
I create the cache using
CacheFactory factory = new DefaultCacheFactory();
Cache tree = factory.createCache("/tmp/cache-service.xml");
tree.start();
tree.put and tree.get operations with string payloads.
Incase of bdbje and jdbmcacheloaders , couple of files are created in the folder. but that's it. does not seem to be used on a restart of the server.
I have attached my cache-service.xml
What am I doing wrong here ?
Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/615818#615818]
Start a new discussion in JBoss Cache at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 9 months