tag:blogger.com,1999:blog-4309414151374220630.post1501275752868333781..comments2023-07-04T12:59:09.183+02:00Comments on Process Developments: jBPM 4.0.0.Beta1 ReleasedTom Baeyenshttp://www.blogger.com/profile/03067067751334471585noreply@blogger.comBlogger37125tag:blogger.com,1999:blog-4309414151374220630.post-47097208520598327112010-02-11T22:12:29.515+01:002010-02-11T22:12:29.515+01:00Hi Tom , can you help me solving this problem?
I ...Hi Tom , can you help me solving this problem?<br /><br />I have a process in that process I have a task name sendEmail.<br /><br />I have wlfullclient.jar for java mail. <br /><br />when I run examples code it works with mail.jar <br />but when I run with wlfullclient.jar I get the following error<br /><br />Exception in thread "main" java.lang.NoSuchFieldError: line<br /> at javax.mail.internet.InternetHeaders.setHeader(InternetHeaders.java:430)<br /> at javax.mail.internet.MimeMessage.setHeader(MimeMessage.java:1768)<br /> at javax.mail.internet.MimeMessage.setSubject(MimeMessage.java:793)<br /> at javax.mail.internet.MimeMessage.setSubject(MimeMessage.java:757)<br /> at org.jbpm.pvm.internal.email.impl.MailProducerImpl.fillSubject(MailProducerImpl.java:244)<br /> at org.jbpm.pvm.internal.email.impl.MailProducerImpl.produce(MailProducerImpl.java:80)<br /> at org.jbpm.jpdl.internal.activity.MailListener.notify(MailListener.java:56)<br /> at org.jbpm.pvm.internal.model.op.ExecuteEventListener.perform(ExecuteEventListener.java:81)<br /> at org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperationSync(ExecutionImpl.java:656)<br /> at org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperation(ExecutionImpl.java:616)<br /> at org.jbpm.pvm.internal.model.ExecutionImpl.fire(ExecutionImpl.java:563)<br /> at org.jbpm.pvm.internal.model.ExecutionImpl.fire(ExecutionImpl.java:553)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> at java.lang.reflect.Method.invoke(Method.java:597)<br /> at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157)<br /> at org.jbpm.pvm.internal.model.ExecutionImpl$$EnhancerByCGLIB$$975d5939.fire()<br /> at org.jbpm.pvm.internal.job.TimerImpl.execute(TimerImpl.java:97)<br /> at org.jbpm.pvm.internal.job.TimerImpl.execute(TimerImpl.java:52)<br /> at org.jbpm.pvm.internal.cmd.ExecuteJobCmd.execute(ExecuteJobCmd.java:76)<br /> at org.jbpm.pvm.internal.cmd.ExecuteJobCmd.execute(ExecuteJobCmd.java:42)<br /> at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)<br /> at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:54)<br /> at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53)<br /> at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40)<br /> at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)<br /> at org.jbpm.pvm.internal.svc.SkipInterceptor.execute(SkipInterceptor.java:43)<br /> at org.jbpm.pvm.internal.svc.ManagementServiceImpl.executeJob(ManagementServiceImpl.java:37)<br /><br /><br />thanks<br />VasishtaVasishtanoreply@blogger.comtag:blogger.com,1999:blog-4309414151374220630.post-24598485341597137692009-10-20T11:46:37.837+02:002009-10-20T11:46:37.837+02:00Robin, just create a plain Java project and then d...Robin, just create a plain Java project and then define the jBPM Libraries as described in the userguide.Tom Baeyenshttps://www.blogger.com/profile/03067067751334471585noreply@blogger.comtag:blogger.com,1999:blog-4309414151374220630.post-84009737917844246402009-10-20T11:14:07.392+02:002009-10-20T11:14:07.392+02:00In JBPM 3.1 we have an option to create process pr...In JBPM 3.1 we have an option to create process project. How we can create a process process project in 4.1. I have followed the user guide to setup the environment.Robinnoreply@blogger.comtag:blogger.com,1999:blog-4309414151374220630.post-41723881664691767282009-05-15T14:52:00.000+02:002009-05-15T14:52:00.000+02:00The issue i posted is resolved with beta2 update t...The issue i posted is resolved with beta2 update thanksKasinarayanan Ghttps://www.blogger.com/profile/09236179130169608828noreply@blogger.comtag:blogger.com,1999:blog-4309414151374220630.post-87584736334705039212009-05-15T12:37:00.000+02:002009-05-15T12:37:00.000+02:00This comment has been removed by the author.Kasinarayanan Ghttps://www.blogger.com/profile/09236179130169608828noreply@blogger.comtag:blogger.com,1999:blog-4309414151374220630.post-771672267252915732009-05-06T01:02:00.000+02:002009-05-06T01:02:00.000+02:00Hi Tom,
Just to bring to your notice, a strange b...Hi Tom,<br /><br />Just to bring to your notice, a strange behavior of jBPM 3.x and Hibernate posted in forums. <br /><br />https://forum.hibernate.org/viewtopic.php?f=1&t=996570&p=2411098#p2411098<br /><br /><br />-SridharIndie Moviehttps://www.blogger.com/profile/08972889664934118446noreply@blogger.comtag:blogger.com,1999:blog-4309414151374220630.post-27156652376694085932009-04-27T23:44:00.000+02:002009-04-27T23:44:00.000+02:00We do not use the Web Console to manage our proces...We do not use the Web Console to manage our process definitions. Whenever we edit our process definition files(xml files) we deploy them manually as part of a startup event from within our own web application, which basically does the following:<br />1.) reads the processdefinition.xml (this will be an array property in the system pointing to all the locations where process definitions exist.)<br />2.) Also reads in the properties related to each of the process definition. If we have added a new one, it is annotated as a new one and the code deploys it into the database. If this is an update, we also annotate the property with a version number, if the version number provided matches the one in the database, then we redeploy. Otherwise skip it.<br />This is done because there is no way to control the deployment of process definitions except via the Web Console. Even there, it could be prone to manual errors.<br /><br />What are the other ways of doing this, other than using the web console? We are usually not in charge of our deployment environments, and ideally unless we QA the process once, we do not push things to production. So we do not mind adding it to our application startup code.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4309414151374220630.post-54576152211890963212009-04-27T22:50:00.000+02:002009-04-27T22:50:00.000+02:00Basically on application startup, we would like to...Basically on application startup, we would like to check the latest processdefinition in database against the process def xml's we have. With jBPM 3.x, we had a property file which consisted of process def xml and version corresponding to it. Code would first convert xml to process definition, get the latest version of it from database and then compare it with version defined in property file to take appropriate action. <br /><br />We also want to verify process def xml against the database record. Is there any scope to improve JpdlWriter?<br /><br />-SridharAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-4309414151374220630.post-40225043871343418892009-04-27T21:34:00.000+02:002009-04-27T21:34:00.000+02:00now i get you.
that feature won't be available in...now i get you.<br /><br />that feature won't be available in the same way as it was in jbpm 3 through the public api. JpdlParser is in the internal classes. use at your own risk and its not properly documented as it is considered internal.<br /><br />just for my info: what your use case for parsing the process file and obtaining the process definition object model programmatically ?Tom Baeyenshttps://www.blogger.com/profile/03067067751334471585noreply@blogger.comtag:blogger.com,1999:blog-4309414151374220630.post-5637955609352643632009-04-27T21:24:00.000+02:002009-04-27T21:24:00.000+02:00I may have confused you. I'm not trying to migrate...I may have confused you. I'm not trying to migrate existing process definitions .. but the feature available in 3.x to get the process definition from an xml file isn't available in 4.x. I'm just trying to find the latest process definition from an xml file. <br /><br />Method1: <br />List processInstances = historyService.createHistoryProcessInstanceQuery(). processDefinitionId (processDefinition.getId()). execute();<br /><br />Method2:<br />Parse parse = new JpdlParser().createParse();<br />parse.setInputSource(new InputSource(this.getClass(). getResourceAsStream (processDef)));<br />parse.execute();<br />JpdlProcessDefinition processDefinition = (JpdlProcessDefinition) parse.getDocumentObject();<br />return processDefinition;<br /><br />I thought RepositoryService would have cleaner to perform the same. <br /><br />-SridharAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-4309414151374220630.post-61319745183655591202009-04-27T20:55:00.000+02:002009-04-27T20:55:00.000+02:00Sridhar,
It is still too early to migrate. We'll...Sridhar,<br /><br />It is still too early to migrate. We'll have process conversion tool for GA. And maybe some more migration support later on. That still has to be decided.<br /><br />regards, tom.Tom Baeyenshttps://www.blogger.com/profile/03067067751334471585noreply@blogger.comtag:blogger.com,1999:blog-4309414151374220630.post-89327718549260604162009-04-27T20:45:00.000+02:002009-04-27T20:45:00.000+02:00Hi Tom,
i'm trying to migrate from jbpm 3.x to 4....Hi Tom,<br /><br />i'm trying to migrate from jbpm 3.x to 4.1 beta. Some of the things i noticed are a) very few tables being used in 4.x. Are there any features being removed b) Whats the best way to get process definition from a given jpdl xml file? I saw the api but mostly could find for a given process name. c) How can Execution and ProcessDefinition be related to each other, like from execution i would like to get the related process definition. <br /><br />Thanks,<br />SridharAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-4309414151374220630.post-40314635562479553772009-04-23T19:49:00.000+02:002009-04-23T19:49:00.000+02:00Ophir,
We're almost releasing beta 2 (may 4th). ...Ophir,<br /><br />We're almost releasing beta 2 (may 4th). I'll make sure that version is uploaded to the maven repository.<br /><br />regards, tom.Tom Baeyenshttps://www.blogger.com/profile/03067067751334471585noreply@blogger.comtag:blogger.com,1999:blog-4309414151374220630.post-56759878435771482092009-04-23T19:35:00.000+02:002009-04-23T19:35:00.000+02:00Looking forward for the release.
Will this vesion ...Looking forward for the release.<br />Will this vesion be available on the JBoss Maven repo?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4309414151374220630.post-17335573896102190102009-04-22T14:23:00.000+02:002009-04-22T14:23:00.000+02:00Hi GN,
Don't worry, the rest of the properties ar...Hi GN,<br /><br />Don't worry, the rest of the properties are coming ;-)<br /><br />Cheers,<br />KoenKoen Aershttps://www.blogger.com/profile/11639205559213912954noreply@blogger.comtag:blogger.com,1999:blog-4309414151374220630.post-39934888689778593932009-04-22T10:39:00.000+02:002009-04-22T10:39:00.000+02:00Hi Tom,
I have set up the eclipse as stated in th...Hi Tom,<br /><br />I have set up the eclipse as stated in the document. I am not able to set the properties for the nodes as i did in jbpn3.2.x. The node properties only contain the Name.<br /><br />Am i missing anything.<br /><br />Thanks <br />Regards<br />GNGNhttps://www.blogger.com/profile/13647375863305447388noreply@blogger.comtag:blogger.com,1999:blog-4309414151374220630.post-22612046885144912232009-04-21T10:09:00.000+02:002009-04-21T10:09:00.000+02:00hi Kamal
method deploy is in your TestCasehi Kamal<br />method deploy is in your TestCasevironshttps://www.blogger.com/profile/05087728937052796001noreply@blogger.comtag:blogger.com,1999:blog-4309414151374220630.post-50850626289470788022009-04-21T10:04:00.000+02:002009-04-21T10:04:00.000+02:00hi Kamal
you can open the source file JbpmTestCas...hi Kamal <br />you can open the source file JbpmTestCase.java ,find method localDeploy and modify as follow:<br />public void localDeploy(String archive) {<br />try {<br /> long deploymentDbid = repositoryService.createDeployment().addResourceFromClasspath(archive).deploy();<br />registerDeployment(deploymentDbid);<br />} catch (Exception e) {<br />throw new RuntimeException("local deploy failed", e);<br />}<br />}<br />then ,modify deploy("org/jbpm/examples/sql/process.jpdl.xml");Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4309414151374220630.post-30237605576656505282009-04-20T15:13:00.000+02:002009-04-20T15:13:00.000+02:00PvmEnvironmentFactory is not part of the public ap...PvmEnvironmentFactory is not part of the public api. That means basically you have to know what you're doing and you don't get any compatibility guarantees. So the advice is to stick within the api as documented in the javadocs. You can also recognize internal classes since they have ...internal... in the package name.Tom Baeyenshttps://www.blogger.com/profile/03067067751334471585noreply@blogger.comtag:blogger.com,1999:blog-4309414151374220630.post-82857319229874421762009-04-20T15:10:00.000+02:002009-04-20T15:10:00.000+02:00It seems that PvmEnvironmentFactory is missing fro...It seems that PvmEnvironmentFactory is missing from jBPM 4 libs. Also, it'd be great if we can fine a simple of using jBPM in persistent mode and in a separate project rather than examples.<br /><br />--SherrySherrynoreply@blogger.comtag:blogger.com,1999:blog-4309414151374220630.post-50033182056296923942009-04-16T09:07:00.000+02:002009-04-16T09:07:00.000+02:00Anonymous,
email should be arriving in the next b...Anonymous,<br /><br />email should be arriving in the next beta 2 release.Tom Baeyenshttps://www.blogger.com/profile/03067067751334471585noreply@blogger.comtag:blogger.com,1999:blog-4309414151374220630.post-86399870151705413212009-04-15T22:40:00.000+02:002009-04-15T22:40:00.000+02:00How can I send an email using jBPM4?How can I send an email using jBPM4?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4309414151374220630.post-68755057142939031642009-04-15T15:45:00.000+02:002009-04-15T15:45:00.000+02:00Dejan,
There is no create project wizard in the 4...Dejan,<br /><br />There is no create project wizard in the 4.0 branch of the GPD. If you are using the 3.1.x branch, this will not work with jBPM 4.0. If you have problems using the GPD, please report it in the user forum and/or in JIRA.<br /><br />Thanks,<br />KoenKoen Aershttps://www.blogger.com/profile/11639205559213912954noreply@blogger.comtag:blogger.com,1999:blog-4309414151374220630.post-66893675944292723022009-04-15T09:11:00.000+02:002009-04-15T09:11:00.000+02:00Communitity document is jBPM USER GUIDE and is pub...Communitity document is jBPM USER GUIDE and is published @ http://docs.jboss.com/jbpm/v4.0/userguide/html_single/DejanChttps://www.blogger.com/profile/02804995004374075546noreply@blogger.comtag:blogger.com,1999:blog-4309414151374220630.post-27918585606266308212009-04-15T09:08:00.000+02:002009-04-15T09:08:00.000+02:00Hello
I'm trying to setup working environment usi...Hello<br /><br />I'm trying to setup working environment using latest version of jBPM 4.0.0.beta1. I followed instructions found in community document: .<br /><br />Everything is fine until I try to create a new Proces Project. Eclipse 3.4.2 is unable to find location of jBoss JBPM runtime that I installed in folder C:\jbpm-4.0.0.Beta1\ The error message is: This location does not contain a valid JBoss jBPM runtime .<br /><br />I did the same thing with version jBPM 3.2.6 SP1 and it works. I suspect there is a problem with Eclipse configuration. Does anyone has a clue or a work-around for this problem!DejanChttps://www.blogger.com/profile/02804995004374075546noreply@blogger.com