BOS工具-解决方案起的服务常见问题总结
# 1. 启动服务后进web页面后立即报错500
- ## 页面相同日志
```xml
org.springframework.webflow.execution.FlowExecutionException: Exception thrown in state 'viewLoginForm' of flow 'login-webflow'
at org.springframework.webflow.engine.impl.FlowExecutionImpl.wrap(FlowExecutionImpl.java:571)
```
- ## 造成这个问题的原因很多,根据服务端报错日志不同,解决方案也不同
- ## 定位具体服务端报错日志的方法
BOS工具重启服务端,第一次打开页面,页面报错,然后回到BOS工具,查看控制台服务端日志,往上翻阅至报错最开始位置,复制整个报错信息;
## 1. 错误日志一
```xml
2022-05-30 09:00:00 信息 [con.out] [2022-05-30 09:00:00,738 ERROR at com.kingdee.eas.base.license.file.regist.embeddb.DerbyDB.o0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000super(?:?)]
java.sql.SQLException: Failed to start database 'XX\XX\xx/server/properties/license/consoledb', see the next exception for details.
```
- ## 原因
获取derbyDB连接失败,之所以失败是derbyDB版本不一致导致
- ## 解决方案
删除 项目/runtime/server/properties/license下的consoledb文件夹,重启服务时会根据当前版本生成一个新的文件夹
## 2. 错误日志二
```xml
2022-10-28 10:24:33 信息 [con.out] [2022-10-28 10:24:33,890 ERROR at com.kingdee.eas.base.license.file.LicenseManager.getLicense(?:?)]error occured when verify null
Caused by License file version does not match current EAS version
2022-10-28 10:24:33 信息 [con.out] [2022-10-28 10:24:33,890 ERROR at com.kingdee.eas.base.license.file.LicenseRegisterCenter.?000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000new(?:?)] load LicenseFile error,E:\jceas\jceas\runtime\server\profiles\server1\config\licenses\license is a invalid license file!error occured when verify null
Caused by License file version does not match current EAS version
2022-10-28 10:24:33 信息 [con.out] [2022-10-28 10:24:33,908 ERROR at com.kingdee.eas.base.license.file.LicenseRegisterCenter.initialLicenseCloudVersionInstance(?:?)]initialLicenseCloudVersionInstance easCloudVersion is:kingdee eas V8.5
2022-10-28 10:24:33 信息 [con.out] [2022-10-28 10:24:33,911 ERROR at com.kingdee.eas.base.license.server.LicenseEASCloudVersionPool.?000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000new(?:?)]***** easVersion=kingdee eas V8.5 return EASCloudEnum :CLOUD_PUBLIC
2022-10-28 10:24:34 信息 [con.out] [2022-10-28 10:24:34,866 ERROR at com.kingdee.eas.base.license.server.ormrpc.LicenseSrv.?000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000return(?:?)]no legal license file or license file is damaged ,没有合法的license文件或者license配置文件被损坏
```
- ## 原因
BOS工具的许可是eas V8.5,但BOS工具和解决方案是8.6.0,版本不一致
- ## 进一步确定
1. 右键打开BOS工具的许可文件BOSModular\bim\eclipse\plugins\com.kingdee.bos.bim_template_6.1.0\templates\licenses\license,查看对应的版本;
2. 启动客户端,管理员登录,打开菜单:基本信息,查看许可信息,如果为空则表示许可加载有问题;
- ## 解决方案
重新安装对应版本的BOS工具,[BOS工具独立安装包的获取](https://wenku.my7c.com/article/283998973197668864?productLineId=8);
## 3. 如果还有问题,可能是环境问题
- ## 解决方案
尝试[删除环境变量的jdk](https://wenku.my7c.com/article/286089274238222592?productLineId=8);
# 2. 页面报错CAS is Unavaliable
- ## 解决方案
[修改配置文件绕过身份认证](https://wenku.my7c.com/article/283981311788831232?productLineId=8)
# 3. 页面报错major 52.0
- ## 原因
日志报错指向的jar包中class是jdk1.8编译的,而BOS工具目前只支持jdk1.6的编译
- ## 解决方案
删除掉报错类所在的jar包,刷新项目,重启服务
# 4. 页面报轻分析错误
- ## 解决方案
[BOS工具-解决方案起的服务WEB页面报轻分析错](https://wenku.my7c.com/article/283982564811985408?productLineId=8)
BOS工具-解决方案起的服务常见问题总结
# 1. 启动服务后进web页面后立即报错500- ## 页面相同日志 ```xml org.springframework.webflow.execution.FlowExecutionException: E...
点击下载文档
本文2024-09-16 22:15:13发表“eas cloud知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-eas-46932.html
您需要登录后才可以发表评论, 登录登录 或者 注册
最新文档
热门文章