[jboss-user] [JBoss jBPM] - Extending JobSession functionality

2009-04-28 Thread jjrs
Hi, I am working with version 3.3.1, but I guess the question is valid for 3.2.x. I want to extend the functionality of the JobSession class for being able to retrieve information about locked/suspended jobs. I would like to extend this class and have my own version, however, for being able

[jboss-user] [JBoss jBPM] - Re: Extending JobSession functionality

2009-04-28 Thread jjrs
Just had the inspiration after posting the previous message. The easy/clean way is extending the JobSession, adding the method with the new functionality and add a constructor to the new class using as a parameter the Session (Hibernate session). The session can be retrieved from the

[jboss-user] [JBoss jBPM] - Re: Get Action from Timer. Earlies execution time

2009-04-02 Thread jjrs
Hi Ronald, Thanks a lot for your answer (I was not watching this topic so I missed your answer). My knowledge of hibernate is quite limited, however I thought that there might be a cleaner way of getting the timer and the action. Being honest I didn't check how the information of the

[jboss-user] [JBoss jBPM] - Get Action from Timer. Earlies execution time

2009-03-26 Thread jjrs
Hello, In my process definition we have several nodes (containing actions), that have to have an earliest start time associated to them. The best way I found for implementing this functionality was creating a State node, create a timer inside it , and associate the action to the timer.

[jboss-user] [JBoss jBPM] - Re: Overdue actions, timers.

2009-03-25 Thread jjrs
Hi, There was a change in the requirements so instead of having to interrupt the execution I had to generate an alert (send an email notifying an operator of the delay in the execution). I associated a timer to the execution of the actions, and injected the implementation of the

[jboss-user] [JBoss jBPM] - Re: Birt report errors. Oracle. gwt-console 3.3.1

2009-03-12 Thread jjrs
Hello, Is there anyone that could provide some help with the reports ? They are a really cool functionality (if I was able to make them work). Are the reports not supported in the forum due to be based/implemented using a different technology (BIRT)? Regards. Jose View the

[jboss-user] [JBoss jBPM] - Re: Birt report errors. Oracle. gwt-console 3.3.1

2009-03-12 Thread jjrs
Hi Ronald, Thanks a lot for your answer. I will try with the latest version of the reports in the repository and if still have the same issue I will write Heiko as I believe he is in charge of that part. Regards. Jose. View the original post :

[jboss-user] [JBoss jBPM] - Overdue actions, timers.

2009-03-12 Thread jjrs
Hi, Our process definitions are based on nodes and actions inside them (being executed in async mode). We are using jBPM for controlling batch processes, therefore I thought the best option was using nodetype node. One of the requirements is notifying if one of the actions is running

[jboss-user] [JBoss jBPM] - Re: gwt-console datasource problems

2009-03-06 Thread jjrs
Hi, I was finally able to discover what the problem was. All the birt reports included in the gwt-console, are pointing to a external datasource, so they need to be checked and modify in case it's needed to use the correct datasource... The reports are located in ...

[jboss-user] [JBoss jBPM] - Birt report errors. Oracle. gwt-console 3.3.1

