[jboss-user] [JBoss jBPM] - Re: Version 3.2 vs 4

2009-04-18 Thread bradsdavis
4 is in the works, but probably isnt enterprise ready quite yet. If you have a short time to market, I would say use 3.2x View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4226317#4226317 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: generated form fields cant be changed

2009-04-17 Thread bradsdavis
Default functionality of eclipse or not, its annoying as shit. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4226267#4226267 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4226267

[jboss-user] [JBoss jBPM] - Re: generated form fields cant be changed

2009-04-17 Thread bradsdavis
=) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4226268#4226268 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4226268 ___ jboss-user mailing list jboss-user@lists.jboss.org

[jboss-user] [JBoss jBPM] - Re: Weird Jbpm exception.. need help...

2009-04-16 Thread bradsdavis
What does your jbpm configuration look like? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4226070#4226070 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4226070 ___ jboss-user

[jboss-user] [JBoss jBPM] - Re: org.jbpm.jpdl.JpdlException

2009-04-16 Thread bradsdavis
Your zip doesnt contain the processdefinition.xml in the root pretty straight forward. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4226071#4226071 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4226071

[jboss-user] [JBoss jBPM] - Re: Assigning task to a Group with variable(variable-name) d

2009-04-16 Thread bradsdavis
Are you putting #variablename or just variablename? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4226072#4226072 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4226072 ___

[jboss-user] [JBoss jBPM] - Re: EventListener hibernate mapping help needed!

2009-04-16 Thread bradsdavis
There are plenty of examples with 3.x. You should just deploy the process definition with the class for 3.x. Brad View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4226073#4226073 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: JTATransaction Error

2009-04-16 Thread bradsdavis
Your fork 40,000 times will run in one transaction unless you make the subprocess run asynchronously. Thus, I would imagine that your transaction is timing out to cause this exception... as 4 processes would take a lot of time to spin up. When the transaction times out, the next would

[jboss-user] [JBoss jBPM] - Re: generated form fields cant be changed

2009-04-16 Thread bradsdavis
Make sure as you change form fields in the editor, you click enter to allow the form field change to take place in the eclipse plugin. Seems to be a bug, and the enter seems to be a work around. Try it and let me know. View the original post :

[jboss-user] [JBoss Messaging] - HA-Local-TX Database Failover

2009-04-08 Thread bradsdavis
Does JBoss Messaging work with the ha-local-tx-datasource? Also, if ha-local-tx-datasource is available to JBoss Messaging, are there any known complications that should be noted for database replication between the databases registered in the ha-local-tx-datasource? Thanks! View the

[jboss-user] [JBoss jBPM] - Re: jBPM - Weblogic

2009-03-30 Thread bradsdavis
Yes. You will need to provide more information on your errors. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4222032#4222032 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4222032

[jboss-user] [JBoss jBPM] - Re: Variables == Bottleneck ?

2009-03-29 Thread bradsdavis
Maybe we could expose these functions in the jbpm console for 3.x branch. That would expose the operations on other web servers other than JBoss. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221786#4221786 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: jPDL: global event handlers

2009-03-29 Thread bradsdavis
I am not sure of an official global event handler. I dont believe there is a way to do that, but here is one possible solution otherwise. One option would be to write a log handler that executes on the different logs to send events. Most of the event types are logged, so you could get at the

[jboss-user] [JBoss jBPM] - Re: Fetching Task Variable Instances (Early Loading)

2009-03-29 Thread bradsdavis
Yeah, my suggestion here is the following. First, I dont think this is as efficient as it should be. However, this is my suggestion at the most efficient result. Create a DTO that includes the values you want in the grid. Then do a HQL query to fetch the task instance. The key is to make

[jboss-user] [JBoss jBPM] - Swimlanes and Subprocesses

2009-03-27 Thread bradsdavis
There isnt a way to assign a task in a subprocess to the user of a swimlane in the super process out of the box is there? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221538#4221538 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: Recommended way to purge finished process instances

