-
Notifications
You must be signed in to change notification settings - Fork 4.9k
If the return value of JDBC Driver with Druid exceeds a certain number, an error will be reported #1477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Same as #1307 |
是在/etc/taos/taos.cfg 中文件sockettype 改成 tcp吗? A fatal error has been detected by the Java Runtime Environment:EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000007fec0f30191, pid=152692, tid=0x0000000000037c80JRE version: Java(TM) SE Runtime Environment (8.0_191-b12) (build 1.8.0_191-b12)Java VM: Java HotSpot(TM) 64-Bit Server VM (25.191-b12 mixed mode windows-amd64 compressed oops)Problematic frame:C [taos.dll+0xf0191]Failed to write core dump. Minidumps are not enabled by default on client versions of Windows看样子是taos.dll 的问题,是我修改错了地方吗? |
This problem will be finally solved by TDengine 2.0 , which will be available very soon. |
The "invalid resultset pointer" exception is most likely caused by an unexpected release of the result set pointer at TDengine server side (taosd). Here is how the whole process works. To avoid the server timeout, try increasing the timeout threshold to a larger value, e.g. 20 seconds by modifying the parameter named "shellActivityTimer" in taosd's configuration file. Add the line below in TDengine's configuration file, which by default is at |
我遇到了相同的问题,LZ解决了吗? |
把tdengine和taos-jdbcdriver更新到最新版本,这个问题在新版本中不在出现了。我们检查了多线程操作结果集的逻辑,现在可以规避这个问题了。 |
版本 1.6.5.5
同一个查询接口,SQL语句在命令行中均可以执行。
JDBC在小数据量时不报错,大数据量报错,报错信息如下:
出现在我对结果集遍历的时候
java.sql.SQLException: TDengine Error: invalid resultset pointer!
at com.taosdata.jdbc.TSDBResultSet.next(TSDBResultSet.java:129)
at com.alibaba.druid.filter.FilterChainImpl.resultSet_next(FilterChainImpl.java:917)
at com.alibaba.druid.filter.FilterAdapter.resultSet_next(FilterAdapter.java:1918)
at com.alibaba.druid.filter.FilterChainImpl.resultSet_next(FilterChainImpl.java:913)
at com.alibaba.druid.proxy.jdbc.ResultSetProxyImpl.next(ResultSetProxyImpl.java:882)
at com.alibaba.druid.pool.DruidPooledResultSet.next(DruidPooledResultSet.java:69)
at com.jysoft.server.Test.executeSql(Test.java:166)
The text was updated successfully, but these errors were encountered: