主题 : jeecms2.4.2安装到linux下,使用utf-8编码错误
级别: 白丁
UID: 10547
积分:3 加为好友
威望: 0 精华: 0
主题:0 回复:3
注册时间:2010-09-02
在线时长:0
1#   发表于:2010-11-29 17:31:08  IP:121.222.*.*
jeecms2.4.2安装到linux下,linux使用utf-8编码,没有使用安装程序,在window下安装好以后,迁移到centos5.4上面,数据库mysql utf-8编码。

type Exception report

message 

description The server encountered an internal error () that prevented it from fulfilling this request.

exception 

Infinite recursion detected: [/jeedynamic/cms/index!execute, /jeedynamic/cms/Page, /jeedynamic/cms/Page] - [unknown location]
com.opensymphony.xwork2.ActionChainResult.execute(ActionChainResult.java:203)
com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:361)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:265)
com.jeecms.common.struts2.interceptor.UrlInterceptor.doIntercept(Unknown Source)
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
com.jeecms.core.web.CookieIdentityInterceptor.doIntercept(Unknown Source)
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
com.jeecms.common.struts2.interceptor.DomainNameInterceptor.doIntercept(Unknown Source)
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
com.jeecms.common.struts2.interceptor.ProcessingStartInterceptor.intercept(Unknown Source)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)
com.opensymphony.xwork2.ActionChainResult.execute(ActionChainResult.java:222)
com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:361)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:265)
com.jeecms.common.struts2.interceptor.UrlInterceptor.doIntercept(Unknown Source)
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
com.jeecms.core.web.CookieIdentityInterceptor.doIntercept(Unknown Source)
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
com.jeecms.common.struts2.interceptor.DomainNameInterceptor.doIntercept(Unknown Source)
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
com.jeecms.common.struts2.interceptor.ProcessingStartInterceptor.intercept(Unknown Source)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:532)
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:395)
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)


note The full stack trace of the root cause is available in the Apache Tomcat/6.0.29 logs.

希望可以解决
级别: 童生
UID: 10739
积分:3 加为好友
威望: 0 精华: 0
主题:0 回复:3
注册时间:2010-09-08
在线时长:0
2#   发表于:2010-11-30 08:44:54  IP:115.249.*.*
您好,2.4.2版本使用的是GBK编码,所以会报错。您可以使用最新的3.0。3.0使用的是utf-8编码格式
级别: 白丁
UID: 10547
积分:3 加为好友
威望: 0 精华: 0
主题:0 回复:3
注册时间:2010-09-02
在线时长:0
3#   发表于:2010-12-01 09:26:55  IP:121.222.*.*
那怎样才能支持在 centos 下的 utf-8?还有,修改源代码的编码的工作量大吗?
级别: 童生
UID: 10739
积分:3 加为好友
威望: 0 精华: 0
主题:0 回复:3
注册时间:2010-09-08
在线时长:0
4#   发表于:2010-12-01 09:39:29  IP:59.138.*.*
您可以自己尝试一下使用转换编码格式的工具转换一下。
1 共1页