2009-03-25 Thread bradsdavis
Hello. I have created a POJO JMX MBean that uses the jBPM API to do something similar. Compiling this will produce a JAR. Put that JAR into the deploy directory of the server, where the jBPM libraries are also on the server's classpath. If you bring up the JMX management console, you should

[jboss-user] [JBoss jBPM] - Re: JEE AS / jBPM / Exception when Oracle DB is restarted

2009-03-25 Thread bradsdavis
I dont think that EJB timers should use XA data sources. I don't know if you have it configured that way or the exception is occurring because of something else, but wanted to suggest this to you. While this doesn't give you a definitive answer on the datasource type of EJB timers, if does

[jboss-user] [JBoss jBPM] - Re: Exception-Handler an Transitions

2009-03-24 Thread bradsdavis
What is meant by: anonymous wrote : | In the case of jBPM, control flow cannot be changed by the jBPM exception handling mechanism. | It seems that this is almost directly contradicted in the next statement in the document: anonymous wrote : | Note that in an action that handles an

[jboss-user] [JBoss jBPM] - Re: A question on Transitions

2009-03-24 Thread bradsdavis
I agree with Ronald. Using the explicit signal() is the better way to do it. It allows the code to be read and understood more easily. The problem with the default signal() is that it is completely order based. If anything, there should be an attribute to mark it default. But there

[jboss-user] [JBoss jBPM] - Re: Exception-Handler an Transitions

2009-03-24 Thread bradsdavis
Ronald, maybe I am wrong, but it is talking about your Action within the exception-handler moving the exception to an arbitrary node. But before that, it states: anonymous wrote : | In the case of jBPM, control flow cannot be changed by the jBPM exception handling mechanism. | I

[jboss-user] [JBoss jBPM] - Re: Enterprise Timers - Load Order

2009-03-20 Thread bradsdavis
This is happening because EJB Timers loads before jBPM. But if you change that load order, jBPM still waits on ejb timers I think. Anyone have a solution? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4219837#4219837 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: Not getting TaskEndLog when canceling the TaskInstance

2009-03-17 Thread bradsdavis
I got logging working by the way with 3.3.1. It was user error =) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4218795#4218795 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218795

[jboss-user] [JBoss jBPM] - Re: Not getting TaskEndLog when canceling the TaskInstance

2009-03-16 Thread bradsdavis
Is anyone getting task logs in 3.3.1GA? Thanks, Brad View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4218449#4218449 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218449 ___

[jboss-user] [JBoss jBPM] - Re: JBPM process composition

2009-03-16 Thread bradsdavis
Your start states dont have any transitions... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4218451#4218451 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218451 ___ jboss-user

[jboss-user] [JBoss jBPM] - Re: TaskInstance Variable

2009-03-10 Thread bradsdavis
By from the UI, I mean the jBPM console. I know there is a way to get the task that fired the event, but is there a way to get the task instance? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4216537#4216537 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: Error deploying a new process from jbpm console

2009-03-10 Thread bradsdavis
Have you selected the deployment package or process definition file? The deployer expects you to have a zip file [jar, par, zip, extension doesnt matter] with the following contents: processdefinition.xml gpd.xml processimage.jpg And also a folder containing classes, if there are any being

[jboss-user] [JBoss jBPM] - Re: TaskInstance Variable

2009-03-10 Thread bradsdavis
I guess I could solve this by getting all instances from the executionContext.getTaskMgmtInstance().getTaskInstances(); Then looping through and finding the task where the token is the same as the token off of the action... but I assume there is a better way? View the original post :

[jboss-user] [JBoss jBPM] - Re: jBPM with Weblogic

2009-03-09 Thread bradsdavis
Your link to the process image is broken. Fix it and I can take a look. But if you have nodes with an action attached to each, remember that you are responsible for telling the node with actions attached where to signal. Otherwise, if you just want an action to trigger, and not determine

