JBoss ON fails to start with FATAL error "Could not decrypt the password for some reason - auto-installation failed java.lang.Exception: Decoding db password failed:"

Solution Verified - Updated -

Issue

  • JBoss ON Server could not decrypt the password and error is logged:
2014-09-08 11:53:17,530 FATAL [org.rhq.enterprise.installer.ConfigurationBean] Could not decrypt the password for some reason - auto-installation failed
java.lang.Exception: Decoding db password failed: 
    at org.rhq.enterprise.installer.ConfigurationBean.decodePassword(ConfigurationBean.java:838)
    at org.rhq.enterprise.installer.ConfigurationBean.save(ConfigurationBean.java:583)
...
Caused by: java.lang.reflect.InvocationTargetException
...
Caused by: java.lang.NumberFormatException: For input string: "assword"
...
  • JBoss ON fails to start with FATAL error "Could not decrypt the password for some reason - auto-installation failed java.lang.Exception: Decoding db password failed:"

Environment

  • Red Hat JBoss Operations Network (JON) 3.1.2
  • During installation, database password is changed in the rhq-server.properties file to something like:
rhq.server.database.password=password
  • Started JBoss ON Server

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.