This documentation relates to the latest version of Confluence.
If you are using an earlier version, please go to the documentation home page and select the relevant previous version.

Cannot register Confluence due to 'License you entered was not valid' error

Confluence 2.8 Documentation

Index

If this happens, please check your logs. The following message may appear:

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)

If you see this, you are most likely using GCJ/Kaffe, which sometimes has problems running Confluence. Please try using the Sun JDK.

Labels

 
  1. May 04, 2006

    Rob Kearey says:

    Is there any plan to support native gcj/classpath environments? The idea of not ...

    Is there any plan to support native gcj/classpath environments? The idea of not needing to deal with the proprietary JVM/JITC implentations is very attractive - being able to run confluence out of the box on a RH/Centos box for example would be great.

    1. May 08, 2006

      Charles Miller says:

      It's not really a question of us supporting GCJ/Classpath. It's more a question ...

      It's not really a question of us supporting GCJ/Classpath. It's more a question of GCJ/Classpath maturing to the point where it is capable of hosting Confluence.

      Confluence is a 100% pure Java application written to the Java 1.4 API. Where there are errors in non-Sun JVMs caused by us not following the spec correctly, we'll fix it. But there's just too much potential pain involved in supporting, tracking down problems with and working around incomplete JDK implementations.

Add Comment