[jboss-user] [JBoss jBPM] - Re: New to jBPM - does it fit my requirement?

2009-03-09 Thread bradsdavis
Sounds like it would fit fine. I would use a state shape with a timer on the shape to query [this would be a polling pattern] periodically. If the database contains the proper number of records, signal from the state shape. View the original post :

[jboss-user] [JBoss jBPM] - Re: Tasks need to done by multiple users

2009-03-09 Thread bradsdavis
@Ronald, Just so I can think about the difference in approaches, what are your thoughts on why it would be more difficult to do certain exit strategies with my suggested dynamic task-instance approach? I guess the join would make sure everyone completed before leaving the fork-task-join block,

[jboss-user] [JBoss jBPM] - Re: Tasks need to done by multiple users

2009-03-09 Thread bradsdavis
But couldn't that more complex logic also be coded into the event on the task-end? Just playing devil's advocate. The custom join does add a lot of flexibility, so I know what you mean there. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4216179#4216179

[jboss-user] [JBoss jBPM] - Re: Tasks need to done by multiple users

2009-03-09 Thread bradsdavis
I just tried this by the way. It works great for cases where you want a number of tasks created. But, as Ronald suggested, more complicated cases require the join pattern. In such cases, a lock token exception is thrown; for example, if I have an event on the end of the task instance to kill

[jboss-user] [JBoss jBPM] - TaskInstance Variable

2009-03-09 Thread bradsdavis
I have an task-end event, and I want to grab a local variable off of the taskinstance. How do I do this? From the UI, I can see the variables, but I can not figure out how to get a reference to the task instance from the event's action. Thanks! View the original post :

[jboss-user] [JBoss jBPM] - Event Classes Not Cached - 3.3.1GA

2009-03-06 Thread bradsdavis
I notice a lot of logs around Byte Array on transitions. In the default configuration, are the event classes cached? It looks like it reassembles them per transition. Additionally, it doesnt do this with a subselect or join pattern, which seems to leads to n+1 selects. Is there a way to

[jboss-user] [JBoss jBPM] - Re: Event Classes Not Cached - 3.3.1GA

2009-03-06 Thread bradsdavis
I enabled cache for ByteArray: | class-cache class=org.jbpm.bytes.ByteArray usage=transactional / | Was this an oversight in the 3.3.1GA deployment, or was there an intentional reason for not caching bytearray? Thanks View the original post :

[jboss-user] [JBoss jBPM] - Re: Tasks need to done by multiple users

2009-03-05 Thread bradsdavis
In theory, another option would be to have the task node have create-task to false. Then have an action handler in the task note to create many task instances, populating each within a different actorId. View the original post :

[jboss-user] [JBoss jBPM] - Re: Enterprise Timers - Load Order

2009-03-04 Thread bradsdavis
Here is the exception that comes up when the server starts: | 08:30:43,109 ERROR [LogInterceptor] EJBException in method: public abstract void javax.ejb.TimedObject.ejbTimeout(javax.ejb.Timer) | : | javax.ejb.NoSuchObjectLocalException: failed to retrieve command service home |

[jboss-user] [JBoss jBPM] - Re: List all deployed process definitions

2009-03-04 Thread bradsdavis
Grab it off of the graph session as shown below: | JbpmConfiguration.getInstance().createJbpmContext().getGraphSession().findAllProcessDefinitions(); | Then just run over the definitions calling getName. View the original post :

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

2009-03-03 Thread bradsdavis
I havent received this issue with 4.2.3GA, JBPM 3.3.1GA, and Oracle. What does your datasource look like? What do you have for your conf/login-config.xml? What version of the Oracle thin driver are you using? What version of Oracle? View the original post :

[jboss-user] [JBoss jBPM] - Enterprise Timers - Load Order

