Apache Karaf Container 4.x - Documentationavailable datasource factories, with the available driver. For instance, once you installed the jdbc feature, you can install pax-jdbc-postgresql feature, providing the PostgreSQL datasource factory: database you want to connect: jdbc:ds-create The jdbc:ds-create command automatically creates a datasource definition file by leveraging pax-jdbc. The jdbc:ds-create command requires either: • the --driverName argument is required. It’s the name of the datasource. The name is used to identify the datasource, and to create the datasource definition file ( deploy/datasource- [name].xml ). • the -u option is optional0 码力 | 370 页 | 1.03 MB | 1 年前3
Apache Karaf Decanter 2.x - Documentation# DataSource to use dataSource.target=(osgi.jndi.service.name=jdbc/decanter) # SQL Query to retrieve data query=select * from TABLE This configuration file allows you to configure the datasource to and the SQL query to perform: • the datasource.name property contains the name of the JDBC datasource to use to connect to the database. You can create this datasource using the Karaf jdbc:create command Decanter JDBC Appender Configuration ####################################### # Name of the JDBC datasource datasource.name=jdbc/decanter # Name of the table storing the collected data table.name=decanter #0 码力 | 64 页 | 812.01 KB | 1 年前3
Apache Karaf 3.0.5 Guidesand role retrieval are configurable using the following parameters. Name Description datasource The datasource as on OSGi ldap filter or as JDNI name query.password The SQL query that retries the password className="org.apache.karaf.jaas.modules.jdbc.JDBCLoginModule" flags="required"> datasource = osgi:javax.sql.DataSource/(osgi.jndi.service.name=jdbc/karafdb) query.password = SELECT PASSWORD FROM USERS className="org.apache.karaf.jaas.modules.jdbc.JDBCLoginModule" flags="required"> datasource = jndi:aries:services/ javax.sql.DataSource/(osgi.jndi.service.name=jdbc/karafdb) query.password = SELECT PASSWORD FROM0 码力 | 203 页 | 534.36 KB | 1 年前3
Apache Karaf Decanter 1.x - Documentationconnection to the database: • the datasource.name property contains the name of the JDBC datasource to use to connect to the database. You can create this datasource using the Karaf jdbc:create command Decanter JDBC Appender Configuration ####################################### # Name of the JDBC datasource datasource.name=jdbc/decanter # Name of the table storing the collected data table.name=decanter #0 码力 | 67 页 | 213.16 KB | 1 年前3
共 4 条
- 1













