[jboss-user] [Clustering/JBoss] - Re: HA-JNDI for JMS

2009-07-23 Thread jgreiner
Well it is on a server. But I think you misunderstood my question. I have a cluster with 3 servers. I can post to the topic and it works just fine, all 3 servers process my request. Now I want to post to a REMOTE Cluster. I can use the code in my example to post to the 3 servers in the remo

[jboss-user] [JBossMQ] - Re: How to send to remote JMS provider using JBossMQ

2009-07-23 Thread jgreiner
I am trying to do this as well, you ever get it working or find some documentation on the subject? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245571#4245571 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245571 ___

[jboss-user] [Clustering/JBoss] - HA-JNDI for JMS

2009-07-20 Thread jgreiner
HA JNDI and JMS JBoss 4.3 I have 2 clusters that I need to publish a topic on. I can get it all working setting the environment variables for the initial context and giving it the server names. | Hashtable env = new Hashtable(); | env.put("java.naming.factory.initial","org.jnp.interfac

[jboss-user] [JBoss jBPM] - Re: Configuring custom AssignmentHandler in JBPM

2007-12-07 Thread jgreiner
While identity management and assignment handlers are related they are not the same. If you create a class that implements the AssignmentHandler class you can add code there to set the ActorId, or the PooledActors if you want to assign a task to many people. Then you create a swimlane and use

[jboss-user] [JBoss jBPM] - Re: Retry a Node, after exception.

2007-09-14 Thread jgreiner
Now I would like to kill the process instance. I got my code from the source for the web console, but when I end the process instance is sits in the start node, when I end the tokens it spawns 2 more process instances and all 3 (original and 2 spawns) sit in the start node. Any ideas? |

[jboss-user] [JBoss jBPM] - Re: Retry a Node, after exception.

2007-09-14 Thread jgreiner
Found it had to do new ExecutionContext(Token) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084525#4084525 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084525 ___ jboss-us

[jboss-user] [JBoss jBPM] - Retry a Node, after exception.

2007-09-14 Thread jgreiner
When my code throws an exception on a node, the process instance is stuck on the node. When I correct the problem, does someone know the method or the object I could look at to retry the process execution on the node? Here is what I am trying, but ExecutionContext is always null, so I am not su

[jboss-user] [JBoss jBPM] - Asynchronous Continuation

2007-09-12 Thread jgreiner
Reading Chapter 14 on Asynchronous Continuation there is mention of a JBPM_MESSAGE Table. I am using jbpm 3.2 and I do not see this table. Am I missing something or is this a newer feature than 3.2. I am reading 14.4 and that is exactly the way I want exceptions to be handled, however I am

[jboss-user] [JBoss jBPM] - Re: Ending a Task.

2007-08-14 Thread jgreiner
Well to be honest with you I did not believe your suggestion was any different than what I was doing since I was checking the end date to make sure the TaskInstance was not ended. However after trying your suggestion it worked perfectly. I will now have to dig through that source and see if I

[jboss-user] [JBoss jBPM] - Ending a Task.

2007-08-14 Thread jgreiner
When I am ending a taskinstance do I have to manually clear the actor, and the group assignments? What is happening is my tasks hang around in the group assignments even though I ended the task. I just wanted to verify, seems like ending the task should make sure that task does not come up an

[jboss-user] [JBoss jBPM] - Re: JBPM Processor Designer not working with Eclipse 3.2

2007-08-01 Thread jgreiner
Isn't there 2 jar files you need to copy to the plugins directory as well? org.jbpm.gd.jpdl.core_3.0.13.1.jar org.jbpm.gd.jpdl.ui_3.0.13.1.jar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069721#4069721 Reply to the post : http://www.jboss.com/index.html

[jboss-user] [JBoss jBPM] - Re: API to Find the total processes started, ended, suspended

2007-07-20 Thread jgreiner
There is a method off of GraphSession that can be found on the jbpm context. JbpmContext().getGraphSession().findProcessInstances(ProcessDefinitionId); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066302#4066302 Reply to the post : http://www.jboss.com/in

[jboss-user] [JBoss jBPM] - Re: Task assignment

2007-07-20 Thread jgreiner
Well here is how I handle it in my app. Certainly not a fool proof solution, but should get you pretty close. When a process enters a task node, I have a swimlane setup with an assignment handler. That assignment handler queries the database and selects a group of users that could work this

[jboss-user] [JBoss jBPM] - Re: Some questions on Process Instance.

2007-07-20 Thread jgreiner
You know that is not a bad idea at all.I can store the taskInstance ID on a Node-Enter event, then I can get the exact task instance every time. That should work just peachy.I will try to post the code here if it all works. Thanks View the original post : http://www.jboss.com/index.ht

[jboss-user] [JBoss jBPM] - Re: Some questions on Process Instance.

2007-07-20 Thread jgreiner
Thanks for your response, unfortunately I am not in an Action. The users has just finished the task on the web page (of my own design) and I am calling a ejb method that will then get the processinstance bia the process id and transition the task. Looking at source code an running some tests

[jboss-user] [JBoss jBPM] - Some questions on Process Instance.

2007-07-19 Thread jgreiner
I just wanted to make sure I am doing some things using the best practice. I think I am doing some things that are not just 100% correct and work coincidentally I have the process instance that I want to work with. What is the best method to get a Node so I can signal it? Also what is the

[jboss-user] [JBoss jBPM] - Re: Task assignment

2007-07-19 Thread jgreiner
What might help you in this case is to assign a task to a group, then only assign to the actor when they are ready to work the task. J View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065931#4065931 Reply to the post : http://www.jboss.com/index.html?module=b

[jboss-user] [EJB/JBoss] - Registering Web Service in JNDI

2007-07-11 Thread jgreiner
In EJB2.0 we have some web services we call from EJB's. We have registered these in JNDI using these tags in the jboss.xml. | | services/myWS | http://localhost:8080/InterFace-ejb/XMLInterface?wsdl | | I am now trying to do this in EJB3, does someone know of an anno

[jboss-user] [JBoss jBPM] - Problem with Exception Handler or I just can't do this?

2007-06-27 Thread jgreiner
Could someone tell me if this is an issue with exception handling or if I am just missing something, and doing it wrong. Most nodes or ActionHandlers that access the database, or check on data, I have an exception handler. Something like | | | | Th

[jboss-user] [JBoss jBPM] - Re: How to use FindTaskInstances in multiple transitions?

2007-06-27 Thread jgreiner
Here is the java code | JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance(); | jbpmContext = jbpmConfiguration.createJbpmContext(); | GraphSession graphSession = jbpmContext.getGraphSession(); | | List actor

[jboss-user] [JBoss jBPM] - Process-States

2007-06-21 Thread jgreiner
If I deploy the process definition below without deploying the sub-process definitions. The process will execute up until it tries to call a sub-process then it will throw an exception as expected. However if I have the process definitions deployed properly (deploy subprocesses before main pro

[jboss-user] [JBoss jBPM] - Exception Handling in Nodes

2007-06-07 Thread jgreiner
I have a question on Exception Handling in Nodes. When you have some nodes that are doing database updates/inserts and the update or insert fails the JBPM Process Instance stays stuck on that node. Basically any exception that may occur in a nodes action handler. Please note that these are

[jboss-user] [JBoss jBPM] - Re: jbpm-jpdl-3.2.GA - incomplete project creation in eclips

2007-05-03 Thread jgreiner
On your version it creates the process here. jpdl | `-- simple | |-- gpd.xml | |-- processdefinition.xml | `-- processimage.jpg not in the processes directory, so continue with simple being the the processes directory. Hope this helps. View the original post : http://www.jboss.com/index.

[jboss-user] [JBoss jBPM] - Re: BPEL Installation - NewBie

2007-02-16 Thread jgreiner
Yes the jbpm-bpel should support the existing jbpm. Currently I am at the same place you are, except I get a error querying the jbpm_processdefinitions table. http://jira.jboss.com/jira/browse/BPEL-232 Seems to suggest a bug. So I have helped you as far as I am able. View the original post

[jboss-user] [JBoss jBPM] - Re: JbpmBpelDS not bound

2007-02-16 Thread jgreiner
Inside the SAR is a jbpm-bpel.war file. The war attempts to deploy before the DS. Once the sar starts the everything works out fine. However if you do not want to see that error pull the war out of the sar and deploy it separately. View the original post : http://www.jboss.com/index.htm

[jboss-user] [JBoss jBPM] - Re: BPEL Installation - NewBie

2007-02-15 Thread jgreiner
I assume you are running the jboss that comes with the starter kit. I believe you need to remove the jbpm.sar and jbpm.war. I think you see that error comes when both the jbpm.sar and the jbpm-bpel.sar are deployed. Try that and see if you have better luck. Otherwise you can use JBOSS 4.0.x.

[jboss-user] [JBoss jBPM] - Re: jBPM Designer - new Project, runtime location

2007-02-15 Thread jgreiner
If you download the jbpm application you should have a jbpm directory you point to this. For example with the jbpm-starterkit you could point to (assuming you extracted to C:\ C:\jbpm-starters-kit-3.1.4\jbpm View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4

[jboss-user] [JBoss jBPM] - Re: BPEL Installation Question

2007-02-12 Thread jgreiner
By the way to help someone in the future searching the forums for the same problem here is my java command java -cp hibernate3.jar;jbpm-jpdl.jar;jbpm-bpel.jar;commons-logging.jar;dom4j.jar;antlr-2.7.6.jar;jbpm-identity-3.1.4.jar;commons-collections.jar;commons-lang.jar;wsdl4j.jar;bsh-1.3.0.jar;C

[jboss-user] [JBoss jBPM] - Re: BPEL Installation Question

2007-02-12 Thread jgreiner
Sweet seems like I am getting closer. Well it ran for a while then failed with another exception. This is the same error I get when I run the ant create-schema from the examples directory. | Feb 12, 2007 11:09:44 AM org.hibernate.tool.hbm2ddl.SchemaExport main | SEVERE: Error crea

[jboss-user] [JBoss jBPM] - Re: BPEL Installation Question

2007-02-12 Thread jgreiner
Well trying to create the schema again. Unfortunately it gives me this error. I copied all the jars, and the hibernate.cfg.xml file into a directory and from there I run the java command. I am not up to speed with hibernate, so does anyone now why it does not find the cfg.xml file? I have

[jboss-user] [JBoss jBPM] - Re: BPEL Installation Question

2007-02-09 Thread jgreiner
Well I took a few steps back to get this working.I decided that I would deploy the bpel engine to the jboss server that comes with the jbpm starter kit. I get it compiled and deployed but get a error. | 08:56:45,571 INFO [STDOUT] java.lang.NoClassDefFoundError: org/jbpm/bpel/wsdl/Prop

[jboss-user] [JBoss jBPM] - Re: BPEL Installation Question

2007-02-08 Thread jgreiner
Boy I was really hoping for "Yup here is the script you need".:) However, I appreciate your suggestion as well. Thanks Jason View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013224#4013224 Reply to the post : http://www.jboss.com/index.html?module=bb&op=p

[jboss-user] [JBoss jBPM] - BPEL Installation Question

2007-02-08 Thread jgreiner
I am trying to install the BPEL Engine on my JBOSS Server. I need it to point to an oracle database which I have it doing. However the tables do not exist on the Oracle database server. When I run ant create-schema I get the error below. I have set my Dialect to Oracle9Dialect which wo

[jboss-user] [JBoss jBPM] - Adding JBPM to existing JBOSS 4.0.4 AS

2007-02-05 Thread jgreiner
I am attempting to add the JBPM Engine to my existing JBOSS 4.0.4 AS Configuration. When I run the ant dist I get this error. Anyone know where this file is? I searched my entire harddrive for support.xml and could not find it. C:\Development\Java\jbpm-starters-kit-3.1.2\jbpm\src\usergui