主题 : jeecms v5 升级到v6,启动失败
级别: 童生
UID: 60177
积分:18 加为好友
威望: 1 精华: 0
主题:1 回复:21
注册时间:2014-04-05
在线时长:0
1#   发表于:2015-05-11 15:49:03  IP:211.212.*.*
按照文档操作步骤如下:
1.备份v5相关目录
2.将v6压缩包中ROOT目录,覆盖到v5的ROOT目录
3.将v5备份的目录覆盖到V6相关目录
4.修改v6数据库配置文件,指向v5的数据库
4.启动tomcat提示错误
信息: Deploying web application directory ROOT
2015-5-11 14:47:58 org.apache.catalina.core.StandardContext start
严重: Error listenerStart
2015-5-11 14:47:58 org.apache.catalina.core.StandardContext start
严重: Context [] startup failed due to previous errors
2015-5-11 14:47:58 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2015-5-11 14:47:58 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak.
2015-5-11 14:47:58 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] but has failed to stop it. This is very likely to create a memory leak.
2015-5-11 14:47:58 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] but has failed to stop it. This is very likely to create a memory leak.
2015-5-11 14:47:58 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] but has failed to stop it. This is very likely to create a memory leak.
2015-5-11 14:47:58 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [] appears to have started a thread named [MySQL Statement Cancellation Timer] but has failed to stop it. This is very likely to create a memory leak.
2015-5-11 14:47:59 org.apache.coyote.http11.Http11Protocol start
级别: 版主
UID: 70293
积分:78391 加为好友
威望: 1 精华: 0
主题:7 回复:68397
注册时间:2014-12-03
在线时长:0
2#   发表于:2015-05-11 15:50:17  IP:117.153.*.*
这个是tomcat配置的问题
http://xpenxpen.iteye.com/blog/1545648
1
级别: 童生
UID: 60177
积分:18 加为好友
威望: 1 精华: 0
主题:1 回复:21
注册时间:2014-04-05
在线时长:0
3#   发表于:2015-05-12 10:51:55  IP:211.212.*.*
十分感谢,按照上述tomcat log配置,重启服务,得到如下提示,请协助解决:
注意:v5升级到v6,使用的是v5的数据库,如果连接v6数据库,无报错
2015-5-12 9:52:48 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shiroFilter' defined in ServletContext resource [/WEB-INF/config/shiro-context.xml]: Cannot resolve reference to bean 'securityManager' while setting bean property 'securityManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityManager' defined in ServletContext resource [/WEB-INF/config/shiro-context.xml]: Cannot resolve reference to bean 'authorizingRealm' while setting bean property 'realm'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authorizingRealm' defined in ServletContext resource [/WEB-INF/config/shiro-context.xml]: Cannot resolve reference to bean 'cmsUserMng' while setting bean property 'cmsUserMng'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cmsUserMng': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.jeecms.cms.manager.main.ContentMng com.jeecms.core.manager.impl.CmsUserMngImpl.contentMng; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentMng': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.jeecms.cms.manager.main.ContentDocMng com.jeecms.cms.manager.main.impl.ContentMngImpl.contentDocMng; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentDocMng': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.jeecms.common.office.OpenOfficeConverter com.jeecms.cms.manager.main.impl.ContentDocMngImpl.openOfficeConverter; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'openOfficeConverter' defined in ServletContext resource [/WEB-INF/config/jeecms/jeecms-context.xml]: Invocation of init method failed; nested exception is org.hibernate.exception.SQLGrammarException: could not load an entity: [com.jeecms.core.entity.CmsConfig#1]
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:326)
级别: 版主
UID: 70293
积分:78391 加为好友
威望: 1 精华: 0
主题:7 回复:68397
注册时间:2014-12-03
在线时长:0
4#   发表于:2015-05-12 10:53:03  IP:182.235.*.*
那肯定的,v5和v6的数据库结构不一样的,v6只能用v6的数据库
1
级别: 童生
UID: 60177
积分:18 加为好友
威望: 1 精华: 0
主题:1 回复:21
注册时间:2014-04-05
在线时长:0
5#   发表于:2015-05-12 11:03:03  IP:211.212.*.*
v5发布的文章怎么移植到v6吗?
级别: 版主
UID: 70293
积分:78391 加为好友
威望: 1 精华: 0
主题:7 回复:68397
注册时间:2014-12-03
在线时长:0
6#   发表于:2015-05-12 11:04:03  IP:182.235.*.*
可以采集过去
http://www.jeecms.com/jinlei/445.htm
1
级别: 童生
UID: 60177
积分:18 加为好友
威望: 1 精华: 0
主题:1 回复:21
注册时间:2014-04-05
在线时长:0
7#   发表于:2015-05-12 11:07:55  IP:211.212.*.*
也就是说,直接安装v6,把v5的数据采集出来,然后把备份的文件复制过去,就完成迁移了,是吗?
级别: 版主
UID: 70293
积分:78391 加为好友
威望: 1 精华: 0
主题:7 回复:68397
注册时间:2014-12-03
在线时长:0
8#   发表于:2015-05-12 11:08:45  IP:182.235.*.*
数据迁移过去就行了,采集只是迁移的一种方法
1
级别: 童生
UID: 60177
积分:18 加为好友
威望: 1 精华: 0
主题:1 回复:21
注册时间:2014-04-05
在线时长:0
9#   发表于:2015-05-12 11:16:01  IP:211.212.*.*
v5到v6,还要其他迁移方式吗?
我刚才用采集v5的网页,我的模板不能用,怎么办?
级别: 版主
UID: 70293
积分:78391 加为好友
威望: 1 精华: 0
主题:7 回复:68397
注册时间:2014-12-03
在线时长:0
10#   发表于:2015-05-12 11:16:56  IP:182.235.*.*
没有了,或者你手动复制粘贴过去。
1
1 2 > >| 共2页