Re: Creating Karaf custom distribution with JDBC data source

2014-11-02 Thread boodoopl
Hi, I've tested both: * With derby-datasoruce bundle: it works fine, but it is against code reusability rule:P The datasource cannot be uninstalled by jdbc:delete command, because the bundle is not inside deploy directory, so there is some exception about that * With jdb-default-selector bundle:

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

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 jonathan.v...@gmail.com wrote: Hello I'm trying to use Derby database for my bundle, and this bundle has a blueprint file with the datasource. But when

[INFO] Karaf download from dists mirror

2014-11-02 Thread Jean-Baptiste Onofré
Hi all, As you may know, since Friday, the Karaf folder is no more available on the dists mirror, preventing the download of the distribution. A workaround is to download the distributions from Maven Central: http://repo.maven.apache.org/maven2/org/apache/karaf/apache-karaf/ During the week

Re: Creating Karaf custom distribution with JDBC data source

2014-11-02 Thread Jean-Baptiste Onofré
Hi, I don't understand your first point: even if the bundle is installed, it doesn't mean the datasource is there. If you remove the blueprint datasource descriptor from the deploy folder, the datasource is removed. The bundle stays there, but it's not a problem. More over, as jdbc:create can

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

Re: [INFO] Karaf download from dists mirror

2014-11-02 Thread Serge Huber
Thanks JB, Glad to know it wasn't just me going crazy at some point I thought I was the only one seeing the issue :) Cheers, Serge Le 3 nov. 2014 à 07:52, Jean-Baptiste Onofré j...@nanthrax.net a écrit : Hi all, As you may know, since Friday, the Karaf folder is no more available on