Enterprise Dashboard is not starting and throwing the error: Serial key of the license file doesn't match the license!

book

Article ID: 207987

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

Enterprise Dashboard is not starting and throwing the below error:

 WARN  grails.boot.config.tools.ClassPathScanner - The application defines a Groovy source using the default package. Please move all Groovy sources into a package.
2021-02-04 16:00:35,134Z (16:00) [main] ERROR dradis.Application             - Serial key of the license file doesn't match the license!
2021-02-04 16:00:35,140Z (16:00) [main] ERROR org.springframework.boot.SpringApplication - Application startup failed
java.lang.RuntimeException: Serial key of the license file doesn't match the license!
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
 at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
 at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105)
 at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59)
 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:238)
 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
 at dradis.Application.checkLicense(Application.groovy:99)
 at dradis.Application.doWithSpring(Application.groovy:54)
 at grails.boot.config.GrailsApplicationPostProcessor.postProcessBeanDefinitionRegistry(GrailsApplicationPostProcessor.groovy:201)
 at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:272)
 at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:122)
 at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:687)
 at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:525)
 at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:123)
 at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:666)
 at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:353)
 at org.springframework.boot.SpringApplication.run(SpringApplication.java:300)
 at grails.boot.GrailsApp.run(GrailsApp.groovy:84)
 at grails.boot.GrailsApp.run(GrailsApp.groovy:393)
 at grails.boot.GrailsApp.run(GrailsApp.groovy:380)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
 at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
 at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.invoke(StaticMetaMethodSite.java:46)
 at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.call(StaticMetaMethodSite.java:91)
 at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)
 at dradis.Application.main(Application.groovy:31)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
 at com.install4j.runtime.launcher.UnixLauncher.main(Unknown Source)
2021-02-04 16:00:35,150Z (16:00) [main] ERROR dradis.Application             - Exception: Serial key of the license file doesn't match the license!

 

Cause

Devtest license file devtestlic.xml is missing in the installation folder and caused the issue.

Environment

Release : 10.6

Component : CA Service Virtualization

Resolution

Placing the devtestlic.xml in the Enterprise Dashboard server-->DevTest_Home folder will resolve the issue.

Additional Information

You can also get this error if the devtestliv.xml is modified. Never update the file manually.  A devtestlic.xml file was copied from one machine to another and the edMacAddress value was changed.  When the Enterprise Dashboard was started, it throws this same error.