[亿信BI4.7] 部署新环境报错

2815
11

zuoshengyong 数据老手Lv5

发表于2022-10-12 17:38

悬赏1

未解决

楼主

最近看过此主题的会员

aaqa2131

usery

ESENSOFT官方技术支持

两包辣条约吗

一点一点

伶俐

18754176079

小怪兽

jxchencong

小张同学

11个回答

只看楼主

zuoshengyong 数据老手Lv5

发表于2022-10-12 17:47

只看该作者

取消 关注该作者的回复

沙发

Error creating bean with name 'platform_bulletgroupmgr_factory' defined in file [/opt/apache-tomcat-8.5.82/webapps/BI/WEB-INF/classes/com/esen/platform/notice/BulletinGroupManagerFactory.class]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'platform_bulletmgr_factory' defined in file [/opt/apache-tomcat-8.5.82/webapps/BI/WEB-INF/classes/com/esen/platform/notice/BulletinManagerFactory.class]: Invocation of init method failed; nested exception is com.esen.jdbc.orm.ORMSQLException: 创建表:ES10_BULLETINCREATE TABLE ES10_BULLETIN(ID_ VARCHAR(50) BINARY NOT NULL ,TITLE_ VARCHAR(100) BINARY NOT NULL ,CONTENT_ MEDIUMTEXT NOT NULL ,CONTENTNOSTYLE_ MEDIUMTEXT NOT NULL ,ONTOP_ VARCHAR(1) NOT NULL ,ONTOPTIME_ DATETIME NULL ,ONTOPCHANGETIME_ DATETIME NULL ,PUBTIME_ DATETIME DEFAULT 0 NOT NULL ,PUBLISHER_ VARCHAR(50) BINARY NOT NULL ,GID_ VARCHAR(50) BINARY NULL ,PRIMARY KEY (ID_))出现异常:Invalid default value for 'PUBTIME_'客户端环境:(Other) Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36客户端地址:http://139.196.34.52:8080/BI/esmain/error.do服务器版本:V4.7.1R133-build20180904153258-re964897
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'platform_bulletgroupmgr_factory' defined in file [/opt/apache-tomcat-8.5.82/webapps/BI/WEB-INF/classes/com/esen/platform/notice/BulletinGroupManagerFactory.class]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'platform_bulletmgr_factory' defined in file [/opt/apache-tomcat-8.5.82/webapps/BI/WEB-INF/classes/com/esen/platform/notice/BulletinManagerFactory.class]: Invocation of init method failed; nested exception is com.esen.jdbc.orm.ORMSQLException:
创建表:ES10_BULLETIN

CREATE TABLE ES10_BULLETIN(ID_ VARCHAR(50) BINARY NOT NULL ,TITLE_ VARCHAR(100) BINARY NOT NULL ,CONTENT_ MEDIUMTEXT NOT NULL ,CONTENTNOSTYLE_ MEDIUMTEXT NOT NULL ,ONTOP_ VARCHAR(1) NOT NULL ,ONTOPTIME_ DATETIME NULL ,ONTOPCHANGETIME_ DATETIME NULL ,PUBTIME_ DATETIME DEFAULT 0 NOT NULL ,PUBLISHER_ VARCHAR(50) BINARY NOT NULL ,GID_ VARCHAR(50) BINARY NULL ,PRIMARY KEY (ID_))

出现异常:Invalid default value for 'PUBTIME_'
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1482)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:389)
at com.esen.platform.server.setup.ServerSetupContextLoader.configureAndRefreshWebApplicationContext(ServerSetupContextLoader.java:38)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:294)
at com.esen.platform.server.ServerController.startContextListener(ServerController.java:331)
at com.esen.platform.server.ServerController.restart(ServerController.java:234)
at com.esen.platform.sysmgr.ManagerNode.restartServer(ManagerNode.java:280)
at com.esen.platform.sysmgr.ManagerNode$1.run(ManagerNode.java:295)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'platform_bulletmgr_factory' defined in file [/opt/apache-tomcat-8.5.82/webapps/BI/WEB-INF/classes/com/esen/platform/notice/BulletinManagerFactory.class]: Invocation of init method failed; nested exception is com.esen.jdbc.orm.ORMSQLException:
创建表:ES10_BULLETIN

CREATE TABLE ES10_BULLETIN(ID_ VARCHAR(50) BINARY NOT NULL ,TITLE_ VARCHAR(100) BINARY NOT NULL ,CONTENT_ MEDIUMTEXT NOT NULL ,CONTENTNOSTYLE_ MEDIUMTEXT NOT NULL ,ONTOP_ VARCHAR(1) NOT NULL ,ONTOPTIME_ DATETIME NULL ,ONTOPCHANGETIME_ DATETIME NULL ,PUBTIME_ DATETIME DEFAULT 0 NOT NULL ,PUBLISHER_ VARCHAR(50) BINARY NOT NULL ,GID_ VARCHAR(50) BINARY NULL ,PRIMARY KEY (ID_))

出现异常:Invalid default value for 'PUBTIME_'
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1482)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1121)
at com.esen.platform.server.EsenServer.getBean(EsenServer.java:138)
at com.esen.platform.server.EsenServer.getLifecycleObject(EsenServer.java:192)
at com.esen.platform.server.EsenServer.getBulletinManager(EsenServer.java:506)
at com.esen.platform.notice.impl.BulletinGroupManagerImpl.<init>(BulletinGroupManagerImpl.java:99)
at com.esen.platform.notice.BulletinGroupManagerFactory.init(BulletinGroupManagerFactory.java:38)
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 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1608)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1549)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1479)
... 16 more
Caused by: com.esen.jdbc.orm.ORMSQLException:
创建表:ES10_BULLETIN

