WSO2 APIM 3.0.0 拒绝在编辑 master-datasources.xml 文件后启动

WSO2 APIM 3.0.0 REFUSED TO START AFTER EDITING master-datasources.xml file

我在 linux 机器上安装了 wso2am-3.0.0 作为服务,我通过编辑 master-datasources.xml 文件将默认数据库更改为 mysql。但是,当我通过 运行 sudo service wso2am-3.0.0 start 启动服务时,我卡在了这里,如下所示:

TID: [2020-02-19 00:16:22,738]  INFO {org.wso2.config.mapper.ConfigParser} - Applying Configurations upon new Templates {org.wso2.config.mapper.ConfigParser}
TID: [2020-02-19 00:16:22,739]  WARN {org.wso2.config.mapper.ConfigParser} - Configurations Changed in :repository/conf/datasources/master-datasources.xml {org.wso2.config.mapper.ConfigParser}
TID: [2020-02-19 00:16:22,739]  WARN {org.wso2.config.mapper.ConfigParser} - Configurations Changed in :repository/conf/carbon.xml {org.wso2.config.mapper.ConfigParser}
TID: [2020-02-19 00:16:22,739]  WARN {org.wso2.config.mapper.ConfigParser} - Overriding files in configuration directory /usr/lib/wso2/wso2am/3.0.0 {org.wso2.config.mapper.ConfigParser}

没有其他事情发生

从 API Manager v3.0.0 开始,我们引入了一个新的配置模型,现在您可以在其中配置 deployment.toml。您不需要触摸任何 xml 配置文件。 deployment.toml 可在 repository/conf 位置找到。尽管您更改了 xml 文件中的配置,但服务器启动时这些配置将被覆盖。

请参阅如何更改数据库 mysql - https://apim.docs.wso2.com/en/3.0.0/InstallAndSetup/SettingUpDatabases/ChangingDefaultDatabases/changing-to-mysql/