ClickHouse数据连接问题感谢  11.0

问题11111111111111.png

FineReport 1945000388 发布于 2024-6-11 10:20 (编辑于 2024-6-11 10:21)
1min目标场景问卷 立即参与
回答问题
悬赏:3 F币 + 添加悬赏
提示:增加悬赏、完善问题、追问等操作,可使您的问题被置顶,并向所有关注者发送通知
共3回答
最佳回答
0
Z4u3z1Lv6专家互助
发布于2024-6-11 10:22

没找到驱动啊,如果装了驱动请重启一下试试

  • 1945000388 1945000388(提问者) 重启了,也不好使
    2024-06-11 10:38 
  • Z4u3z1 Z4u3z1 回复 1945000388(提问者) 那驱动位置和版本放对么?
    2024-06-11 10:38 
最佳回答
0
snrtuemcLv8专家互助
发布于2024-6-11 10:30

[平台]ClickHouse数据连接 https://help.fanruan.com/finereport/doc-view-4122.html

下载驱动

image.png

然后拷贝到

webapps\webroot\WEB-INF\lib

目录下,重启设计器就可以

  • 1945000388 1945000388(提问者) 下载的就是这个驱动包
    2024-06-11 10:38 
  • snrtuemc snrtuemc 回复 1945000388(提问者) 驱动包上传方式,不要用上传方式,直接拷贝到我讲的webapps\webroot\WEB-INF\lib目录下,重启服务器,按正常方式连接,但是不排除你的ClickHouse版本和这个jar包不匹配
    2024-06-11 10:47 
  • 1945000388 1945000388(提问者) 回复 snrtuemc 好的,我试一下
    2024-06-11 10:50 
  • 1945000388 1945000388(提问者) 回复 snrtuemc 当前驱动加载路径:/data/apache-tomcat-8.5.40/webapps/webroot/WEB-INF/lib/clickhouse-jdbc-0.2.4.jar 检测驱动 com.fr.third.alibaba.druid.pool.GetConnectionTimeoutException: wait millis 10000, active 0, maxActive 50, creating 1, createElapseMillis 10000 at com.fr.third.alibaba.druid.pool.DruidDataSource.getConnectionInternal(DruidDataSource.java:1839) at com.fr.third.alibaba.druid.pool.DruidDataSource.getConnectionDirect(DruidDataSource.java:1483) at com.fr.third.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1463) at com.fr.third.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1452) at com.fr.third.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:100) at com.fr.stable.pool.DataSourceAdapter.getConnection(DataSourceAdapter.java:60) at com.fr.stable.pool.DataSourceAdapterInvertWrapper.getConnection(DataSourceAdapterInvertWrapper.java:168) at com.fr.cbb.dialect.datasource.pool.DataSourceWrapper.getConnection(DataSourceWrapper.java:279) at com.fr.cbb.dialect.datasource.pool.MemoryConnection.create(MemoryConnection.java:187) at com.fr.cbb.dialect.datasource.DataSourceFactory.getConnection(DataSourceFactory.java:71) at com.fr.data.pool.MemoryConnection.create(MemoryConnection.java:126) at com.fr.data.auth.Authentication.authenticate(Authentication.java:50) at com.fr.data.auth.normal.NormalAuthentication.authenticate(NormalAuthentication.java:50) at com.fr.data.impl.JDBCDatabaseConnection.createConnectionBySelfProperties(JDBCDatabaseConnection.java:383) at com.fr.data.impl.JDBCDatabaseConnection.testConnection(JDBCDatabaseConnection.java:352) at com.fr.decision.webservice.v10.datasource.connection.processor.impl.JDBCConnectionProcessor.testConnection(JDBCConnectionProcessor.java:226) at com.fr.decision.webservice.v10.datasource.connection.processor.impl.ConnectionProcessorFactory.testConnectionWithSchemaReturn(ConnectionProcessorFactory.java:67) at com.fr.decision.webservice.v10.datasource.connection.ConnectionService.testConnection(ConnectionService.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.fr.decision.config.ConfigInterceptor.intercept(ConfigInterceptor.java:34) at com.fr.decision.webservice.v10.datasource.connection.ConnectionService$$EnhancerByCGLIB$$a4fd73f2.testConnection(<generated>) at com.fr.web.controller.decision.api.config.ConnectionsResource.testConnectionData(ConnectionsResource.java:184) at com.fr.web.controller.decision.api.config.ConnectionsResource$$FastClassBySpringCGLIB$$ebdd6e1a.invoke(<generated>) at com.fr.third.net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:205) at com.fr.third.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737) at com.fr.third.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at com.fr.third.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:56) at com.fr.third.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168) at com.fr.third.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) at com.fr.third.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at com.fr.third.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672) at com.fr.web.controller.decision.api.config.ConnectionsResource$$EnhancerBySpringCGLIB$$49937e34.testConnectionData(<generated>) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.fr.third.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) at com.fr.third.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133) at com.fr.third.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97) at com.fr.third.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:854) at com.fr.third.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:765) at com.fr.third.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85) at com.fr.third.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967) at com.fr.third.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901) at com.fr.third.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970) at com.fr.third.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872) at javax.servlet.http.HttpServlet.service(HttpServlet.java:661) at com.fr.third.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846) at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.fr.decision.webservice.BackupActivator$1.doFilter(BackupActivator.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.fr.decision.webservice.filter.TenantFilter.doFilter(TenantFilter.java:55) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.fr.decision.base.DecisionServletInitializer$6.doFilterInternal(DecisionServletInitializer.java:269) at com.fr.third.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.fr.decision.base.VirtualFilterChain.doFilter(VirtualFilterChain.java:34) at com.fr.decision.base.DecisionServletInitializer$4.doFilter(DecisionServletInitializer.java:201) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.fr.decision.webservice.filter.EncryptionLevelFilterSupport.doFilterInternal(EncryptionLevelFilterSupport.java:39) at com.fr.decision.webservice.filter.EncryptionLevelFilter.doFilterInternal(EncryptionLevelFilter.java:29) at com.fr.third.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.fr.plugin.system.operation.ops.filter.OpsIgnoreFilter$VirtualFilterChain.doFilter(Unknown Source) at com.fr.plugin.system.operation.ops.filter.impl.OpsFilter.doFilter(Unknown Source) at com.fr.plugin.system.operation.ops.filter.OpsIgnoreFilter$VirtualFilterChain.doFilter(Unknown Source) at com.fr.plugin.system.operation.ops.filter.OpsIgnoreFilter.doFilter(Unknown Source) at com.fr.decision.base.DecisionServletInitializer$5.doFilter(DecisionServletInitializer.java:230) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.fr.decision.webservice.filter.SecurityRefererFilter.doFilter(SecurityRefererFilter.java:66) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.fr.decision.webservice.filter.URICheckFilter.doFilterInternal(URICheckFilter.java:39) at com.fr.third.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.fr.decision.webservice.filter.CookieCheckFilter.doFilterInternal(CookieCheckFilter.java:37) at com.fr.third.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.fr.third.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197) at com.fr.third.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:660) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:798) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:808) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:748)
    2024-06-11 14:19 
  • snrtuemc snrtuemc 回复 1945000388(提问者) 看这个错误,应该是驱动版本和数据库版本不匹配
    2024-06-11 14:21 
最佳回答
0
等待1986Lv2见习互助
发布于2024-6-11 10:36

驱动问题,换下驱动试试

  • 3关注人数
  • 410浏览人数
  • 最后回答于:2024-6-11 10:36
    请选择关闭问题的原因
    确定 取消
    返回顶部