[JBoss-user] [JBoss jBPM] - Re: working with jbpm

2006-01-13 Thread [EMAIL PROTECTED]
Deepali, I suspect you have indeed two different datasources running. Did you have a try looking at the contents of the default datastore using the jms-console? To do so, open a brower and surf to http://localhost:8080/jmx-console/. Then locate the entry 'database=localDB,service=Hypersonic'

[JBoss-user] [JBoss jBPM] - Re: working with jbpm

2006-01-13 Thread forJbpm
Hi Koen and Elmo, Thanks a lot for quick reply. I was monitoring my database using hsqldb.mgr.sh. I will follow your advice. Again thanks a lot for promptly answering my questions. Regards, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3917374#3917374 Reply

[JBoss-user] [JBoss jBPM] - Re: working with jbpm

2006-01-12 Thread forJbpm
Oh! G8! Actually I got this information regarding websale example database from one of your posts only :-) If you think its going to help me if I use another database then I will go ahead and try it( My manager is really loosing his patience now :-)). Is there anything more anyone would like me

[JBoss-user] [JBoss jBPM] - Re: working with jbpm

2006-01-12 Thread [EMAIL PROTECTED]
How do you query your HSQL database? If you are using the starter's kit without reconfiguring the HSQL datatasource to use TCP/IP and port 1701 (or some other port), you are not able to connect to it from an outside application. The only way to view what is inside then is use the JBoss JMX

[JBoss-user] [JBoss jBPM] - Re: working with jbpm

2006-01-12 Thread forJbpm
I am using tcp -ip connections for databases I have uncommented lines in hsqldb-ds.xml file. Is there anything else I need to know Deepali View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3917216#3917216 Reply to the post :

[JBoss-user] [JBoss jBPM] - Re: working with jbpm

2006-01-12 Thread enazareno
Hi, I suggest you try Koen's suggestion first. Then if you want to try other dbs, I assumed you have already a database that you're very comfortable with and you have the ide for it. Check out the jbpm-db folder under your starter's kit and see if its supported. These are the

[JBoss-user] [JBoss jBPM] - Re: working with jbpm

2006-01-11 Thread forJbpm
anonymous wrote : Also be aware that since the transaction is outside jBPM, state is not saved until jBPM returns which is either at completion of the entire process or it goes into a wait state. ie: jBPM does NOT persist state as it moves within itself, unless you make it thru custom code ;-).

[JBoss-user] [JBoss jBPM] - Re: working with jbpm

2006-01-11 Thread RAlfoeldi
anonymous wrote : But at any given time my database is always empty. (Even process is fininshed or its in wait state) Am I missing something? This is most definately not true. The definitions, processinstances, state etc. have to be somewhere or else you couldn't use them. Sorry for stating the

[JBoss-user] [JBoss jBPM] - Re: working with jbpm

2006-01-11 Thread forJbpm
Thanks a lot for your reply anonymous wrote : This is most definately not true. The definitions, processinstances, state etc. have to be somewhere or else you couldn't use them. Sorry for stating the obvious. | I agree with you that processInstances, etc have to be somewhere .. ( thats why I

[JBoss-user] [JBoss jBPM] - Re: working with jbpm

2006-01-11 Thread RAlfoeldi
are you sure you are querying the same database instance as jbpm is? jbpm sees something, you don't. so unless databases have changed alot lately and become moody beasts you must be looking at different things. could it be that you are just looking in the wrong place? hsql can be run as an

[JBoss-user] [JBoss jBPM] - Re: working with jbpm

2006-01-11 Thread forJbpm
yeh! I am quite sure of the database I am looking for. and Thats why its driving me crazy now. In case of Test class It behaves as expected. But When I run my process, I dont see any interaction with my hsql database during or after the process execution. View the original post :

[JBoss-user] [JBoss jBPM] - Re: working with jbpm

2006-01-11 Thread forJbpm
In case websale example, When I run it and create a new web sale order it is supposed to update JBPM_TIMER table if I am not wrong ! But In my case I dont see this logging in table (Here I unserstand that once ernie fininshes his task this entry will be deleted) Any help in this regard is

[JBoss-user] [JBoss jBPM] - Re: working with jbpm

2006-01-11 Thread enazareno
Hi, Try using another database. You wont be using hsqldb in production anyway (unless you really do) ;) Regards, Elmo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3917031#3917031 Reply to the post :

[JBoss-user] [JBoss jBPM] - Re: working with jbpm

2005-12-14 Thread forJbpm
Hi sforema, Thanks a lot for quick answers! anonymous wrote : How are you looking for it? Are you querying the database? I was assuming that in my actionHandler if I say executionContext.leavenode() ; My processDefinition will leave the current node and move to next one. and I will be able to

[JBoss-user] [JBoss jBPM] - Re: working with jbpm

2005-12-14 Thread sforema
I do indeed have my own process monitor, which is essentially a more fancy query than I provided here. I have added several context variables to allow me to add detailed state information to a process, such as ERROR, PAUSED, INACTIVE, ACTIVE, PAUSING, COMPLETED. I am able to see the status of

[JBoss-user] [JBoss jBPM] - Re: working with jbpm

2005-12-14 Thread sforema
Also, leaveNode is not probably what you want. I think the documentation is not clear on your real options are. You essentially have two types of nodes: ones that automatically transition (fork,join) and ones that do not (state). It is very important to know what each node does. If you signal

[JBoss-user] [JBoss jBPM] - Re: working with jbpm

2005-12-14 Thread RAlfoeldi
I have to find that link on why Oracle never, ever does dirty reads... It has a reason... :-) (For the rest of you: this is a running gag between Mr. Sean Autocommit and myself.) Btw: Is there any situation in which you would accept transactions spanning nodes? Just curious. I do have the

[JBoss-user] [JBoss jBPM] - Re: working with jbpm

2005-12-14 Thread sforema
There will never be a situation where I will span multiple nodes without saving state. To me, each node is a step in a job. In that light, it is critical to know exactly where the process is so that work is not done twice in case of a power / machine failure. The first node might pick up a

[JBoss-user] [JBoss jBPM] - Re: working with jbpm

2005-12-13 Thread sforema
I am just not able to see that transition from one state to next state How are you looking for it? Are you querying the database? You can use the query below to check the status of non-completed processes: This will show one row for each instance + token + context variable Keep in mind that