Change default admin password on WSO2 DAS

蓝咒 提交于 2019-12-08 21:22:45

Thanks for sharing the stack trace. The logs show ThriftAuthenticationException(message:wrong userName or password) this means that even though the admin password is changed via the UI that some places are still referring to the default password.

If we are publishing events into DAS from ex: API Manager 1.10.0. If the admin's password has been changed on DAS, then on the other products(ex:api manager) we need to specify the new password where ever the as well as the admin and admin are given such as in api-manager.xml

When we grep for port 7711 within the DAS pack the matrix.xml is also having admin as the password as a result could you kindly change the password on the relevant areas and check again.

regards,shavantha

there are two ways to change the password. However, 1.We can change the password by updating the admin-password via user-mgt.xml or via the web interface as mentioned by you

The below document has the guidelines that will help you change the password https://docs.wso2.com/display/DAS301/Adding+and+Managing+Users+and+Roles

However, appreciate if you can provide the following answers to try and reproduce your scenario 1.Did this error prevent you from logging in after the attempt to change the default password 2.Can you please share the full stack trace for the error. 3.What is the Operating system and JDK version are you using

I have resolved the same error on EI 6.1.0 and EI 6.1.1 (Integrator and Analytics profile activated) After the change of the admin password must be update this files for databridge comunications:

  • EI_HOME/repository/deployment/server/eventpublishers/MessageFlowConfigurationPublisher.xml
  • EI_HOME/repository/deployment/server/eventpublishers/MessageFlowStatisticsPublisher.xml

Set property encrypted to false and replace the encrypted old password with not encrypted new password

<property encrypted="false" name="password">NOT-ENCRYPTED-NEW-PASSWORD</property> 
  • /conf/log4j.properties Change the password for log4j.appender.LOGEVENT.password

[SOLVED] Finally the problem was a sample carbon application that was deployed and was trying to connect with the default credentials. Thank you all

user-mgt.xml UserManager->Password

repository/conf/log4j.properties

# DAS_AGENT uses PatternLayout.
log4j.appender.DAS_AGENT.layout=org.wso2.carbon.analytics.shared.data.agents.log4j.util.TenantAwarePatternLayout
log4j.appender.DAS_AGENT.columnList=%D,%S,%A,%d,%c,%p,%m,%H,%I,%Stacktrace
log4j.appender.DAS_AGENT.userName=admin

log4j.appender.DAS_AGENT.password=xxxxxxx
log4j.appender.DAS_AGENT.url=tcp://localhost:7612
log4j.appender.DAS_AGENT.maxTolerableConsecutiveFailure=5
log4j.appender.DAS_AGENT.streamDef=loganalyzer:1.0.0
log4j.logger.trace.messages=TRACE,CARBON_TRACE_LOGFILE
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!