Home » Modeling » EMF » [CDO] Unknown DB adapter: mysql
|
Re: [CDO] Unknown DB adapter: mysql [message #427647 is a reply to message #427646] |
Wed, 25 February 2009 11:07 |
|
András,
Are you sure that your cdo-server.xml file contains <dbAdapter
name="derby-embedded"/> and not "mysql"?
Cheers
/Eike
----
http://thegordian.blogspot.com
András Ökrös schrieb:
> Hi group,
>
> I just updated my workspace to the latest CDO head code, and now I'm
> receiving a weird error during the start of the CDO Server:
>
> [ERROR] Unknown DB adapter: mysql
> java.lang.IllegalArgumentException: Unknown DB adapter: mysql
> at
> org.eclipse.emf.cdo.server.internal.db.DBStoreFactory.getDBA dapter(DBStoreFactory.java:114)
>
> at
> org.eclipse.emf.cdo.server.internal.db.DBStoreFactory.create Store(DBStoreFactory.java:52)
>
> at
> org.eclipse.emf.cdo.internal.server.RepositoryConfigurator.c onfigureStore(RepositoryConfigurator.java:130)
>
> at
> org.eclipse.emf.cdo.internal.server.RepositoryConfigurator.c onfigureRepository(RepositoryConfigurator.java:111)
>
> at
> org.eclipse.emf.cdo.internal.server.RepositoryConfigurator.c onfigure(RepositoryConfigurator.java:80)
>
> at
> org.eclipse.emf.cdo.internal.server.bundle.CDOServerApplicat ion.doStart(CDOServerApplication.java:50)
>
> at
> org.eclipse.net4j.util.om.OSGiApplication.start(OSGiApplicat ion.java:61)
>
> The embedded derby server works. I checked that the
> IDBAdapter.REGISTRY only contains "derby-embedded" and "hsqldb". I can
> provide more details, if needed.
>
> Thanks for the answer,
> András Ökrös
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Re: [CDO] Unknown DB adapter: mysql [message #427653 is a reply to message #427647] |
Wed, 25 February 2009 12:37 |
András Ökrös Messages: 7 Registered: July 2009 |
Junior Member |
|
|
Eike,
My cdo-server.xml:
....
<!--<dbAdapter name="derby-embedded"/>
<dataSource class="org.apache.derby.jdbc.EmbeddedDataSource"
databaseName="/temp/cdodb1"
createDatabase="create"/>-->
....
<dbAdapter name="mysql"/>
<dataSource class="com.mysql.jdbc.jdbc2.optional.MysqlDataSource"
url="jdbc:mysql://localhost:3306/cdo"
user="root"/>
....
If I leave it like this, I'll get the error. If I "un-comment" the derby
part, and comment the mysql, then it will start normally (with the derby
backend). Approx two months ago the mysql worked flawlessly with these
settings, so I think maybe the update to the latest head caused the
error, or I just missing something this time (? - I use the CDOServer
run configuration which comes with the project-set.).
Mysql is important now for us, as we want to do some benchmarking with
our toolsets, and last time it seemed much faster than the derby one.
Thanks in advance for the help,
András
Eike Stepper írta:
> András,
>
> Are you sure that your cdo-server.xml file contains <dbAdapter
> name="derby-embedded"/> and not "mysql"?
>
> Cheers
> /Eike
>
> ----
> http://thegordian.blogspot.com
>
>
>
> András Ökrös schrieb:
>> Hi group,
>>
>> I just updated my workspace to the latest CDO head code, and now I'm
>> receiving a weird error during the start of the CDO Server:
>>
>> [ERROR] Unknown DB adapter: mysql
>> java.lang.IllegalArgumentException: Unknown DB adapter: mysql
>> at
>> org.eclipse.emf.cdo.server.internal.db.DBStoreFactory.getDBA dapter(DBStoreFactory.java:114)
>>
>> at
>> org.eclipse.emf.cdo.server.internal.db.DBStoreFactory.create Store(DBStoreFactory.java:52)
>>
>> at
>> org.eclipse.emf.cdo.internal.server.RepositoryConfigurator.c onfigureStore(RepositoryConfigurator.java:130)
>>
>> at
>> org.eclipse.emf.cdo.internal.server.RepositoryConfigurator.c onfigureRepository(RepositoryConfigurator.java:111)
>>
>> at
>> org.eclipse.emf.cdo.internal.server.RepositoryConfigurator.c onfigure(RepositoryConfigurator.java:80)
>>
>> at
>> org.eclipse.emf.cdo.internal.server.bundle.CDOServerApplicat ion.doStart(CDOServerApplication.java:50)
>>
>> at
>> org.eclipse.net4j.util.om.OSGiApplication.start(OSGiApplicat ion.java:61)
>>
>> The embedded derby server works. I checked that the
>> IDBAdapter.REGISTRY only contains "derby-embedded" and "hsqldb". I can
>> provide more details, if needed.
>>
>> Thanks for the answer,
>> András Ökrös
|
|
|
Re: [CDO] Unknown DB adapter: mysql [message #427654 is a reply to message #427653] |
Wed, 25 February 2009 12:49 |
Simon Mc Duff Messages: 596 Registered: July 2009 |
Senior Member |
|
|
The plugins that contribute for mysql adapter is the following:
org.eclipse.net4j.db.mysql.
Could you check in your CDOServer launcher if the plugins
"org.eclipse.net4j.db.mysql" is taken from your workspace ? if not where
does it take it from..
Simon
András Ökrös wrote:
> Eike,
> My cdo-server.xml:
> ....
> <!--<dbAdapter name="derby-embedded"/>
> <dataSource class="org.apache.derby.jdbc.EmbeddedDataSource"
> databaseName="/temp/cdodb1"
> createDatabase="create"/>-->
> ....
> <dbAdapter name="mysql"/>
> <dataSource class="com.mysql.jdbc.jdbc2.optional.MysqlDataSource"
> url="jdbc:mysql://localhost:3306/cdo"
> user="root"/>
> ....
> If I leave it like this, I'll get the error. If I "un-comment" the derby
> part, and comment the mysql, then it will start normally (with the derby
> backend). Approx two months ago the mysql worked flawlessly with these
> settings, so I think maybe the update to the latest head caused the
> error, or I just missing something this time (? - I use the CDOServer
> run configuration which comes with the project-set.).
> Mysql is important now for us, as we want to do some benchmarking with
> our toolsets, and last time it seemed much faster than the derby one.
> Thanks in advance for the help,
> András
> Eike Stepper írta:
>> András,
>>
>> Are you sure that your cdo-server.xml file contains <dbAdapter
>> name="derby-embedded"/> and not "mysql"?
>>
>> Cheers
>> /Eike
>>
>> ----
>> http://thegordian.blogspot.com
>>
>>
>>
>> András Ökrös schrieb:
>>> Hi group,
>>>
>>> I just updated my workspace to the latest CDO head code, and now I'm
>>> receiving a weird error during the start of the CDO Server:
>>>
>>> [ERROR] Unknown DB adapter: mysql
>>> java.lang.IllegalArgumentException: Unknown DB adapter: mysql
>>> at
>>>
org.eclipse.emf.cdo.server.internal.db.DBStoreFactory.getDBA dapter(DBStoreFactory.java:114)
>>>
>>> at
>>>
org.eclipse.emf.cdo.server.internal.db.DBStoreFactory.create Store(DBStoreFactory.java:52)
>>>
>>> at
>>>
org.eclipse.emf.cdo.internal.server.RepositoryConfigurator.c onfigureStore(RepositoryConfigurator.java:130)
>>>
>>> at
>>>
org.eclipse.emf.cdo.internal.server.RepositoryConfigurator.c onfigureRepository(RepositoryConfigurator.java:111)
>>>
>>> at
>>>
org.eclipse.emf.cdo.internal.server.RepositoryConfigurator.c onfigure(RepositoryConfigurator.java:80)
>>>
>>> at
>>>
org.eclipse.emf.cdo.internal.server.bundle.CDOServerApplicat ion.doStart(CDOServerApplication.java:50)
>>>
>>> at
>>> org.eclipse.net4j.util.om.OSGiApplication.start(OSGiApplicat ion.java:61)
>>>
>>> The embedded derby server works. I checked that the
>>> IDBAdapter.REGISTRY only contains "derby-embedded" and "hsqldb". I can
>>> provide more details, if needed.
>>>
>>> Thanks for the answer,
>>> András Ökrös
|
|
|
Re: [CDO] Unknown DB adapter: mysql [message #427668 is a reply to message #427654] |
Wed, 25 February 2009 15:42 |
András Ökrös Messages: 7 Registered: July 2009 |
Junior Member |
|
|
It is in the workspace, and actually selected in the runtime
configuration as well.
But I tried here the "Validate Plug-ins", and it showed the error on
org.eclipse.net4j.db.mysql, which was mentioned this day in the
"[CDO]CDO Server product export error" thread, so I think basically we
are experiencing the same problem now.. Maybe this validation problem
doesn't let the plugin to load during runtime, and that's why the
extension point isn't registered in.
Maybe this new 5.1.6 mysql jdbc is wrong
(com.springsource.com.mysql.jdbc_5.1.6.jar)..
András
Simon Mc Duff írta:
> The plugins that contribute for mysql adapter is the following:
> org.eclipse.net4j.db.mysql.
>
> Could you check in your CDOServer launcher if the plugins
> "org.eclipse.net4j.db.mysql" is taken from your workspace ? if not where
> does it take it from..
>
> Simon
>
> András Ökrös wrote:
>
>> Eike,
>
>> My cdo-server.xml:
>
>> ....
>> <!--<dbAdapter name="derby-embedded"/>
>> <dataSource class="org.apache.derby.jdbc.EmbeddedDataSource"
>> databaseName="/temp/cdodb1"
>> createDatabase="create"/>-->
>> ....
>> <dbAdapter name="mysql"/>
>> <dataSource class="com.mysql.jdbc.jdbc2.optional.MysqlDataSource"
>> url="jdbc:mysql://localhost:3306/cdo"
>> user="root"/>
>> ....
>
>> If I leave it like this, I'll get the error. If I "un-comment" the
>> derby part, and comment the mysql, then it will start normally (with
>> the derby backend). Approx two months ago the mysql worked flawlessly
>> with these settings, so I think maybe the update to the latest head
>> caused the error, or I just missing something this time (? - I use the
>> CDOServer run configuration which comes with the project-set.).
>
>> Mysql is important now for us, as we want to do some benchmarking with
>> our toolsets, and last time it seemed much faster than the derby one.
>
>> Thanks in advance for the help,
>> András
>
>> Eike Stepper írta:
>>> András,
>>>
>>> Are you sure that your cdo-server.xml file contains <dbAdapter
>>> name="derby-embedded"/> and not "mysql"?
>>>
>>> Cheers
>>> /Eike
>>>
>>> ----
>>> http://thegordian.blogspot.com
>>>
>>>
>>>
>>> András Ökrös schrieb:
>>>> Hi group,
>>>>
>>>> I just updated my workspace to the latest CDO head code, and now I'm
>>>> receiving a weird error during the start of the CDO Server:
>>>>
>>>> [ERROR] Unknown DB adapter: mysql
>>>> java.lang.IllegalArgumentException: Unknown DB adapter: mysql
>>>> at
> org.eclipse.emf.cdo.server.internal.db.DBStoreFactory.getDBA dapter(DBStoreFactory.java:114)
>
>>>>
>>>> at
> org.eclipse.emf.cdo.server.internal.db.DBStoreFactory.create Store(DBStoreFactory.java:52)
>
>>>>
>>>> at
> org.eclipse.emf.cdo.internal.server.RepositoryConfigurator.c onfigureStore(RepositoryConfigurator.java:130)
>
>>>>
>>>> at
> org.eclipse.emf.cdo.internal.server.RepositoryConfigurator.c onfigureRepository(RepositoryConfigurator.java:111)
>
>>>>
>>>> at
> org.eclipse.emf.cdo.internal.server.RepositoryConfigurator.c onfigure(RepositoryConfigurator.java:80)
>
>>>>
>>>> at
> org.eclipse.emf.cdo.internal.server.bundle.CDOServerApplicat ion.doStart(CDOServerApplication.java:50)
>
>>>>
>>>> at
>>>> org.eclipse.net4j.util.om.OSGiApplication.start(OSGiApplicat ion.java:61)
>>>>
>>>>
>>>> The embedded derby server works. I checked that the
>>>> IDBAdapter.REGISTRY only contains "derby-embedded" and "hsqldb". I
>>>> can provide more details, if needed.
>>>>
>>>> Thanks for the answer,
>>>> András Ökrös
>
>
|
|
|
Goto Forum:
Current Time: Fri Apr 26 02:44:36 GMT 2024
Powered by FUDForum. Page generated in 0.02978 seconds
|