After running a old instance of registration client, we are trying to run another instance of registration client. But this this time the registration client doesn’t launch. |
In the registration client logs we see the below message.
Error creating bean with name 'entityManagerFactory' defined in io.mosip.registration.config.DaoConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate |
As an older instance of registration client was running in the same machine the derby database credentials of the older instance still exists in the db.config file. When new installation starts the registration client application tries to create new credentials for its database but finds the file available in the same location.
The steps to resolve this issue are:
Delete the db.config file which is available in the .mosipkeys folder in the user’s directory.
Relaunch the registration client.
The content by label feature displays related articles automatically, based on labels you choose. To edit options for this feature, select the placeholder below and tap the pencil icon.
|