[jboss-user] [jBPM] - Re: problem about running jbpm5

Billy Bartels do-not-reply at jboss.com
Tue Jul 5 01:40:08 EDT 2011


Billy Bartels [http://community.jboss.org/people/billybartels] created the discussion

"Re: problem about running jbpm5"

To view the discussion, visit: http://community.jboss.org/message/613381#613381

--------------------------------------------------------------
Kris,

I found out that after I removed file "jndi.properties", which contains "java.naming.factory.initial=bitronix.tm.jndi.BitronixInitialContextFactory", it started to work! Thanks so much for providing the instructions!

Now I've got a new issue -- how can I have a fresh installation? I tried to delete the JBoss server folder and the H2 database files (test.h2.db, etc.). After a new installation, I still can see all the previous processes in jbpm-console.

I searched the former related posts and didn't find how to do it. Someone said doing it in code:
GraphSession graphSession=jbpmContext.getGraphSession();
ProcessDefinition processDefinition=graphSession.getProcessDefinition(id);
graphSession.deleteProcessDefinition(processDefinition);

I didn't try it as I'm not sure if it's the way to go. What would be the best way to wipe out all the installed processes as well as the database so as to have a clean installation again?

Thanks!
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/613381#613381]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110705/a556339f/attachment.html 


More information about the jboss-user mailing list