cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to Renew License of FlexNet Code Insight 6X

How to Renew License of FlexNet Code Insight 6X

Summary

This article describes how to update your palamida.key file should the license expire

Synopsis

The palamida.key file used to license your installation of FlexNet Code Insight 6.X may need to be updated when the file expires. If this is required you will see the following message when attempting to start tomcat:

ERROR [localhost-startStop-1] [License] License has expired.

SOLUTION

  1.  If you receive this message please contact our Technical Support team who will be happy to assist in the creation of a new palamida.key file.
  2. Once you receive your new palamida.key file you will need to replace the existing file with the new file under the <INSTALL_HOME>
  3. Modify the following elements in your configuration files:
PATH property Value
palamida/config/core/core.db.properties db.password Plain Text Password
palamida/config/core/core.properties smtp.password

Leave blank if smtp is not enabled

Plaintext  password otherwise

palamida/tomcat/webapps/palamida/WEB-INF/classes/core.common.properties profile.rest.api.cache.password

Leave Blank

  smtp.password

Leave Blank

  palamida.ftp.server.password

P@l@m!d@3

palamida/config/core/core.ldap.properties ldap.password

Leave blank if ldap is not enabled

Plaintext  password otherwise


4. Once these changes have been made please restart tomcat to ensure your new palamida.key is read correctly.

 

Note : if you are using a linux machine , run  ' grep -r "ENC(" . ' 

The result should not show anything from the .properties files.

Discussion

If the configuration file password are not corrected prior to restarting tomcat then you may receive the following errors:

INFO: Deploying web application directory /home/palamida/palamida_6.11.1-29_6-11-1/tomcat/webapps/palamida
......................-...........-
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'propertyConfigurer' defined in class path resource [application-context.xml]: Invocation of init method failed; nested exception is org.jasypt.exceptions.EncryptionOperationNotPossibleException
..........................
Caused by: org.jasypt.exceptions.EncryptionOperationNotPossibleException
.........
2017-08-30 04:25:26 ERROR [localhost-startStop-1] [ContextLoader] Context initialization failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'propertyConfigurer' defined in class path resource [application-context.xml]: Invocation of init method failed; nested exception is org.jasypt.exceptions.EncryptionOperationNotPossibleException
..........................
Caused by: org.jasypt.exceptions.EncryptionOperationNotPossibleException
.................
INFO: Deploying web application directory /home/palamida/palamida_6.11.1-29_6-11-1/tomcat/webapps/palamidaScanEngine
..-......-..............................................................................-.-......-...............................................................................................-.......-
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scanEnginePropertyConfigurer' defined in class path resource [dispatcherContext.xml]: Invocation of init method failed; nested exception is org.jasypt.exceptions.EncryptionOperationNotPossibleException
..........................
Caused by: org.jasypt.exceptions.EncryptionOperationNotPossibleException
........
2017-08-30 04:25:35,114 ERROR [localhost-startStop-1] [ContextLoader] Context initialization failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scanEnginePropertyConfigurer' defined in class path resource [dispatcherContext.xml]: Invocation of init method failed; nested exception is org.jasypt.exceptions.EncryptionOperationNotPossibleException
..........................
Caused by: org.jasypt.exceptions.EncryptionOperationNotPossibleException

Labels (2)
Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Mar 04, 2020 02:05 PM
Updated by: