JBoss Community

Re: Changing from H2 database to MSQL database

created by gvino in jBPM - View the full discussion

Hi ,

 

I downloaded mysql-connector-java.jar file and put it in my db/driver folder.

 

after I user "ant install.demo.db" , It won't have com/mysql folder.

then I check build.xml file, found that it will execute "install.db.files" when I use "start.demo.db"

so after I done this , I can find my con/mysql folder.

 

Then I run my database, I can find the tables created in my database.

 

after these operation, I think that I alredy succeed in connecting my jBPM to MySQL database.

 

But when I try to use "ant start.demo", I got Build failed and following is the error messages

 

BUILD FAILED

jbpm-installer\build.xml:808: Execute failed: java.io.IOException: Cannot run program ".\eclipse\eclipse.exe": C

reateProcess error=2, ?t?Χ??????

 

I thought that was because my eclipse didn't install successfully.

so I tried to user "ant install.eclipse"

 

finally I use "ant start.demo"

but the script always show that start h2 database.

How can I sure that eclipse open up with my own database(mysql).

 

btw,I am using jbpm5.3 on windows7 64bits

 

Thanks!

Reply to this message by going to Community

Start a new discussion in jBPM at Community