Resolve error creating bean with name 'geocodeStage' when adding a Global Database Resource for Enterprise Geocoding Module (EGM) in Spectrum

Version: 7,8,9

Issue

The following error is occurring when adding a Global Databases Resources for EGM:

Error creating bean with name 'geocodeStage' defined in URL [file:/spectrum/sp9/server/app/tmp/igeocode-global-9.0.car-7363816893942491011-contents/resourcestage-config.xml]: Initialization of bean failed; nested exception is com.pb.spectrum.platform.server.runtime.core.deploy.car.StageRegistrationException: Error while registering stage: geocodeStage; nested exception is com.g1.dcg.com component.remote.ComponentFailureException:
com.pb.spectrum.platform.server.runtime.core.component.invoker.MethodInvokerSetupException: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: java.lang.RuntimeException: Unable to find data directory: /spectrum/sp9/server/modules/igeocode-global/countryidentifier at com.g1.com component.igeocode.countryidentifier.CountryIdentifier.initialize(CountryIdentifier.java:44)

 

Cause

In the wrapper log, the countryidentifier-9.0.car and countryidentifier-9.0.console did not deploy. If those files are not in the Spectrum\server\app\deploy folder, this would cause the error.

Resolution

UPDATED: April 28, 2017
To resolve this issue:
  • If the countryidentifier-9.0.car and countryidentifier-9.0.console files were removed from Spectrum\server\app\deploy folder, put the files back into the deploy folder.
​Or
  • Reinstall EGM - Global using the Spectrum installer
If troubleshooting did not resolve the issue, contact technical support for further assistance.