Cannot register Confluence due to 'License you Entered was not Valid' error
Symptoms
If this happens, please check your logs. The following message may appear in atlassian-confluence.log
:
2006-03-19 16:32:05,969 ERROR [atlassian.license.decoder.LicenseDecoder] String) Exception looking up public key: null
java.security.spec.InvalidKeySpecException
at gnu.java.security.provider.DSAKeyFactory.engineGeneratePublic(java.security.spec.KeySpec) (/usr/lib/libgcj.so.6.0.0)
at java.security.KeyFactory.generatePublic(java.security.spec.KeySpec) (/usr/lib/libgcj.so.6.0.0)
at com.atlassian.license.decoder.LicenseDecoder.getPublicKey(java.lang.String) (Unknown Source)
at com.atlassian.license.decoder.LicenseDecoder.getLicense(com.atlassian.license.LicensePair, java.lang.String) (Unknown Source)
at com.atlassian.license.LicenseManager.setLicense(java.lang.String, java.lang.String) (Unknown Source)
at com.atlassian.confluence.setup.actions.SetupLicenseAction.validateLicense() (Unknown Source)
at com.atlassian.confluence.setup.actions.SetupLicenseAction.validate() (Unknown Source)
Cause
You are most likely using GCJ/Kaffe or another unsupported JDK/JRE, which sometimes has problems running Confluence.
Resolution
- Use Oracle's JDK distribution.
Last modified on Mar 30, 2016
Powered by Confluence and Scroll Viewport.