Jboss password reset fails with [ERROR] Failed updating the password for MySql client commands
Applies to
- ActiveIQ Unified Manager(UM) 9.13+
- Windows platform
Issue
- Unable to login to AIQUM after upgrade with
Error 404
mega-app.ear deploment failed with the below error:
{
\"WFLYCTL0080: Failed services\" => {\"jboss.deployment.subunit.\\\"mega-app.ear\\\".\\\"server-api.war\\\".undertow-deployment\" => \"java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springSecurityFilterChain' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.servlet.Filter]: Factory method 'springSecurityFilterChain' threw exception; nested exception is java.sql.SQLException: javax.resource.ResourceException: IJ000453: Unable to get managed connection for java:/onaro_pool
Caused by: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springSecurityFilterChain' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.servlet.Filter]: Factory method 'springSecurityFilterChain' threw exception; nested exception is java.sql.SQLException: javax.resource.ResourceException: IJ000453: Unable to get managed connection for java:/onaro_pool
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springSecurityFilterChain' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.servlet.Filter]: Factory method 'springSecurityFilterChain' threw exception; nested exception is java.sql.SQLException: javax.resource.ResourceException: IJ000453: Unable to get managed connection for java:/onaro_pool
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.servlet.Filter]: Factory method 'springSecurityFilterChain' threw exception; nested exception is java.sql.SQLException: javax.resource.ResourceException: IJ000453: Unable to get managed connection for java:/onaro_pool
Caused by: java.sql.SQLException: javax.resource.ResourceException: IJ000453: Unable to get managed connection for java:/onaro_pool
Caused by: javax.resource.ResourceException: IJ000453: Unable to get managed connection for java:/onaro_pool
Caused by: javax.resource.ResourceException: IJ031084: Unable to create connection
Caused by: java.sql.SQLInvalidAuthorizationSpecException: Could not connect to address=(host=localhost)(port=3306)(type=master) : (conn=345) Access denied for user 'jboss'@'localhost' (using password: YES)
Current charset is windows-1252. If password has been set using other charset, consider using option 'passwordCharacterEncoding'
Caused by: java.sql.SQLInvalidAuthorizationSpecException: (conn=345) Access denied for user 'jboss'@'localhost' (using password: YES)
Current charset is windows-1252. If password has been set using other charset, consider using option 'passwordCharacterEncoding'\"},
\"WFLYCTL0412: Required services that are not installed:\" => [\"jboss.deployment.subunit.\\\"mega-app.ear\\\".\\\"mega-acq-server.war\\\".deploymentCompleteService\"],
\"WFLYCTL0180: Services with missing/unavailable dependencies\" => [\"jboss.deployment.unit.\\\"mega-app.ear\\\".deploymentCompleteService is missing [jboss.deployment.subunit.\\\"mega-app.ear\\\".\\\"mega-acq-server.war\\\".deploymentCompleteService]\"]
}"
- While trying to reset the Jboss password while trying to follow this kb [Click here] getting the below error.
- Trying to reset the Jboss password gives the following error:
<installed drive>:\Program Files\NetApp\essentials\bin>password.bat resetJBossPassword
Enter MySQL Root Password: ***********
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.netapp.dfm.common.lite.WindowsRegistry (file:/E:/Program%20Files/NetApp/ocum/lib/jeps/dfm-common-lite.jar) to method java.util.prefs.WindowsPreferences.WindowsRegOpenKey(long,byte[],int)
WARNING: Please consider reporting this to the maintainers of com.netapp.dfm.common.lite.WindowsRegistry
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Enter new password :
Re-enter new password:
[ERROR] Failed updating the password for MySql client commands.