2009-03-06 Thread jjrs
Hi, After having some issues with the datasource configuration of the birt reports, now I am facing a problem with the content of the reports. I am getting errors with the Most active processes, and the Execution time quartiles reports (I think I only have access to those two from the

[jboss-user] [JBoss jBPM] - Re: gwt-console datasource problems

2009-03-04 Thread jjrs
My datasource is in [Jboss.4.2.3.GA]\server\default\deploy\jbpm and the content is ... datasources | local-tx-datasource | jndi-nameJbpmDS/jndi-name | connection-urljdbc:oracle:thin:@dbServer:1521:dbInstance/connection-url | |

[jboss-user] [JBoss jBPM] - Re: Jbpm-console problems

2009-03-03 Thread jjrs
Hi, Sorry if I am telling things you already know, but here you have my understanding of the topic. When you deploy a process definition from let's say a java class, the process is deployed to the database, but not the image. In case you want to see the image in the web console, you

[jboss-user] [JBoss jBPM] - gwt-console datasource problems

2009-03-03 Thread jjrs
Hi I am having problems for using the GWT console. I am using the version that comes with the installer jbpm-installer-3.3.1.GA.jar. And deployed it to jboss-5.0.1.GA and jboss-4.2.3.GA facing in both cases the same problem. I am using Oracle for the jBPM database. Even if the console

[jboss-user] [JBoss jBPM] - Re: Jbpm-console problems

2009-03-03 Thread jjrs
Sorry I have never seen that error before and have no idea what could be producing it. Have you tried to use a newer version of the console ? It might be worth trying it although I am not sure about if it be 100% compatible with your database as there might have been some changes in the

[jboss-user] [JBoss jBPM] - Workflow periodic execution and timers

2009-01-12 Thread jjrs
Hi, I would like to know if it's possible to have periodic execution of a certain workflow definition. In case the answer is YES, and jBPM offers this scheduling functionality, could anyone point me in the right direction ? I have tried to use timers (using the repeat property), but

[jboss-user] [JBoss jBPM] - Re: Unlock jobs, maxLockTime, fault tolerance

2009-01-07 Thread jjrs
Hello everyone, has anyone ever used the maxLockTime, lockMonitorInterval, or lockBufferTime parameters having any effect ? Does anyone know if the LockMonitorThread should be started or if it is a legacy class ? Is there anyway of unlocking jobs, by a different thread that one

[jboss-user] [JBoss jBPM] - Unlock jobs, maxLockTime, fault tolerance

2009-01-06 Thread jjrs
Hi, I have been looking for references and some explanation about maxLockTime however the only post I have found is this one although I didn't find the answer to my questions there. Is this parameter ever used ? I haven't been able to find where the LockMonitorThread is started,

[jboss-user] [JBoss jBPM] - Cancelling action execution

2009-01-05 Thread jjrs
Hi, We have a JobExecutor running actions in parallel using async='true'. In this scenario, we need to be able to stop the execution of actions (from the command line or the console, it doesn't matter at this stage). If possible I would like to avoid killing the associated java process for

[jboss-user] [JBoss jBPM] - Re: jBPM 3.3.0GA and Oracle causing StaleObjectStateExceptio

2008-12-22 Thread jjrs
Ok, here it goes the way we made it work. All the nodes are async='true' All the forks are async='true' All the joins are async='true' and lock='UPGRADE' The graph has to be legal (have certain simmetry) As explained in http://www.jboss.com/index.html?module=bbop=viewtopict=147553. If

[jboss-user] [JBoss jBPM] - Re: JBPM 3.3.0GA console. Missing class JbpmService

2008-12-22 Thread jjrs
It seems the documents I was using was not compatible with 3.3.0GA and unfortunately my lack of knowledge didn't allow me to address the issue on my own. I was able to find the correct configuration in http://salaboy.wordpress.com/2008/08/26/jugando-con-jbpm-9-cambiando-de-datasource/

[jboss-user] [JBoss jBPM] - Re: nulpointer in slightly complicated process

2008-12-19 Thread jjrs
Hi Ronald, I am slightly confused about what when a processdefinition is illegal. anonymous wrote : not all legs of the fork arrive in the same corresponding join. From the functional and dependency point of view, not always be possible to add intermediate fork and joins without

[jboss-user] [JBoss jBPM] - Re: JBPM 3.3.0GA console. Missing class JbpmService

2008-12-19 Thread jjrs
Could anyone kindly provide some help/guidance about how to set up the jbpm console to connect to a external datasource in 3.3.0GA ? Thanks alot. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4197615#4197615 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: jBPM 3.3.0GA and Oracle causing StaleObjectStateExceptio

2008-12-18 Thread jjrs
Hi Ronald, I really appreciate all suggestions (it doesn't matter if they are a final solution or just a hack to make it work). I have just tried to introduce a delay of 8 seconds in one of the actions of the parallel nodes, and I still get the SOE. I believe the issue is related with

[jboss-user] [JBoss jBPM] - JBPM 3.3.0GA console. Missing class JbpmService

2008-12-18 Thread jjrs
I installed v3.3.0GA using the installer and installed as well the console in a external JBoss instance. If I start the console with the default settings everything is fine, but when I try to connect it to a different datasource, following the instructions provided in the link link below

[jboss-user] [JBoss jBPM] - Re: jBPM 3.3.0GA and Oracle causing StaleObjectStateExceptio

2008-12-17 Thread jjrs
I have a similar problem, although in my case the nodes have async='true'. The exception I get is | org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.jbpm.graph.exe.Token#48] | at

[jboss-user] [JBoss jBPM] - Re: jBPM 3.3.0GA and Oracle causing StaleObjectStateExceptio

2008-12-17 Thread jjrs
Hi Ronald, Thanks a lot for the suggestion. With async=exclusive I don't get any exception at all. Hoever, the actions inside the nodes, are executed sequentially and not in parallel. I am deploying the framework from a class, and have running the JobExecutor with several threads in a