AnsweredAssumed Answered

Repo content model Unexpanded entity reference

Question asked by mikepriest87 on Nov 14, 2018
Latest reply on Nov 20, 2018 by mikepriest87

Alfresco Community - 5.2.0 (re21f2be5-b22)

 

Backstory

In short, we have custom content models both bootstrapped and also in the repository - Data Dictionary/Models repo space. Our local development is running fine so must be isolated to the models in the repo. However, we cannot seem to be able to find the source of the problem, since:

 

  • The repo content models have not changed
  • We cannot seem to find which model it's complaining about
  • We have tried deleting the indexes and models cache

 

While everything was working fine, the latest deployment will fail to start Alfresco and things get corrupted. This has also happened with a new server, so need to figure it out.

 

Logging

We have enabled debugging to get some logging.

# Dictionary/Model debugging
log4j.logger.org.alfresco.repo.dictionary=warn
log4j.logger.org.alfresco.repo.dictionary.types.period=warn

 

Problem

When starting up Alfresco, the following errors are what we see (attached full logs). 

 

ERROR [web.context.ContextLoader] Context initialization failed org.alfresco.service.cmr.dictionary.DictionaryException: 10140018 Failed to parse model
...
...
...
Caused by: org.jibx.runtime.JiBXException: Unexpanded entity reference in text at (line 1, col 704)

 

There doesn't seem to be any reference to which model and again since they have not changed, why would they suddenly fail?

 

Right now need to get to the bottom of it. Has anyone run into this before? Any way of getting deeper logs to find the affected model so we can look at it?

 

EDIT: Installing fresh

When we install a fresh instance with the code. There are no issues, after using it, then restarting and deploy - the same issue occurs.

Attachments

Outcomes