Migration to jon-server 3.2 issue - message "java.lang.RuntimeException: de-obfuscating db password failed" logged in the server.log file
Issue
- I'm not able to upgrade and I can see the following message in my server.log file:
DEBUG org.rhq.server.metrics.migrator.DataMigratorRunner - Server configuration file system property detected. Loading the file: c:\jon-server-3.2.0\bin\rhq-server.properties
java.lang.RuntimeException: de-obfuscating db password failed:
at org.rhq.core.util.obfuscation.PicketBoxObfuscator.decode(PicketBoxObfuscator.java:75)
at org.rhq.server.metrics.migrator.DataMigratorRunner.loadConfigurationFromServerPropertiesFile(DataMigratorRunner.java:362)
at org.rhq.server.metrics.migrator.DataMigratorRunner.configure(DataMigratorRunner.java:287)
at org.rhq.server.metrics.migrator.DataMigratorRunner.main(DataMigratorRunner.java:170)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.modules.Module.run(Module.java:270)
at org.jboss.modules.Main.main(Main.java:411)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.rhq.core.util.obfuscation.PicketBoxObfuscator.decode(PicketBoxObfuscator.java:72)
... 9 more
Caused by: java.lang.NumberFormatException: Zero length BigInteger
at java.math.BigInteger.<init>(BigInteger.java:296)
at org.picketbox.datasource.security.SecureIdentityLoginModule.decode(SecureIdentityLoginModule.java:170)
... 14 more
21:46:24,106 INFO [org.rhq.server.control.command.Upgrade] The data migrator finished with exit value 0
- My initial attempt to upgrade to JBoss ON failed. I fixed the problem and tried again but this time I got new issue saying that "de-obfuscating db password failed". How can I resolve this?
- Migration to jon-server 3.2 issue - message "java.lang.RuntimeException: de-obfuscating db password failed" logged in the server.log file
Environment
- Red Hat JBoss Operations Network (JON) 3.2.0
- Initial attempt to upgrade to JBoss ON 3.2.0 from JBoss ON 3.1.2 failed;
- Problem is fixed and upgrade tried again;
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
