迁移jsp程序过程中出错:bma.bricks.lang.AssertException: Cache[ipLimitCache] create fail at bma.bricks.lang.ExceptionUtil.assertException(ExceptionUtil.java:21) at bma.bricks.cache.CacheManager.createCache(CacheManager.java:93) at bma.bricks.cache.CacheManager.createCache(CacheManager.java:69) at bma.bricks.iplimit.core.IpLimitCoreDomain.configPhaseControl(IpLimitCoreDomain.java:30) at bma.bricks.module.common.PhaseModuleController.phaseControl(PhaseModuleController.java:31) at bma.bricks.module.ModuleManager.processModulePhase(ModuleManager.java:719) at bma.bricks.module.ModuleManager.start(ModuleManager.java:604) at bma.bricks.module.ModuleManager.start(ModuleManager.java:577) at bma.bricks.module.servlet.ModuleServlet.init(ModuleServlet.java:75) at javax.servlet.GenericServlet403.init(GenericServlet.java:70)
同时迁移过去的有两个站点,另外一个站点可以正常运行,加上服务器原有的二个站点,都可以正常运行,除了新评论系统以外.访问这个站点时,显示403错误,开始的时候怀疑是目录权限问题,修改了目录权限,还是不行.检查配置,mm-config.xml 里面关于IpLimitCoreDomain的配置:
{type:'lru',size:20} 请教开发人员,发现这原来是程序的一个"跟文件在操作系统的存储顺序有关系"的bug造成的,更新了程序目录里WEB-INF/lib的project_comments.jar的包,重新启动resin,故障解决!
更新的内容CREATE TABLE game_platform_model_ref( id int not null auto_increment, platform_id int not null, model_id int not null, primary key(id))ENGINE=InnoDB DEFAULT CHARSET=utf8;
create INDEX game_platform_model_ref_i1 ON game_platform_model_ref(platform_id);
CREATE TABLE game_platform_model_ref( id int not null auto_increment, platform_id int not null, model_id int not null, primary key(id))ENGINE=InnoDB DEFAULT CHARSET=utf8;
create INDEX game_platform_model_ref_i1 ON game_platform_model_ref(platform_id);
没有评论:
发表评论