Target Definition and Unknown DB Adaptor: mysql [message #986323] |
Mon, 19 November 2012 18:54  |
Eclipse User |
|
|
|
I followed the instructions in the followng tutorial: http://wiki.eclipse.org/Getting_started_with_CDO_Helios.
I'm using Juno and the tutorial is a little out of data but I was able to make it work. I used the library.mdl model from the EMF tutorial (Rose class model, etc)as they did in this CDO tutorial. It did it using the org.eclipse.emf.cdo.server.product.tcp_h2 product that I downloaded with some CDO plugins from the update site http://download.eclipse.org/modeling/emf/cdo/drops/R20120918-0947 in my Eclipse IDE.
I was able to get the tutorial working this way. Also, by changing the cdo-server.xml file and installing the Net4j DB Framework MYSQL/Postgres adaptors I was able to get it working for both of them still using the org.eclipse.emf.cdo.server.product.tcp_h2 product. In effect I was able to run a CDO Server from within my Eclipse IDE like illustrated in the tutorial.
I am now trying to use CDO on another project, and it involves downloading stuff for the plugins using a Target Definition. That seems to be the only different at this point that I can think of. I am having trouble downloading the Net4j MySQL and Postrgres Adaptor through the TargetDefinition but lets not worry about that too much just yet (and there is so much to that that I am going to submit it in a second posting).
I am still using the org.eclipse.emf.cdo.server.product.tcp_h2 product but when I try to start the CDO Server I get the Unknown DB adapter: mysql error message. Do I need to create an Eclipse product for MySQL like the gentleman who had the problem in the following post: http://www.eclipse.org/forums/index.php/m/903376/?srch=unknown+db+adapter+mysql#msg_903376
??
Any ideas or advice would be very much appreciated.
Thanks
-Andrew
|
|
|
Re: Target Definition and Unknown DB Adaptor: mysql [message #986665 is a reply to message #986323] |
Wed, 21 November 2012 05:33  |
Eclipse User |
|
|
|
Hi What ever get's loaded in with the run configuration, is visible in i.e. Debug-> Debug Configurations and selecting the tab named plug-ins.
If you check the box saying "Only show selected", and scroll down the list, you will see which plugins will be loaded. now look for a plugin named: org.eclipse.net4j.db.mysql (For CDO 4.2 which is what you )
if it's not there, you won't be able to run a mysql db store.
Now check your .product, if the plugin is there... if not that is your issue. (What I find easiest is to have a feature based product, referring to a single feature, and that feature will include all the plugins or other features I need, so
if you need to switch back-end, it's really one single feature you have to change in your product).
does this help?
Christophe
|
|
|
Powered by
FUDForum. Page generated in 0.07809 seconds