VMware Cloud Community
nettech1
Expert
Expert
Jump to solution

license service crashed while stating

 

Hi,
 
Having a problem with a vcenter license service on 2 linked vcenters 6.7.0.45100 (17028579). vCenters have been upgraded from 6.5 and converged to internal PSC. External PSC has been removed. Both vcenters are showing blank pages under licensing, appliance management shows "Service crashed while stating" when trying to start the service.
 
Here is what I get when starting service manually. 
 
"localized": "Unable to locate service 'cis.license'",
"translatable": "Unable to locate service '%(0)s'",
"id": "install.ciscommon.service.notfound"
 
 
Logs:
 
FATAL cis.license.server.core.Main Error starting service:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'managementDataSerializer' defined in class path resource [config.xml]: Cannot create inner bean 'com.vmware.cis.license.embedded.server.common.serialization.impl.TamperProofSerializerWrapperImpl#6df97b55' of type [com.vmware.cis.license.embedded.server.common.serialization.impl.TamperProofSerializerWrapperImpl] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.vmware.cis.license.embedded.server.common.serialization.impl.TamperProofSerializerWrapperImpl#6df97b55' defined in class path resource [config.xml]: Cannot create inner bean 'com.vmware.cis.license.embedded.server.core.management.importexport.impl.JsonManagementDataSerializerImpl#366e2eef' of type [com.vmware.cis.license.embedded.server.core.management.importexport.impl.JsonManagementDataSerializerImpl] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.vmware.cis.license.embedded.server.core.management.importexport.impl.JsonManagementDataSerializerImpl#366e2eef' defined in class path resource [config.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.vmware.cis.license.embedded.server.core.management.importexport.impl.JsonManagementDataSerializerImpl]: No default constructor found; nested exception is java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/JsonSerializer
Tags (3)
Reply
0 Kudos
1 Solution

Accepted Solutions
nettech1
Expert
Expert
Jump to solution

Turned out to be a bug in 17028579 build, unpublished as of this writing. Anyone doing a converge from an external to an internal psc on 17028579 may run in to the same problem. Issue is resolved after upgrading to 17138064 build.

View solution in original post

2 Replies
msripada
Virtuoso
Virtuoso
Jump to solution

I suspect this is due to converge not completed successfully or converged with wrong rpm files.

Can you check the /var/log/vmware/converge/converge.log 

Error related to license is when you have wrong file versions (rpms) installed 

[com.vmware.cis.license.embedded.server.core.management.importexport.impl.JsonManagementDataSerializerImpl]: No default constructor found; nested exception is java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/JsonSerializ

please engage GSS to resolve the issue

thanks,

MS

 

 

Reply
0 Kudos
nettech1
Expert
Expert
Jump to solution

Turned out to be a bug in 17028579 build, unpublished as of this writing. Anyone doing a converge from an external to an internal psc on 17028579 may run in to the same problem. Issue is resolved after upgrading to 17138064 build.