似乎commit b1eb2c4cd057624312e0412f6c4be000f7fc3617
gatttool已被弃用,但我无法找到任何替代gattool的信息.
每个Python蓝牙LE包都在gatttool上进行了中继,现在我的ArchLinux系统坏了,因为bluez包没有用--enabled-deprecatedflag 构建(这将构建gatttool二进制).
pygatt只是在我的系统上打破并且bluepy没有构建,因为他们自己(在我的系统坏了)上运行bluez代码来构建gatttool.
无论如何我想在任何替换的gatttool周围写一个新包装但我无法找到关于这个主题的任何信息.
那么我可以使用bluez堆栈中的哪个工具编写新的Python蓝牙LE包装器?
在 JBOSS7 中安装 MariaDB Java 连接器
我在使用 MariaDB 在 JBOSS7 上部署 EJBCA 6 时遇到问题。我已将 EJBCA 配置为独立使用 JBOSS。我的配置在使用默认 H2 数据库后端时有效。我已经在 JBOSSstandalone.xml 中配置了 mariadb Java 连接器
<datasources>
<datasource jndi-name="java:jboss/datasources/ExampleDS" pool-name="ExampleDS" enabled="true" use-java-context="true">
<connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1</connection-url>
<driver>h2</driver>
<security>
<user-name>sa</user-name>
<password>sa</password>
</security>
</datasource>
<drivers>
<driver name="h2" module="com.h2database.h2">
<xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>
</driver>
<driver name="mariadb" module="org.mariadb.jdbc">
<xa-datasource-class>org.mariadb.jdbc.MySQLDataSource</xa-datasource-class>
</driver>
</drivers>
<datasource jndi-name="java:/MariaDS" pool-name="MariaDS" enabled="false">
<connection-url>jdbc:mariadb://localhost:3306/ejbca</connection-url>
<driver>mariadb</driver>
<transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
<pool>
<min-pool-size>100</min-pool-size>
<max-pool-size>200</max-pool-size>
</pool>
<security>
<user-name>sa</user-name>
<password>sa</password>
</security>
<statement>
<prepared-statement-cache-size>100</prepared-statement-cache-size>
<share-prepared-statements/>
</statement>
</datasource>
</datasources>
Run Code Online (Sandbox Code Playgroud)
我已将 MariaDB Java 连接器复制到 JBOSS_HOME/modules/org/mariadb/jdbc/main/mariadb-java-client-1.1.5.jar 并配置 module.xml,如下所示:
<?xml version="1.0" encoding="UTF-8"?> …Run Code Online (Sandbox Code Playgroud)