karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Carr <kscar...@gmail.com>
Subject Re: JTDS Data Source Example
Date Sun, 02 Jul 2017 20:50:20 GMT
I use an OsgiDatabase project that uses a cfg file to setup the databases.

It is under my GitHub kscarr73.

It uses fragments to attach many popular jdbc connections.

On Jul 2, 2017 3:22 PM, "smunro" <stephen.ross.munro@gmail.com> wrote:

As addendum, I currently have the following feature file:

<?xml version="1.0" encoding="UTF-8"?>
<features xmlns="http://karaf.apache.org/xmlns/features/v1.0.0"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.0.0
http://karaf.apache.org/xmlns/features/v1.0.0">


<repository>mvn:org.apache.activemq/activemq-karaf/5.14.
5/xml/features</repository>

<repository>mvn:org.apache.cxf.karaf/apache-cxf/3.1.11/
xml/features</repository>

<repository>mvn:org.ops4j.pax.jdbc/pax-jdbc-features/0.9.0/
xml/features</repository>

    <feature name="sgs-ui-features" version="${pom.version}">
            <configfile finalname="etc/activemq.xml"
override="true">mvn:org.desolatei/ui-features/${pom.version}/xml/activemq</
configfile>
            <configfile finalname="etc/org.apache.cxf.osgi.cfg"
override="true">mvn:org.desolate/ui-features/${pom.
version}/cfg/cxf</configfile>
            <feature>cxf-jaxrs</feature>
            <feature>http</feature>
            <feature>war</feature>
            <feature>jms</feature>
            <feature>jndi</feature>
            <feature>jdbc</feature>
            <feature>pax-jdbc-h2</feature>
            <feature>pax-jdbc-pool-dbcp2</feature>
            <feature>pax-jdbc-config</feature>
            <feature>pax-jdbc-jtds</feature>
            <feature>activemq-broker</feature>
            <feature>activemq-client</feature>
    </feature>
</features>




--
View this message in context: http://karaf.922171.n3.nabble.
com/JTDS-Data-Source-Example-tp4050905p4050906.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Mime
View raw message