Thursday, January 29, 2015

Reset WSO2 ESB Admin password

During my current WSO2 ESB project the supplied admin password of the Admin Console didn't work anymore and I needed a way to reset the admin password.
After googling I came out at the following URI:
This tutorial used the default h2 database, which was different to the MySql database we used, so I needed to tweak it a little bit to work.

The initial go failed already because I didn't have Ant installed, which is a pre-requisite.

* Ant is installed
* WSO2 ESB server is stopped
* The 'mysql-connector-java-5.1.27-bin.jar' is available in the WSO2ESB/repository/components/lib

Actions to be taken
- Navigate to the WSO2ESB/bin folder
- Execute the '' command:
  ./ --db-url "jdbc:mysql://<server-name>:3306/wso2users" --db-driver "com.mysql.jdbc.Driver" --db-username <user> --db-password <password>
- Next you will get a prompt in which you can change your admin password.

Have fun with it!!

No comments:

Post a Comment