[JBoss-user] [JBoss jBPM] - Re: TaskAssignment works but findTaskInstances fails
thanX for ur early reply, if my configuration file is wrong then iam not able to get the task list and process definitions for the user after iam gettign the process definitions using the definition ID iam trying to instantiate the process definition then i am coming accross the problem of persistence. before restarting the server(JVM) iam able to see the task list of the user. after restarting the server ima not able to see the task list. if u want more details while helping me ill provide this makes one week for me, i tried to directly set the auto commit to true.then it is persisteing into the data bas. but the approach that iam using seems to me the not correct approach to instantiate the process. please help me how to instantiate the process. "any help regarding this will be appriciated" Regards, Mohan chokkakula. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947352#3947352 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947352 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: TaskAssignment works but findTaskInstances fails
what do you mean with 'the same problem'? The subject or the stacktrace? If it is the former, try looking at your hibernate config. If it is the latter, you have to provide more info, since the code looks ok. Do you actually use a hibernate config? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947340#3947340 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947340 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: TaskAssignment works but findTaskInstances fails
hi, iam also getting the same problem while iam trying to create the new instance of the process then iam getitng this problem and when i tried to instantiate it is showing the task list for the user but when ever i restart the server then iam not able to find the task list for the user. i think the data i have given is not persistign into the data base. Below is the code that i used to instantiate the code. jbpmContext = jbpmConfiguration.createJbpmContext(); GraphSession graphSession = jbpmContext.getGraphSession(); ProcessDefinition processDefinition = graphSession.loadProcessDefinition(processDefinitionId); ProcessInstance processInstance = jbpmContext.newProcessInstance(processDefinition.getName()); processInstance.signal(); jbpmContext.save(processInstance); jbpmContext.close(); and iam getting the problem while persistign the task instance into the data base any one come accross thsi type of problem if so please guide me to resolve the problem. Regards, mohan chokkakula. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947338#3947338 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947338 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: TaskAssignment works but findTaskInstances fails
No problem, we're here to help eachother right ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3938222#3938222 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3938222 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: TaskAssignment works but findTaskInstances fails
Hi, kukeltje! This exactly was the document that I was talking about. The jBPM forum was the last place where I would have searched for since the answer is quite technical oriented and concerning hibernate. Anyway, thank you for the reminder and the advice! Saviola View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3938189#3938189 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3938189 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: TaskAssignment works but findTaskInstances fails
Saviola, Thanks, someone who knows how to use searchfunctionality. But. The jbpm forum search functionality would have provided this link: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=73123 Ronald View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3938155#3938155 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3938155 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: TaskAssignment works but findTaskInstances fails
Hi aamonten! Here you can read more about the warnign: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1367 http://forums.hibernate.org/viewtopic.php?t=941507&view=next&sid=bcc76fb6a152498bed5a05c6f0cb1d4f I had read a documentation (I think it was Hibernate's) with a very simple explanation of the issue but I can't find it at the moment. It was something that Hibernate extends the objects while quering the database. and this breaks the == operation. Unfortunatelly I am not able to explain that in detail :( Regards, Saviola View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3938072#3938072 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3938072 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: TaskAssignment works but findTaskInstances fails
"sps100" wrote : Using 3.1, DB2 8.x | | I created an assignment handler and assigned a task to the user "guest" using Assignable.setActorId("guest") method. This creates a task instance in JBPM_TASKINSTANCE with ACTORID_ as guest. This thorws following warning: | | 13:15:06,068 [main] WARN StatefulPersistenceContext : Narrowing proxy to class org.jbpm.graph.node.StartState - this operation breaks == | 13:15:06,088 [main] WARN StatefulPersistenceContext : Narrowing proxy to class org.jbpm.graph.node.TaskNode - this operation breaks == | | "kukeltje" wrote : - The warnings can be ignored Even if the warning could be ignored it would be nice to know what it's, any have an idea? Regards Alejandro View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937971#3937971 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3937971 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: TaskAssignment works but findTaskInstances fails
thanks for letting us know and glad we could help you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935858#3935858 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935858 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: TaskAssignment works but findTaskInstances fails
You are correct. There was a query substitution in our hibernate mapping file. This is not a jBPM problem. Thank you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935614#3935614 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935614 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: TaskAssignment works but findTaskInstances fails
- The warnings can be ignored - taskinstan0_.ISOPEN_='Y' is the culprit I think. The ISOPEN column in the JBPM_TASKINSTANCE table is a numerical field. I cannot imagine that this is a generic bug in jBPM since everybody would have this problem. Could be an issue with the hibernate config for db2. hth, Ronald View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935298#3935298 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935298 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: TaskAssignment works but findTaskInstances fails
Found a workaround We have process instance (process instance id) so we can also use API: Collection taskCollection = processInstance.getTaskMgmtInstance().getTaskInstances(); Then look for the given Actor Id. We don't have many Task Nodes so this should not cause any performance problem. Looks like there may be a problem in getTaskMgmtSession().findTaskInstances("user id") on JbpmContext. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935283#3935283 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935283 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user