[jBPM] - How does Timer work in jBPM 5
by dme
dme [http://community.jboss.org/people/dme] created the discussion
"How does Timer work in jBPM 5"
To view the discussion, visit: http://community.jboss.org/message/633539#633539
--------------------------------------------------------------
Hi,
I have created a process and attached a boundary timer to the subprocess (as shown in the timer examples) for fire after 500ms. The subprocess has a script with a sleep for 2000ms, and I was expecting the timer to fire and interrupt the sub-process, but in my case the timer never fires. Can someone please advise how I can make the timer to fire to interrupt the subprocess. I have attached the process files and the Java code to run the process below.
This is a simple use case I was trying, the real requirement is to call a WebService and provide a Timer as the boundary event, which should fire if the service call does not return in the specified time period. I get similar problem when testing with my webservice call implementation.
Thanks.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/633539#633539]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 5 months
[EJB3] - Migration from WAS to JBoss - Problem With EJB Deployer
by Avinash Munaga
Avinash Munaga [http://community.jboss.org/people/avinashmunaga] created the discussion
"Migration from WAS to JBoss - Problem With EJB Deployer"
To view the discussion, visit: http://community.jboss.org/message/633481#633481
--------------------------------------------------------------
Hi all,
I am a new to work on Jboss. I am migrating my application (Enterprise Application) from WAS to JBoss.
The ear file consists of *web* modules, *Connector* modules and *EJB* modules. During migration I encounter errors with deployer. My console looks like this.
2011-10-24 20:04:11,695 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (HDScanner) Error installing to Real: name=vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/XYZ.ear/ state=PreReal mode=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: Error during deploy: vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/XYZ.ear/accelRAvpms.rar/accelRAvpms.rar/
at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:177)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:362)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.IllegalStateException: Expected either '.jar' or '.jar/' at the end of accelRAvpms.rar
at org.jboss.ejb3.deployers.Ejb3ClientDeployer.getDeploymentJndiName(Ejb3ClientDeployer.java:214)
at org.jboss.ejb3.deployers.Ejb3ClientDeployer.deploy(Ejb3ClientDeployer.java:104)
at org.jboss.ejb3.deployers.Ejb3ClientDeployer.deploy(Ejb3ClientDeployer.java:61)
at org.jboss.deployers.vfs.spi.deployer.AbstractSimpleVFSRealDeployer.deploy(AbstractSimpleVFSRealDeployer.java:56)
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
... 26 more
2011-10-24 20:04:11,742 WARN [org.jboss.system.server.profileservice.hotdeploy.HDScanner] (HDScanner) Failed to process changes
org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
*** DEPLOYMENTS IN ERROR: Name -> Error
vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/XYZ.ear/ -> org.jboss.deployers.spi.DeploymentException: Error during deploy: vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/XYZ.ear/accelRAvpms.rar/accelRAvpms.rar/
DEPLOYMENTS IN ERROR:
Deployment "vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/XYZ.ear/" is in error due to the following reason(s): java.lang.IllegalStateException: Expected either '.jar' or '.jar/' at the end of accelRAvpms.rar
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939)
at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873)
at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:369)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
I have searched the community and found that I have to remove Main- Class attribute from MANIFEST.MF to resolve the issue. But, this didn't work and the issue is still the same.
Also, in another post I found a suggestion. It says to jboss-structure.xml in the ear file to locate the existing jars and rar files. But, this when added to my Enterprise module removes all the embedded modules from the Original EAR file(XYZ.ear) which can be viewed from Admin Console of JBoss.
I need some help or suggestions which could help me solve the issue.
Thanks in Advance :)
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/633481#633481]
Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 5 months
[jBPM] - jBPM 5.1 released
by Kris Verlaenen
Kris Verlaenen [http://community.jboss.org/people/KrisVerlaenen] created the discussion
"jBPM 5.1 released"
To view the discussion, visit: http://community.jboss.org/message/611731#611731
--------------------------------------------------------------
http://kverlaen.blogspot.com/2011/06/jbpm-510-released.html http://kverlaen.blogspot.com/2011/06/jbpm-510-released.html
We're proud to announce the release of jBPM 5.1.0.
> jBPM is a flexible open-source Business Process Management (BPM) Suite. The core of jBPM is a light-weight, extensible workflow engine written in pure Java that allows you to execute business processes using the latest BPMN 2.0 specification. It can run in any Java environment, embedded in your application or as a service. On top of that, it supports a lot of tooling to support the business process through its entire life cycle, both for developers and business users. This includes an Eclipse plugin, web-based Designer, repository, management console, etc.
>
You can download everything https://sourceforge.net/projects/jbpm/files/jBPM%205/jbpm-5.1.0.Final/ here.
jBPM 5.1 includes a lot of small bug fixes and feature enhancements based on the feedback we received from the community (for http://kverlaen.blogspot.com/2011/01/jbpm-50-released.html jBPM 5.0). Most important improvements include:
* The web-based http://docs.jboss.org/jbpm/v5.1/userguide/ch10.html Designer has been extended significantly to support all BPMN 2.0 constructs and to allow full round-tripping between the Eclipse-based and the web-based editor. It also supports domain-specific nodes now, can be embedded, etc.
* A new http://docs.jboss.org/jbpm/v5.1/userguide/ch08.html jbpm-examples module contains a large number of example processes to show features like human tasks (including data passing and task forms), looping, multiple instances, rule-based integration, etc. I will describe some of these examples in more detail in some additional blog entries in the next few days.
* Improved testing and debugging capabilities so you can easily http://kverlaen.blogspot.com/2011/04/junit-testing-your-jbpm5-processes.html JUnit-test your processes.
* The http://docs.jboss.org/jbpm/v5.1/userguide/ documentation has been refactored, updated and extended. There's a new http://docs.jboss.org/jbpm/v5.1/userguide/ch01.html Overview and http://docs.jboss.org/jbpm/v5.1/userguide/ch02.html Getting Started chapter, and much more. And we'll continue this work in the next few weeks as well, so you can expect more details soon.
* The http://docs.jboss.org/jbpm/v5.1/userguide/ch09.html new BPMN 2.0 Eclipse plugin has made significant steps forward as well. The goal of this new editor is to support the full BPMN 2.0 specification . It's still work in progress but it can already be used to create executable BPMN2 processes and execute them on jBPM5. We'll be working hard to improve the usability in the next few months.
* Smaller feature enhancements, like
* Automatic synchronization of processes in the jbpm-console when new proceses are deployed on the Guvnor repository
* Simplified data passing to and from human tasks (and forms)
* Extended BPMN2 engine with support for repeating timers
* Support for multi-threading
A full overview of everything that was included can be found in the https://issues.jboss.org/browse/JBPM jBPM JIRA.
http://docs.jboss.org/jbpm/v5.1/userguide/images/Chapter-Overview/Overvie... http://docs.jboss.org/jbpm/v5.1/userguide/images/Chapter-Overview/Overvie...
jBPM 5.1.0 is synchronized with Drools 5.2.0, which also has just been released. If you want to know more, take a look http://blog.athico.com/2011/06/drools-52-released.html here.
I'd like to thank everyone that contributed to this release! This includes not just the core developers obviously, but everyone in the community that contributed in one way or another, from testing, improving documentation, creating examples, bug reporting to submitting patches and feature contributions!
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/611731#611731]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 5 months