Windows环境下启动管理控制台失败原创
金蝶云社区-神奇奥利奥
神奇奥利奥
14人赞赏了该文章 764次浏览 未经作者许可,禁止转载编辑于2022年01月25日 11:20:51

[2022-01-25 10:32:48,272 INFO]1434208146:new connection:host=/127.0.0.1:port=59322

[2022-01-25 10:32:48,275 INFO]Number of applications (connections)=2

 currentConnectionCount = 2

[2022-01-25 10:32:50,642 INFO]1434208146:inbound connection closed normally

[2022-01-25 10:32:50,643 INFO]1434208146:closing session

[2022-01-25 10:32:50,643 INFO]1434208146:session is closed

[2022-01-25 10:34:07,089 INFO]Cleaned up application thread(s). Current application (connection) count: 1

[2022-01-25 10:46:50,096 INFO]************************************************

[2022-01-25 10:46:50,096 INFO]           EAS Management Platform

[2022-01-25 10:46:50,096 INFO]      Kingdee Software (China) Co., Ltd.

[2022-01-25 10:46:50,096 INFO]OS  :  Windows 10  amd64

[2022-01-25 10:46:50,097 INFO]Java:  1.8.0_102 [Oracle Corporation]

[2022-01-25 10:46:50,097 INFO]************************************************

[2022-01-25 10:46:50,097 INFO]EAS Management Platform starting, please waiting

[2022-01-25 10:46:50,188 INFO]Begin start [com.kingdee.eas.tools.admin.framework.ssap.dualrpc.DualRPCServiceRegistry] ......

[2022-01-25 10:46:50,196 INFO]Begin start module[domain]....

[2022-01-25 10:46:50,197 INFO]started server:host=0.0.0.0:port=10061:max connections=15

[2022-01-25 10:46:50,201 INFO]Plugin [domain] autostart is [true] ....

[2022-01-25 10:46:50,279 INFO]EAS_NODEID=EAS120019320635025434806

Find java home: ..\eas\oracle-jdk1.8\jre

Set java home: ..\eas\oracle-jdk1.8

[2022-01-25 10:46:50,302 FATAL]Parser domain xml [..\eas\admin\config\domain.xml] failed!

org.jdom.input.JDOMParseException: Error on line 1: Content is not allowed in prolog.

        at org.jdom.input.SAXBuilder.build(SAXBuilder.java:468)

        at org.jdom.input.SAXBuilder.build(SAXBuilder.java:770)

        at com.kingdee.eas.tools.admin.domain.impl.DefaultAdminDomain.refreshDomainXml(DefaultAdminDomain.java:145)

        at com.kingdee.eas.tools.admin.domain.impl.DefaultAdminDomain.<init>(DefaultAdminDomain.java:85)

        at com.kingdee.eas.tools.admin.domain.AdminDomain.createNewDomain(AdminDomain.java:230)

        at com.kingdee.eas.tools.admin.domain.AdminDomain.createNewInstance(AdminDomain.java:98)

        at com.kingdee.eas.tools.admin.domain.impl.DomainModuleActivator.start(DomainModuleActivator.java:45)

        at com.kingdee.eas.tools.admin.framework.application.impl.AdminApplication.startModule(AdminApplication.java:292)

        at com.kingdee.eas.tools.admin.framework.application.impl.AdminApplication.start(AdminApplication.java:170)

        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)

        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: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.

        at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)

        at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)

        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)

        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)

        at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)

        at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown Source)

        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)

        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

        at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453)

        ... 22 more



根据错误发现eas\admin\config\domain.xml文件有问题,打开后为空,则写入一下内容:

<?xml version="1.0" encoding="UTF-8"?>

<domain deployed="true" isSendWeb20="true">

  <password>encodeAdminPassÍÓÔÑå×Ð</password>

  <clustermanager>

    <easstatus>

      <member tcpurl="tcp://127.0.0.1:11034" />

      <member tcpurl="tcp://127.0.0.1:11034" />

    </easstatus>

  </clustermanager>

</domain>


以上为双网卡写法,根据情况自行更改IP和网卡数量.


另外上传查看日志的小工具,解压后拷贝到c:\windows\system32下 然后打开cmd tail -f 指定目录文件 就可以像linux实时观测日志情况

tail.zip(3.06KB)

图标赞 14
14人点赞
还没有人点赞,快来当第一个点赞的人吧!
图标打赏
0人打赏
还没有人打赏,快来当第一个打赏的人吧!