麦粉社区
>
帖子详情

ERROR activate(smartbi.framework.Framework:220) - 创建知识库连接失败...

安装指导 发表于 2022-3-15 18:51
发表于 2022-3-15 18:51:43

ERROR activate(smartbi.framework.Framework:220) - 创建知识库连接失败,请联系管理员

smartbi.SmartbiException: 创建知识库连接失败,请联系管理员

启动报错

发表于 2022-3-15 18:55:02
这个看不出什么问题呢,把完整日志传上来呢~
https://wiki.smartbi.com.cn/pages/viewpage.action?pageId=58097786
回复

使用道具 举报

发表于 2022-3-15 19:23:23

 


03-15 18:54:04 ERROR activate(smartbi.framework.Framework:220) - 创建知识库连接失败,请联系管理员


smartbi.SmartbiException: 创建知识库连接失败,请联系管理员


        at smartbi.repository.RepositoryUpgradeHelper.upgradeRepository(RepositoryUpgradeHelper.java:174) ~[smartbi-DAO.jar:?]


        at ...(...) ~[?:?]


        at smartbi.repository.RepositoryUpgradeHelper.upgradeRepository(RepositoryUpgradeHelper.java:172) ~[smartbi-DAO.jar:?]


Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.


        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_202-ea]


        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_202-ea]


        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_202-ea]


        at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_202-ea]


        at com.mysql.jdbc.Util.handleNewInstance(Util.java:425) ~[_JDBC_mysql-connector-java-5.1.48.jar:5.1.48]


        at com.mysql.jdbc.Util.getInstance(Util.java:408) ~[_JDBC_mysql-connector-java-5.1.48.jar:5.1.48]


        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919) ~[_JDBC_mysql-connector-java-5.1.48.jar:5.1.48]


        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898) ~[_JDBC_mysql-connector-java-5.1.48.jar:5.1.48]


        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887) ~[_JDBC_mysql-connector-java-5.1.48.jar:5.1.48]


        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861) ~[_JDBC_mysql-connector-java-5.1.48.jar:5.1.48]


        at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2095) ~[_JDBC_mysql-connector-java-5.1.48.jar:5.1.48]


        at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2020) ~[_JDBC_mysql-connector-java-5.1.48.jar:5.1.48]


        at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:768) ~[_JDBC_mysql-connector-java-5.1.48.jar:5.1.48]


        at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47) ~[_JDBC_mysql-connector-java-5.1.48.jar:5.1.48]


        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_202-ea]


        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_202-ea]


        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_202-ea]


        at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_202-ea]


        at com.mysql.jdbc.Util.handleNewInstance(Util.java:425) ~[_JDBC_mysql-connector-java-5.1.48.jar:5.1.48]


        at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:385) ~[_JDBC_mysql-connector-java-5.1.48.jar:5.1.48]


        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:323) ~[_JDBC_mysql-connector-java-5.1.48.jar:5.1.48]


        at smartbi.repository.RepositoryUpgradeHelper.upgradeRepository(RepositoryUpgradeHelper.java:172) ~[smartbi-DAO.jar:?]


        at smartbi.repository.DAOModule.postActivate(DAOModule.java:243) ~[smartbi-DAO.jar:?]


        at smartbi.framework.Framework.activate(Smartbi:198) [smartbi-Framework.jar:?]


        at smartbi.extension.spring.SmartbiContextLoaderListener.contextInitialized(SmartbiContextLoaderListener.java:172) [smartbi-ExtensionManager.jar:?]


        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4763) [catalina.jar:8.5.76]


        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5232) [catalina.jar:8.5.76]


        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:8.5.76]


        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753) [catalina.jar:8.5.76]


        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:727) [catalina.jar:8.5.76]


        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695) [catalina.jar:8.5.76]


        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1177) [catalina.jar:8.5.76]


        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1925) [catalina.jar:8.5.76]


        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_202-ea]


        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_202-ea]


        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_202-ea]


        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_202-ea]


        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_202-ea]


Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure


 


The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

  •   茶语
    caused by: Communications link failure,这个参考 https://wiki.smartbi.com.cn/pages/viewpage.action?pageId=76677652 中示例1中提供步骤依次排查一下
    2022-3-16 09:17| 回复

回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

3回帖数 0关注人数 1291浏览人数
最后回复于:2022-3-15 19:23
快速回复 返回顶部 返回列表