Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Problem

Info

Solution

info

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:

  1. Delete the db.config file which is available in the .mosipkeys folder in the user’s directory.

  2. Relaunch the registration client.

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@10d56
sortmodified
showSpacefalse
reversetrue
typepage
cqllabel = "kb-troubleshooting-article" and type = "page" and space = "ESD"
labelskb-troubleshooting-article

...