[jboss-user] [JBoss jBPM] - Re: Creating new users

2006-08-03 Thread maxip
ok i created an user in the DB but i dont understand how to work with users i made setActorID and started a process but i cant find any tasks for this actorID but the task has started so whats wrong ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962759#3

[jboss-user] [JBoss jBPM] - Creating new users

2006-08-03 Thread maxip
Hi, how do i create new users for jbpm ? Do i have to create them in the database ? which tables are affected when creating new users ? or is there a class i can use to create and maybe alter users ? i cant find anything about it in the manuals or in javadoc thx cya View the original post

[jboss-user] [JBoss jBPM] - Re: MySQL: JDBC Driver class not found: com.mysql.jdbc.Drive

2006-08-03 Thread maxip
thanks a lot but i my jbpm runs with mysql :) i develop with eclipse and i had to add this .jar with the option "add external jar file" :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962740#3962740 Reply to the post : http://www.jboss.com/index.html?mo

[jboss-user] [JBoss jBPM] - MySQL: JDBC Driver class not found: com.mysql.jdbc.Driver

2006-08-02 Thread maxip
Hi, i have put the mysql_connector.jar file into commons/lib but i still get this error message where do i have to put which file to make jbpm running with mysql ? thx cya View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962422#3962422 Reply to the post :

[jboss-user] [JBoss jBPM] - Using another Hibernate Server

2006-08-02 Thread maxip
Hi my problem is that after every session my hibernate DB is killed completely. It seems that hibernate starts, my programm runs, does some jbpm actions, and after my program terminates, the hibernate is being deleted. So i want to install my own hibernate DB that runs all the time how does i

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

2006-08-01 Thread maxip
hm i dont know whats going on here but i deployed the definitions under different names serveral times but there dont occur new entryies in the database so i guess: every time i start a class and create ja jbpm context a new one is created, the schema has to prepare the database and now i can

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

2006-08-01 Thread maxip
But when i remove this line i get an error /exception: anonymous wrote : 15:14:50,812 [main] ERROR JDBCExceptionReporter : Table not found in statement [select processdef0_.ID_ as ID1_4_, processdef0_.NAME_ as NAME2_4_, processdef0_.VERSION_ as VERSION3_4_, processdef0_.ISTERMINATIONIMPLICIT_ a

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

2006-08-01 Thread maxip
graphSession.findAllProcessDefinitions(); returns an empty list :/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962158#3962158 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962158

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

2006-08-01 Thread maxip
yes i recently looked up and i found the definitions there the ones i deployed with my class and the ones i deployed using the designer so it uses the DB View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962155#3962155 Reply to the post : http://www.jboss.

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

2006-08-01 Thread maxip
OK so i deployed a process definition by the designer (deployment was successfull) but i cant find any process definition anonymous wrote : public static void main(String[] args) { | JbpmConfiguration.getInstance().createSchema(); | JbpmContext jbpmContext = JbpmConf

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

2006-08-01 Thread maxip
Thank you for your help but it does not work :( i createt a context deployed the process definition. then i started another main class which created e new context and tried to get all process definitions. but none were found. How can i ensure that the server us used which is running ? i have

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

2006-08-01 Thread maxip
hm but how do i reuse a jbpm context with different classes ? i want to write some classes as an example how to use jbpm for our univeristy. so i want to deploy a process definition. close the program then i want to start a programm which uses this context, too and starts a process instance a

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

2006-08-01 Thread maxip
I always create and close so do i always create an new one ? how can i reopen an existing jbpm context ? btw. : thank you :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962135#3962135 Reply to the post : http://www.jboss.com/index.html?module=bb&op=

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

2006-08-01 Thread maxip
it only works if i deploy the processdefinition at the same time: JbpmConfiguration.getInstance().createSchema(); | JbpmContext jbpmContext = JbpmConfiguration.getInstance().createJbpmContext(); | | try { | GraphSession graphSessio

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

2006-08-01 Thread maxip
OK but i think i have a probleme with the persistance. i deployd withd graphsession.deploy(processDefinition); but the definition cant be found thats my code : package de.fhkl.bda; | | import java.util.List; | import java.util.Map; | import java.util.Set; | | import org.jbpm.Jbp

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

2006-08-01 Thread maxip
Thank you But how do i fetch a list with all started / active process instances ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962119#3962119 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962119

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

2006-08-01 Thread maxip
anonymous wrote : Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 | at java.util.ArrayList.RangeCheck(Unknown Source) | at java.util.ArrayList.get(Unknown Source) | at de.fhkl.bda.TestClass.main(TestClass.java:32) View the original post : http:

[jboss-user] [JBoss jBPM] - Persistance

2006-08-01 Thread maxip
Hi, i want to save a process instance (seems to work) and to get back a saved instance. But the fetched list is empty heres my code: whats wrong? in the log i can see that my process is started and saved... | | import java.util.List; | | import org.jbpm.JbpmConfiguration; | imp

[jboss-user] [JBoss jBPM] - hibernate.queries.hbm.xml

2006-07-27 Thread maxip
Hi, want to use the persistance of jBPM, but i get this error: anonymous wrote : 10:57:17,796 [main] INFO Configuration : Configured SessionFactory: null | 10:57:17,796 [main] INFO Configuration : Reading mappings from resource: hibernate.queries.hbm.xml | 10:57:17,843 [main] DEBUG JbpmCo