Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [CDO 4.2] Server cannot find MysqlDataSource
[CDO 4.2] Server cannot find MysqlDataSource [message #1094920] Mon, 26 August 2013 11:44 Go to next message
Soenke Brightside is currently offline Soenke Brightside
Messages: 41
Registered: January 2011
Member
Hi,

i'm new to CDO and i'm trying to start a CDO server conndected to a MySQL Server. I installed com.mysql.jdbc 5.1.11 and added it to my product configuration. However the server cannot find MysqlDataSource:

"[ERROR] java.lang.ClassNotFoundException: com.mysql.jdbc.jdbc2.optional.MysqlDataSource cannot be found by org.eclipse.net4j.db_4.2.0.v20130520-0657"

Full log:
http://pastebin.com/tSswaFhg

Greetings,
Sönke
Re: [CDO 4.2] Server cannot find MysqlDataSource [message #1095612 is a reply to message #1094920] Tue, 27 August 2013 09:36 Go to previous messageGo to next message
Eike Stepper is currently offline Eike Stepper
Messages: 5528
Registered: July 2009
Senior Member
Hi Soenke,

Please ask CDO questions in the EMF newsgroup/forum.

Comments below...


Am 26.08.2013 13:44, schrieb Soenke Brightside:
> Hi,
>
> i'm new to CDO and i'm trying to start a CDO server conndected to a MySQL Server. I installed com.mysql.jdbc 5.1.11
From where did you install it?

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


> and added it to my product configuration. However the server cannot find MysqlDataSource:
>
> "[ERROR] java.lang.ClassNotFoundException: com.mysql.jdbc.jdbc2.optional.MysqlDataSource cannot be found by
> org.eclipse.net4j.db_4.2.0.v20130520-0657"
>
> Full log:
> http://pastebin.com/tSswaFhg
>
> Greetings,
> Sönke
Re: [CDO 4.2] Server cannot find MysqlDataSource [message #1095633 is a reply to message #1095612] Tue, 27 August 2013 10:14 Go to previous messageGo to next message
Soenke Brightside is currently offline Soenke Brightside
Messages: 41
Registered: January 2011
Member
Thanks for the information. I will do it next time.

http://www.elver.org/eclipse/2.0.0/update/

I also tryed to add the driver via classpath. This also did'nt work.

Very confusing.

Sönke
Re: [CDO 4.2] Server cannot find MysqlDataSource [message #1095740 is a reply to message #1095633] Tue, 27 August 2013 13:09 Go to previous message
Eike Stepper is currently offline Eike Stepper
Messages: 5528
Registered: July 2009
Senior Member
Am 27.08.2013 12:14, schrieb Soenke Brightside:
> Thanks for the information. I will do it next time.
>
> http://www.elver.org/eclipse/2.0.0/update/
>
> I also tryed to add the driver via classpath. This also did'nt work.
>
> Very confusing.
Indeed very strange. I wonder what makes your deployment so special?

Have you tried to add a dependency from your application onto the Mysql driver bundle?

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Previous Topic:How can i have the string array attribute on Ecore?
Next Topic:[Teneo] Option cascade_policy_on_non_containment
Goto Forum:
  


Current Time: Wed Oct 01 14:22:31 GMT 2014

Powered by FUDForum. Page generated in 0.02457 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software