2009-03-03 Thread bradsdavis
What is the ideal way to bind to timers? When I have the following configuration for scheduler: | service name=scheduler | factory | bean name=org.jbpm.scheduler.ejbtimer.EntitySchedulerServiceFactory

[jboss-user] [JBoss jBPM] - Re: org.hibernate.StaleObjectStateException: jbpm and esb

2009-03-02 Thread bradsdavis
What type of caching are you using with jboss? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4214315#4214315 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214315 ___ jboss-user

[jboss-user] [JBoss jBPM] - Re: org.hibernate.StaleObjectStateException: jbpm and esb

2009-03-02 Thread bradsdavis
I mean, what type of caching are you using with Hibernate? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4214316#4214316 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214316 ___

[jboss-user] [JBoss jBPM] - Re: Writing to custom tables not defined by JBPM

2009-03-02 Thread bradsdavis
Josh, I have been using the pattern of EJB Stateless beans for the business layer. In that business layer, I will persist to whatever datastore I need, and make my calls to jBPM as well. The EJB Stateless Session Bean methods are wrapped with Container Managed transactions or Bean Managed

[jboss-user] [JBoss jBPM] - Re: Hightlight Jbpm process definition image

2009-03-02 Thread bradsdavis
I dont know the direct answer, but you could definitely figure this out by starting with your jsf console and working backwards. Try starting with: jbpm\jsf-console.war\app\procins.xhtml I believe in the jsf console, this is what renders the process. Work back from there. View the original

[jboss-user] [JBoss jBPM] - Re: JBPM on JBoss 5

2009-03-02 Thread bradsdavis
As a follow up to this question, I would be interested in knowing if turning clustering on for the jBPM queues would be appropriate here. Thoughts? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4214319#4214319 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: TaskInstance order by in taskList.getTaskInstances() ?

2009-03-02 Thread bradsdavis
If you wanted to start somewhere for this, I would first understand Hibernate queries. The Task Management Session uses Hibrernate to make this query. So, here is the Hibernate Query they use to get tasks for a given user: | select ti | from org.jbpm.taskmgmt.exe.TaskInstance as ti

[jboss-user] [JBoss jBPM] - Re: Need some advices on a workflow

2009-03-02 Thread bradsdavis
You could probably accomplish this with a timer on the task creation event. Put an action in the timer, and basically set it to however long until it expires. Then, have the action in the timer be responsible for closing the task and pushing the workflow. View the original post :

[jboss-user] [JBoss jBPM] - Re: spring modules 0.9 with jbpm 3.2.2 error

2009-03-02 Thread bradsdavis
Well, I dont know if that is the cause, but ultimately you are missing the class definition for the exception being thrown... judging by the stack trace. See: http://www.jarfinder.com/index.php/java/info/javax.jcr.RepositoryException View the original post :

[jboss-user] [JBoss jBPM] - Re: Listing Active Taskings on a Workflow

2009-02-26 Thread bradsdavis
Use the TaskMgmtSession. Search for that in the documentation. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4213484#4213484 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4213484

[jboss-user] [JBoss jBPM] - Re: Transaction Issue

2009-02-26 Thread bradsdavis
You are using a container mangaged transaction in your hibernate configuration. This is why its expecting one to be open when you perform jbpm. Change: hibernate.transaction.factory_class = org.hibernate.transaction.CMTTransactionFactory See: http://www.hibernate.org/42.html View

[jboss-user] [JBoss jBPM] - Re: jbpmContext.getGraphSession() returns null

