Unable to launch registration client for second instance

Problem

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

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

There are no items with the selected labels at this time.