-
1. Re: jBPM5 and MySQL??
mcapsu Apr 19, 2011 4:27 PM (in response to mcapsu)Ok so today I installed mysql 5.5.11 and adjusted the 3 files
hibernate.cfg.xml
persistence.xml
testDS1-ds.xml
I then adjusted the build xml a bit and ran demo.install.mysql ...
this is a new target I added that will pull down the mysql jdbc connector jar
this ran pretty well
I then ran the ant target demo.start.mysql (this is a new target that is the same as demo.start except no h2 start)
I ran the sample and jbpm console seemed to work ok - but i am getting errors in the process tab related to no persistence provider...
however when i run the sample processtest.java class and login via krisv I can work on the self-eval form...
so I think this worked for the most part - I still need to figure out the no persistince provider error with the process tab - any help there would be appreciated...
I'm not quite sure how to attach the modifed build.xml or other xml files to this post - but once I figure that out I will attach those as well...
(I obviously didn't scroll far enough when I first wrote this!!! I have attached the files now!)
I also at first attempted to install into a different directory than the one i downloaded the installer to... I modified a few things in the build.xml and build.properties files to attempt this but was unsuccessful - and didn't bother to chase it for long - has anyone tried this before successfully?
-
testDS1-ds.xml.mysql.zip 374 bytes
-
persistence.xml.mysql.zip 666 bytes
-
hibernate.cfg.mysql.zip 758 bytes
-
build.xml 28.2 KB
-
-
2. Re: jBPM5 and MySQL??
jimmy.dongjia Dec 14, 2011 12:26 AM (in response to mcapsu)Hi Mike!
Do you have solved the no persistince provider error with the process tab problem?
I have the same problem .anyone who can give some suggestion will appreciate!
-
3. Re: jBPM5 and MySQL??
sanket.mohile Dec 14, 2011 6:49 AM (in response to mcapsu)Hi Mike/Jimmy,
jBPM jar jbpm-bam have persistence xml in them which points to h2. Since you are not starting h2, this might be the one crashing.
Suggest you to start h2 as well for these internal components to work. Your application data would go to mysql as you specified.
Or another way is change the persistence xmls in the jar as well.
Just a possibility. You may try that.
Regards,
Sanket.
-
4. Re: jBPM5 and MySQL??
jimmy.dongjia Dec 15, 2011 3:37 AM (in response to sanket.mohile)You are right! I modify persistence.xml in the jar and everything is ok!!
-
5. Re: jBPM5 and MySQL??
jackmin Mar 18, 2012 2:58 AM (in response to mcapsu)Hi,
Thanks for your people!
I am a new fish to the jBPM, and i am wantting to get started installing the jbpm to lcoal database,which is a big problem for me ,Thanks again!
-
6. Re: jBPM5 and MySQL??
jackmin Mar 18, 2012 9:00 AM (in response to mcapsu)Hi,Mike/Sanket ,
I check out the jbpm-bam-5.2.0.Final.jar file ,but I did not find there is a file named persistence.xml, And there is only one file name pom.xml in the path jbpm-bam-5.2.0.Final.jar\META-INF\maven\org.jbpm\jbpm-bam. Did you meaned it is the file ? Or there is another chioce?Thank you!