EAS Cloud环境迁移后,无法正常打开管理控制台
问题描述
EAS Cloud环境迁移后,无法正常打开管理控制台,admin日志提示如下:
!ENTRY admin.framework 4 0 2024-02-28 09:14:17.741
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: Exception in com.kingdee.eas.tools.admin.framework.application.impl.AdminActivator.start() of bundle admin.framework.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1018)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297)
Caused by: java.lang.NoClassDefFoundError: org/jdom/input/SAXBuilder
at com.kingdee.eas.tools.admin.framework.application.impl.ApplicationXmlParser.<init>(ApplicationXmlParser.java:34)
at com.kingdee.eas.tools.admin.framework.application.impl.ApplicationXmlParser.parser(ApplicationXmlParser.java:78)
at com.kingdee.eas.tools.admin.framework.application.impl.AdminApplication.start(AdminApplication.java:119)
at com.kingdee.eas.tools.admin.framework.application.impl.AdminActivator.start(AdminActivator.java:38)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)
... 10 more
Caused by: java.lang.ClassNotFoundException: org.jdom.input.SAXBuilder
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:434)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 17 more
Root exception:
java.lang.NoClassDefFoundError: org/jdom/input/SAXBuilder
at com.kingdee.eas.tools.admin.framework.application.impl.ApplicationXmlParser.<init>(ApplicationXmlParser.java:34)
at com.kingdee.eas.tools.admin.framework.application.impl.ApplicationXmlParser.parser(ApplicationXmlParser.java:78)
at com.kingdee.eas.tools.admin.framework.application.impl.AdminApplication.start(AdminApplication.java:119)
at com.kingdee.eas.tools.admin.framework.application.impl.AdminActivator.start(AdminActivator.java:38)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
at java.security.AccessController.doPrivileged(Native Method)
原因分析
根据admin.log日志分析,发现是在新建安装目录时本应需要新建的是kingdee文件夹,结果新建时少输入了一个"e",导致目录建成了“kingde”的目录,而原环境中配置文件所在的目录是kingdee,从而导致启动不了管理控制台。
admin日志文件显示如下:
操作步骤
进入安装目录kingdee\eas\server\bin目录下面,打开set-server-env.sh(bat)文件进行编辑,将EAS_HOME所对应的正确路径修改正确即可,再进行启动管理控制台;
EAS Cloud环境迁移后,无法正常打开管理控制台
本文2024-09-22 20:26:48发表“eas cloud知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-eas-113679.html