Re: Derby database and error with jdbc:datasources

2014-11-03 Thread Jonathan Vila Lopez
ila Lopez > Date:03/11/2014 13:31 (GMT+01:00) > To: user@karaf.apache.org > Cc: > Subject: Re: Derby database and error with jdbc:datasources > > Hello > > I tried first using the jdbc feature commands, as explained in Christian > examples. but for a reason I dont kn

Re: Derby database and error with jdbc:datasources

2014-11-03 Thread Jean-Baptiste Onofré
I talk about the native jdbc commands. Sent from my Samsung Galaxy smartphone. Original message From: Jonathan Vila Lopez Date:03/11/2014 13:31 (GMT+01:00) To: user@karaf.apache.org Cc: Subject: Re: Derby database and error with jdbc:datasources HelloI tried first using the

Re: Derby database and error with jdbc:datasources

2014-11-03 Thread Jonathan Vila Lopez
Hello I tried first using the jdbc feature commands, as explained in Christian examples. but for a reason I dont know my tables ( from my JPA entities ) were not created, and then tried with a "remote" datasource to my localhost database to check if it worked. I will try again with the em

Re: Derby database and error with jdbc:datasources

2014-11-03 Thread Jean-Baptiste Onofré
FYI, the generic or derby datasource type (in jdbc:* commands) may help as well. Regards JB On 11/03/2014 11:30 AM, Charlie Mordant wrote: Hi, You can also start your Derby server via blueprint with a little bit of code/configuration: you have to make a little server starter: https://github.

Re: Derby database and error with jdbc:datasources

2014-11-03 Thread Charlie Mordant
Hi, You can also start your Derby server via blueprint with a little bit of code/configuration: you have to make a little server starter: https://github.com/OsgiliathEnterprise/net.osgiliath.parent/blob/master/net.osgiliath.framework/net.osgiliath.helpers.parent/net.osgiliath.helpers.derby/src/ma

Re: Derby database and error with jdbc:datasources

2014-11-03 Thread Jean-Baptiste Onofré
In that case use the embedded datasource as provided by jdbc:* commands. Regards JB On 11/03/2014 10:37 AM, Jonathan Vila Lopez wrote: Well, I'm new with derby, I have installed the derby bundle and the derbyclient bundle. I don't know how to start derby with the derby bundle installed. My int

Re: Derby database and error with jdbc:datasources

2014-11-03 Thread Jonathan Vila Lopez
Well, I'm new with derby, I have installed the derby bundle and the derbyclient bundle. I don't know how to start derby with the derby bundle installed. My intention is to have a memory database, create the structure from the JPA entities and populate test data every time I start my bundle just to

Re: Derby database and error with jdbc:datasources

2014-11-02 Thread Jean-Baptiste Onofré
I don't understand your configuration. You use a ClientDataSource, to connect to a remote derby server. Do you have a remote derby server started with startNetworkServer -h localhost -p 1527 on the same machine ? Regards JB On 11/02/2014 11:01 PM, Jonathan Vila Lopez wrote: Hello I'm tryin

Re: Derby database and error with jdbc:datasources

2014-11-02 Thread Kevin Schmidt
That error sounds like you don't have Derby running or it isn't running on port 1527. On Sun, Nov 2, 2014 at 2:01 PM, Jonathan Vila Lopez wrote: > Hello > > I'm trying to use Derby database for my bundle, and this bundle has a > blueprint file with the datasource. > > But when I execute : jdbc:d

Derby database and error with jdbc:datasources

2014-11-02 Thread Jonathan Vila Lopez
Hello I'm trying to use Derby database for my bundle, and this bundle has a blueprint file with the datasource. But when I execute : jdbc:datasources it gives an error : Caused by: ERROR 08001: java.net.ConnectException: Error al conectarse al servidor localhost en el puerto 1.527 con el mensaje