2020-11-26 08:32

@JFinal 这个应该是全名,如果想使用匹配的名字,需要做个解析匹配,然后转成全名给数组,传入进去

2020-11-25 11:31

好的,这两天一直在配合测试,刚看到@JFinal

2020-11-21 12:11

@JFinal 不过“ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4”这个形式不行,我只成功了全名的情况

2020-11-21 12:09

@JFinal 试过,这个我增加的代码把字符串变更为list的,本质上是list

2020-11-17 18:19

@JFinal 解决了,可以用!!!

2020-11-17 08:27

@JFinal ciphers和protocol的相关代码已经添加,protocol已经起作用,ciphers的配置内容好像不对,没有起作用。查了一些资料,没有找到undertow关于ciphers的相关配置说明,请问有什么资料可以共享一下么

2020-11-12 09:56

@JFinal 还有一个问题,undertow.ssl.keyPassword,undertow.ssl.keyStorePassword这两个密码不能明文存在配置文件中,是否可以考虑后续增加个加密设置?

2020-11-12 09:52

@JFinal 好的,多谢

2020-10-28 17:07

@JFinal
测试代码如下:
DruidPlugin dp = new DruidPlugin("jdbc:iotdb://127.0.0.1:6667/", "root", "root");
dp.setDriverClass("org.apache.iotdb.jdbc.IoTDBDriver");
ActiveRecordPlugin arp = new ActiveRecordPlugin("iotdb", dp);
arp.getEngine().setSourceFactory(new ClassPathSourceFactory());
arp.setContainerFactory(new CaseInsensitiveContainerFactory());
arp.setDialect(new AnsiSqlDialect());
arp.addSqlTemplate("all.sql");
dp.start();
arp.start();

报错如下:
2020-10-28 16:59:06.115-[Thread: main]
[ERROR]-init datasource error, url: jdbc:iotdb://127.0.0.1:6667/
org.apache.iotdb.jdbc.IoTDBSQLException: 401: meet error while parsing SQL to physical plan: {}line 1:8 mismatched input '' expecting {FROM, ',', '.'}
at org.apache.iotdb.jdbc.IoTDBStatement.executeQuerySQL(IoTDBStatement.java:305) ~[iotdb-jdbc-0.10.1.jar:0.10.1]
at org.apache.iotdb.jdbc.IoTDBStatement.executeQuery(IoTDBStatement.java:279) ~[iotdb-jdbc-0.10.1.jar:0.10.1]
at com.alibaba.druid.pool.DruidAbstractDataSource.validateConnection(DruidAbstractDataSource.java:1421) ~[druid-1.1.23.jar:1.1.23]
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1720) ~[druid-1.1.23.jar:1.1.23]
at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:912) [druid-1.1.23.jar:1.1.23]
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1378) [druid-1.1.23.jar:1.1.23]
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1374) [druid-1.1.23.jar:1.1.23]
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:98) [druid-1.1.23.jar:1.1.23]
at com.jfinal.plugin.activerecord.TableBuilder.build(TableBuilder.java:43) [jfinal-4.9.jar:?]
at com.jfinal.plugin.activerecord.ActiveRecordPlugin.start(ActiveRecordPlugin.java:226) [jfinal-4.9.jar:?]
at testIotDB.main(testIotDB.java:26) [test-classes/:?]

2020-10-28 16:59:06.132-[Thread: main]
[ERROR]-{dataSource-1} init error
org.apache.iotdb.jdbc.IoTDBSQLException: 401: meet error while parsing SQL to physical plan: {}line 1:8 mismatched input '' expecting {FROM, ',', '.'}
at org.apache.iotdb.jdbc.IoTDBStatement.executeQuerySQL(IoTDBStatement.java:305) ~[iotdb-jdbc-0.10.1.jar:0.10.1]
at org.apache.iotdb.jdbc.IoTDBStatement.executeQuery(IoTDBStatement.java:279) ~[iotdb-jdbc-0.10.1.jar:0.10.1]
at com.alibaba.druid.pool.DruidAbstractDataSource.validateConnection(DruidAbstractDataSource.java:1421) ~[druid-1.1.23.jar:1.1.23]
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1720) ~[druid-1.1.23.jar:1.1.23]
at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:912) [druid-1.1.23.jar:1.1.23]
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1378) [druid-1.1.23.jar:1.1.23]
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1374) [druid-1.1.23.jar:1.1.23]
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:98) [druid-1.1.23.jar:1.1.23]
at com.jfinal.plugin.activerecord.TableBuilder.build(TableBuilder.java:43) [jfinal-4.9.jar:?]
at com.jfinal.plugin.activerecord.ActiveRecordPlugin.start(ActiveRecordPlugin.java:226) [jfinal-4.9.jar:?]
at testIotDB.main(testIotDB.java:26) [test-classes/:?]

2020-10-28 16:59:06.135-[Thread: main]
[ERROR]-[main]: org.apache.iotdb.jdbc.IoTDBSQLException: 401: meet error while parsing SQL to physical plan: {}line 1:8 mismatched input '' expecting {FROM, ',', '.'}
com.jfinal.plugin.activerecord.ActiveRecordException: org.apache.iotdb.jdbc.IoTDBSQLException: 401: meet error while parsing SQL to physical plan: {}line 1:8 mismatched input '' expecting {FROM, ',', '.'}
at com.jfinal.plugin.activerecord.TableBuilder.build(TableBuilder.java:55) ~[jfinal-4.9.jar:?]
at com.jfinal.plugin.activerecord.ActiveRecordPlugin.start(ActiveRecordPlugin.java:226) ~[jfinal-4.9.jar:?]
at testIotDB.main(testIotDB.java:26) [test-classes/:?]
Caused by: org.apache.iotdb.jdbc.IoTDBSQLException: 401: meet error while parsing SQL to physical plan: {}line 1:8 mismatched input '' expecting {FROM, ',', '.'}
at org.apache.iotdb.jdbc.IoTDBStatement.executeQuerySQL(IoTDBStatement.java:305) ~[iotdb-jdbc-0.10.1.jar:0.10.1]
at org.apache.iotdb.jdbc.IoTDBStatement.executeQuery(IoTDBStatement.java:279) ~[iotdb-jdbc-0.10.1.jar:0.10.1]
at com.alibaba.druid.pool.DruidAbstractDataSource.validateConnection(DruidAbstractDataSource.java:1421) ~[druid-1.1.23.jar:1.1.23]
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1720) ~[druid-1.1.23.jar:1.1.23]
at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:912) ~[druid-1.1.23.jar:1.1.23]
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1378) ~[druid-1.1.23.jar:1.1.23]
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1374) ~[druid-1.1.23.jar:1.1.23]
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:98) ~[druid-1.1.23.jar:1.1.23]
at com.jfinal.plugin.activerecord.TableBuilder.build(TableBuilder.java:43) ~[jfinal-4.9.jar:?]
... 2 more


跟踪了一下,执行了一些 IotDB 数据库不识别的SQL语法,例如 "select 1" 这个能跳过么?

2020-10-09 15:18

@JFinal 好的