1.3.1 Possible Issues While Deploying Services

This subsection describes the possible issues that may occur in the environment.

Service deployment is failing due to flyway

If the service deployment is failing due to flyway, verify that the object or record is already present and make changes in the flyway scripts accordingly.

Services getting unregistered in Eureka frequently post deployment

  1. Check the managed server service logs and Individual service logs for Eureka heartbeat error.
  2. Clean the /tmp, /stage, /logs, and /cache folders and restart the WebLogic managed servers.
  3. If the issue still persists, Create or Clone the impacted managed server.

Other possible issues

The other possible issue while deploying services could be multiple version of dependency jars present in the war file. For example, “weblogic.application.naming.EnvironmentException: duplicate persistence units with name PLATO in scope cmc-customer-services-5.3.0.war.”