CREATE TABLE ES10_BULLETIN(ID_ VARCHAR(50) BINARY NOT NULL ,TITLE_ VARCHAR(100) BINARY NOT NULL ,CONTENT_ MEDIUMTEXT NOT NULL ,CONTENTNOSTYLE_ MEDIUMTEXT NOT NULL ,ONTOP_ VARCHAR(1) NOT NULL ,ONTOPTIME_ DATETIME NULL ,ONTOPCHANGETIME_ DATETIME NULL ,PUBTIME_ DATETIME DEFAULT 0 NOT NULL ,PUBLISHER_ VARCHAR(50) BINARY NOT NULL ,GID_ VARCHAR(50) BINARY NULL ,PRIMARY KEY (ID_))

出现异常:Invalid default value for 'PUBTIME_'
at com.esen.jdbc.orm.helper.EntityAdvFunc.repairTable(EntityAdvFunc.java:57)
at com.esen.jdbc.orm.helper.EntityAdvFunc.repairTable(EntityAdvFunc.java:38)
at com.esen.platform.notice.impl.BulletinManagerImpl.repairTable(BulletinManagerImpl.java:116)
at com.esen.platform.notice.impl.BulletinManagerImpl.<init>(BulletinManagerImpl.java:109)
at com.esen.platform.notice.BulletinManagerFactory.init(BulletinManagerFactory.java:38)
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 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1608)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1549)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1479)
... 35 more     

zuoshengyong 数据老手Lv5

发表于2022-10-12 17:47

只看该作者

取消 关注该作者的回复

板凳

zuoshengyong 发表于 2022-10-12 17:47
Error creating bean with name 'platform_bulletgroupmgr_factory' defined in file [/opt/apache-tomcat- ...

这个是详情

两包辣条约吗 数据达人Lv4

发表于2022-10-13 11:40

只看该作者

取消 关注该作者的回复

地板

您可以参考一下帖子试试
https://bbs.esensoft.com/thread-138351-1-1.html
https://bbs.esensoft.com/thread-131010-1-1.html

zuoshengyong 数据老手Lv5

发表于2022-10-13 14:17

只看该作者

取消 关注该作者的回复

5#

两包辣条约吗 发表于 2022-10-13 11:40
您可以参考一下帖子试试
https://bbs.esensoft.com/thread-138351-1-1.html
https://bbs.esensoft.com/thre ...

好的,我看下

zuoshengyong 数据老手Lv5

发表于2022-10-14 11:18

只看该作者

取消 关注该作者的回复

6#

两包辣条约吗 发表于 2022-10-13 11:40
您可以参考一下帖子试试
https://bbs.esensoft.com/thread-138351-1-1.html
https://bbs.esensoft.com/thre ...

按照帖子改了数据库之后又出现别的错误了

zuoshengyong 数据老手Lv5

发表于2022-10-14 11:54

只看该作者

取消 关注该作者的回复

7#

两包辣条约吗 发表于 2022-10-13 11:40
您可以参考一下帖子试试
https://bbs.esensoft.com/thread-138351-1-1.html
https://bbs.esensoft.com/thre ...

mysql8.0有影响吗 这个用的好像不是5.7

两包辣条约吗 数据达人Lv4

发表于2022-10-14 13:39

只看该作者

取消 关注该作者的回复

8#

zuoshengyong 发表于 2022-10-14 11:54
mysql8.0有影响吗 这个用的好像不是5.7



BI47没有和mysql8做过兼容性测试,建议您使用Mysql5.5

zuoshengyong 数据老手Lv5

发表于2022-10-17 10:50

只看该作者

取消 关注该作者的回复

9#

两包辣条约吗 发表于 2022-10-14 13:39
BI47没有和mysql8做过兼容性测试,建议您使用Mysql5.5

更换mysql license要重新申请把,怎么把这些数据清空

zuoshengyong 数据老手Lv5

发表于2022-10-17 10:53

只看该作者

取消 关注该作者的回复

10#

zuoshengyong 发表于 2022-10-17 10:50
更换mysql license要重新申请把,怎么把这些数据清空

就是现在这个页面如何回退到申请license的页面,在不重新配置环境的情况下

两包辣条约吗 数据达人Lv4

发表于2022-11-22 15:21

只看该作者

取消 关注该作者的回复

11#

zuoshengyong 发表于 2022-10-17 10:53
就是现在这个页面如何回退到申请license的页面,在不重新配置环境的情况下 ...

不同版本的注册页面地址不一样,不太方便查到。

您可以把conf里面的esen-lisense.xml重命名

上一页12下一页共2页

登录后可回答问题,请登录注册

快速回复 返回顶部 返回列表

小时

全天响应

分钟

快速处理问题

工程师强势助力

明星产品
解决方案
联系合作

400咨询:400-0011-866

技术支持QQ:400-0011-866(工作日9:00-18:00)

产品建议邮箱yixin@esensoft.com

关注我们

扫TA学习更多干货

一对一专家交流

版权所有© 2006-2024 北京亿信华辰软件有限责任公司 京ICP备07017321号 京公网安备11010802016281号