2009-02-26 Thread bradsdavis
I am not sure about your configuration, but the internals of getGraphSession as as follows: | public GraphSession getGraphSession() | { | PersistenceService persistenceService = getPersistenceService(); | return (persistenceService != null ?

[jboss-user] [JBoss jBPM] - Re: Performance slowdown with large JBPM_LOG table

2009-02-26 Thread bradsdavis
The log table is basically an audit table. If you dont need auditing in your application, you could just turn it off by unconfiguring the logging service from jbpm.cfg.xml. Comment out: | service name='logging' factory='org.jbpm.logging.db.DbLoggingServiceFactory' / | | Another

[jboss-user] [JBoss jBPM] - Re: problem with jbpm-3.3.1.GA and jboss 4.2.3

2009-02-26 Thread bradsdavis
You get this because of the GWT console. When you install jbpm, GWT console is optional. Since it really isnt ready for prime time, I would opt to use the standard jsf-console. Optionally since you already have it installed, you could just remove the gwt pieces within jbpm folder of deploy.

[jboss-user] [JBoss jBPM] - Re: accessing jbpm from multiple web application

2009-02-23 Thread bradsdavis
@apdo, were you able to get this working? I am also getting the same exception. | java.lang.ClassCastException: org.jbpm.JbpmConfiguration cannot be cast to org.jbpm.JbpmConfiguration | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212381#4212381

[jboss-user] [JBoss jBPM] - Service Layer Integration

2009-02-22 Thread bradsdavis
I am using JBoss 4.2.3 GA, and JBPM 3.3.1 GA. I am looking for documentation on integrating with the jbpm installation. I notice that there is a BPMContextService in jbpm/jbpm-integration. What is this for? Is there a way to get the JbpmContext that is configured in jbpm-service, without

[jboss-user] [JBoss jBPM] - Re: accessing jbpm from multiple web application

2009-02-20 Thread bradsdavis
Is there an out of the box service to register the jbpm configuration? Thanks, Brad View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4211895#4211895 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4211895

[jboss-user] [JBoss jBPM] - JBPM Assignment Handler 3.3.1.GA Problems

2009-02-20 Thread bradsdavis
JBPM 3.3.1 does not seem to pass execution to the configured assignment handler delegate. Can someone please validate my configuration below? In the database, I see that the column ASSIGNMENTDELEGATION_ does have an entry, but in my logs, I get: | 2009-02-20 12:55:35,703 DEBUG

[jboss-user] [JBoss jBPM] - Re: Clean jbpm tables for completed process_instances

2009-02-20 Thread bradsdavis
I dont have an answer for this directly. But as far as saving db space, you are best served cleaning out the jbpm log tables. I am not sure if you are using the log module, but it can become really large. View the original post :

[jboss-user] [JBoss jBPM] - Re: Jboss node failover for Jbpm is not working in cluster H

2009-02-20 Thread bradsdavis
Are the transitions or nodes asynchronous? If so, make sure that your queues backing up the jms are also clustered. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4211988#4211988 Reply to the post :

[jboss-user] [JBoss jBPM] - Milestones - Support Not Clear

2009-01-20 Thread bradsdavis
I see in the jbpm codebase and tests there is a milestone node. However, the Graphical Process Designer does not seem to recognize the node. Is milestone a supported feature? Thanks, Brad View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4203452#4203452

[jboss-user] [JBoss jBPM] - Variable and Looking Up Token

2009-01-14 Thread bradsdavis
I have a pattern I am trying to use to asynchronously signal a process to continue. Unfortunately, because I need to do this between clusters and to a particular queue, I am not able to leverage the async attribute in this case. So, I am trying to figure out how to reference a token, and

[jboss-user] [JBoss jBPM] - Two Ears, JBPM Enerprise Question

2008-12-18 Thread bradsdavis
I have two ears, and several clusters at my environment. We have the following scenario: JBPM is used in two EARs, and we are upgrading from 3.1 to 3.2.3. The EARs can be deployed on the same cluster, the same node of a given cluster, or in two separate clusters. We would like to take

[jboss-user] [JBoss jBPM] - Re: Two Ears, JBPM Enerprise Question

2008-12-18 Thread bradsdavis
*Enterprise View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4197411#4197411 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4197411 ___ jboss-user mailing list