[jboss-user] [jBPM] - Re: Changing from H2 database to MSQL database

gvino do-not-reply at jboss.com
Fri Oct 19 03:37:18 EDT 2012


gvino [https://community.jboss.org/people/gvino] created the discussion

"Re: Changing from H2 database to MSQL database"

To view the discussion, visit: https://community.jboss.org/message/766953#766953

--------------------------------------------------------------
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
[https://community.jboss.org/message/766953#766953]

Start a new discussion in jBPM at Community
[https://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/20121019/2dac8924/attachment.html 


More information about the jboss-user mailing list