我已经下载了wso2 api manager wso2am-2.1.0,并正在加密配置文件的密码。
我已按照步骤加密配置文件中的密码。 但是按照这些步骤后,如果我用wso2server.bat文件启动我的wos2服务器,则会询问密码。我给了密码, wso2carbon。 我得到以下错误:
[2017-05-15 16:43:46,666] FATAL - TomcatBundleActivator Error while starting server NOT_FOUND_ERR: An attempt is made to reference a node in a context where it does not exist.
org.w3c.dom.DOMException: NOT_FOUND_ERR: An attempt is made to reference a node in a context where it does not exist.
at org.apache.xerces.dom.AttributeMap.internalRemoveNamedItem(Unknown Source)
at org.apache.xerces.dom.AttributeMap.removeNamedItem(Unknown Source)
at org.wso2.carbon.tomcat.internal.ServerManager.init(ServerManager.java:106)
at org.wso2.carbon.tomcat.internal.TomcatBundleActivator.start(TomcatBundleActivator.java:45)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
[2017-05-15 16:43:51,336] INFO - BinaryDataReceiver Started Binary SSL Transport on port : 9711
[2017-05-15 16:43:51,338] INFO - BinaryDataReceiver Started Binary TCP Transport on port : 9611
[2017-05-15 16:43:51,351] INFO - DataBridgeDS Successfully deployed Agent Server
[2017-05-15 16:43:51,610] INFO - EmbeddedRegistryService Configured Registry in 66ms
[2017-05-15 16:43:51,746] INFO - RegistryCoreServiceComponent Registry Mode : READ-WRITE
[2017-05-15 16:43:51,837] INFO - AndesConfigurationManager Main andes configuration located at : C:\wso2\WSO2AM~2.0\bin\../repository/conf/broker.xml
[2017-05-15 16:43:52,067] INFO - AndesConfigurationManager Main andes configuration located at : C:\wso2\WSO2AM~2.0\bin\../repository/conf/broker.xml
[2017-05-15 16:44:00,158] INFO - JDBCReporterBuilder Creating JDBC reporter for Metrics with source 'BLR-LP249SPGX', data source 'jdbc/WSO2MetricsDB' and 60 seconds polling period
[2017-05-15 16:44:00,162] INFO - JmxReporterBuilder Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2017-05-15 16:44:00,185] INFO - AbstractReporter Started JDBC reporter for Metrics
[2017-05-15 16:44:00,186] INFO - AbstractReporter Started JMX reporter for Metrics
[2017-05-15 16:44:05,174] INFO - SolrClient Default Embedded Solr Server Initialized
[2017-05-15 16:44:05,734] INFO - UserStoreMgtDSComponent Carbon UserStoreMgtDSComponent activated successfully.
有人可以帮助我。
答案 0 :(得分:1)
基础2.1.0版本存在已知问题,可供下载。通过WUM更新包纠正此问题。如果您没有生产订阅,我不确定您将采取哪些步骤来解决。
答案 1 :(得分:0)
看起来像问题https://wso2.org/jira/browse/CARBON-15380,根据您在catalina-server.xml中加密密钥库密码所需的帖子