Problem
Info |
---|
Solution
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.
Code Block |
---|
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 |
Solution
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.
Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...