JDBC drivers as OSGi bundles

2013-07-02 Thread Christopher BROWN
Hello, What is the best strategy for integrating JDBC drivers, such as MySQL, jTDS, and others that can start background threads or timers, so that these can be correctly stopped when the bundle is unloaded? Obviously, the ideal case would be to contact the vendor and have them implement a bundle

Re: JDBC drivers as OSGi bundles

2013-07-02 Thread Holger Hoffstätte
On 02.07.2013 10:36, Christopher BROWN wrote: > What is the best strategy for integrating JDBC drivers, such as MySQL, > jTDS, and others that can start background threads or timers, so that these > can be correctly stopped when the bundle is unloaded? Implementing the JDBC Service bits? See Enter

Re: ... clause causes java.lang.Exception

2013-07-02 Thread Roland
Hi, You are absolutely right. My fault - Sry. I quote my changed post... Roland wrote > Hi all! > I have a problem with my auto-generated OBR-file (by maven-obr-plugin). > The following require-directive causes an java.lang.Exception: > filter="(&(package=org.apache.felix.service.command)(versi

Re: ... clause causes java.lang.Exception

2013-07-02 Thread Neil Bartlett
The following is not a valid LDAP filter clause (NB I have translated the XML escape sequence): (mandatory:<*status) Regards Neil On Tue, Jul 2, 2013 at 10:19 AM, Roland wrote: > Hi, > You are absolutely right. My fault - Sry. > > I quote my changed post... > > > Roland wrote >> Hi all! >>

Re: bundlecontext.getBundles() returns Array with a null-Object

2013-07-02 Thread Roland
Hello Felix-Users, My question why the RepositoryAdmin can deploy *null* is still open. I think that the method Resolver.deploy() should throw a Exception if the OBR-file is out of sync. with the Repository. The error occurs if and only if at least one bundle is missing in the Repository which is

Re: JDBC drivers as OSGi bundles

2013-07-02 Thread Cristiano Gavião
Using the JDBC service specification. Check this project: http://www.eclipse.org/gemini/dbaccess/ regards, Cristiano On 02/07/13 05:36, Christopher BROWN wrote: Hello, What is the best strategy for integrating JDBC drivers, such as MySQL, jTDS, and others that can start background threads or