Resetting password for the Railo admin

A question came up on the mailing list about how to reset passwords if you've forgotten them. This entry will cover both the server context and the local web context.

Server Context (e.g. http://{hostname}/railo-context/admin/server.cfm )

  1. You'll want to open up the railo-server.xml in your {railo installation}/railo-server/context/ directory.
  2. Look for the line that has "<railo-configuration" and blank out the value of password="".
  3. Restart the railo instance and when you reload, you'll be asked for a new password.

Local Web Context (e.g. http://{hostname}/railo-context/admin/web.cfm )

  1. If you've forgotten the password for a local web context, you'll want to make sure you have a default password first.
    • Log into http://{hostname}/railo-context/admin/server.cfm?action=security.password - Look for "Set default password" and set it.
  2. Open up {host root}/WEB-INF/railo/railo-web.xml.cfm
  3. Look for the line that has "<railo-configuration" and blank out the value of password="".
  4. Restart the railo instance and when you reload, you can type in the default password.
  5. Once inside the local web admin, you can click on password on the sidebar and change that local web context password.

Update (Dec 8th, 2009)

Heh. Shortly after this post, Micha pinged me as to why I didn't just point people to the password reset option in the server context. Truth be told, I forgot about it. Scroll all the way down to the bottom of http://{hostname}/railo-context/admin/server.cfm?action=security.password and you'll see this:
Reset Password - That will reset the password back to the default.

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
BlogCFC was created by Raymond Camden. This blog is running version 5.9.1.002. Contact Blog Owner