Summary
This article documents the procedure for swapping the codeinsight.key file in FlexNet Code Insight 2017 R2Synopsis
An error is thrown after changing the codeinsight.key file for FlexNet Code Insight 2017 R2 and restarting tomcat. The error is similar to the following:06-Nov-2017 13:39:45.766 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /home/flexera/FlexNetCodeInsight/tomcat/webapps/codeinsight
2017-11-06 13:39:55 INFO [localhost-startStop-1] [ConfigurationBeanFactory] Loading properties file from class path resource [core.db.common.properties]
2017-11-06 13:39:55 INFO [localhost-startStop-1] [ConfigurationBeanFactory] Loading properties file from class path resource [core.common.properties]
2017-11-06 13:39:55 INFO [localhost-startStop-1] [ConfigurationBeanFactory] Loading properties file from class path resource [core.ldap.common.properties]
2017-11-06 13:39:55 INFO [localhost-startStop-1] [ConfigurationBeanFactory] Loading properties file from URL [file:/home/flexera/FlexNetCodeInsight/config/core/core.db.properties]
2017-11-06 13:39:55 ERROR [localhost-startStop-1] [ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'propertyConfigurer' defined in class path resource [app-core-context.xml]: Invocation of init method failed; nested exception is org.jasypt.exceptions.EncryptionOperationNotPossibleException
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1628)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors
Discussion
This is caused by the way the product attempts to read the database password from the core.db.properties fileWorkaround
Please use the following instructions to change your codeinsight.key to ensure tomcat can start correctly:1. Shut down tomcat using the shutdown.sh script (shutdown.bat on Windows)
2. Replace the codeinsight key in the FlexNet Code Insight installation directory
3. Open the core.db.properties file in a text editor. This file is available from <FlexNet Code Insight>\config\core\core.db.properties
4. Replace the encrypted value in the 'db.password=' entry with the plaintext password for your database
5. Save and close the core.db.properties file
6. Start tomcat using the startup.sh script (startup.bat on Windows)
Was this helpful?
Related Articles
FlexNet Code Insight Scan Failure 3Number of Views Unable to Run Jenkins job using Plugin in FlexNet Code Insight 8Number of Views FlexNet Code Insight Scan of .whl archives 3Number of Views How to update your Code Insight v7 instance with a new codeinsight.key file 3Number of Views How to submit FlexNet Code Insight requests for Compliance Library entries 5Number of Views
Revenera Assistant - Beta
Online
Hi, I am Reva - Ask me anything.
Updates
No new updates
Chat
Home
Updates
/**/
Thanks for the feedback!
Your feedback has been saved.Rate this response:
1
2
3
4
5
Add Additional feedback ( Optional )
0/240
English
English
Language changed successfully
Something went wrong
Email sent successfully
Something went wrong
Case create successfully
Are you sure you want to cancel
the case creation?
Please select a product to submit the case.
Please select a product version to submit the case.
0/255
Upload Attachment
File Upload
Maximum file
size allowed is 3 MB.
File type
not supported.
Supported file types:
Documents (.txt, .doc, .docx, .pdf), Images (.jpg, .png), Comma Separated Files
(.csv) Speadsheets (.xlsx, .xls)
Are you sure you want to cancel the case creation?
Case closed successfully
File Upload
Maximum file size allowed is 3 MB.
File type not supported.
Supported file types:
Documents (.txt, .doc, .docx, .pdf), Images (.jpg, .png), Comma Separated Files
(.csv) Speadsheets (.xlsx, .xls)
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
File Upload
Maximum file
size allowed is 3 MB.
File type
not supported.
Supported file types:
Documents (.txt, .doc, .docx, .pdf), Images (.jpg, .png), Comma Separated Files
(.csv) Speadsheets (.xlsx, .xls)
© 2026 Flexera Software. All Rights Reserved.
Case id: 00001065
Activity: Status change: 2 hours ago