KB ARTICLE
Issue
The FactoryLogix Real Time Analysis Service log repeatedly shows the following exception:
Creation of CacheManager Failed. Undefined DB Connection: . (Aegis.Shared)
Note
This error does not typically cause observable issues in the FactoryLogix front end. It primarily "pollutes" the service logs.
Cause
This exception commonly occurs when a production database has been duplicated to a test environment, but the Real Time Server settings in Global Options (configured in FactoryLogix Office) still reference the production Real Time Server. Clients in the test environment send handshake requests to the production Real Time Service referencing database connections that do not exist in that environment, causing these errors to be logged.
Resolution
To stop these errors from appearing, locate all active FactoryLogix databases and ensure each one has its Real Time Server Global Option configured correctly for its environment. For databases where the Real Time Service is not needed, set the Enable Real Time Service Global Option to False.
-
In FactoryLogix Office, navigate to System Configuration > Global Options.
-
For each active database environment, verify that the Real Time Server setting points to the correct Real Time Server for that environment.
-
For any environment where Real Time Service is not required, set the Enable Real Time Service option to False.
-
Save the global options changes. The errors should no longer appear in the Real Time Service logs.