cancel
Showing results for 
Search instead for 
Did you mean: 

Errorneous Model Causing Alfresco Tomcat Hang

dmly
Champ in-the-making
Champ in-the-making
Hi,
I make some mistakes in my custom model and now Alfresco Tomcat instance just hangs with Spring Context Failed to Load error message.
The Alfresco instance is completely inaccessible now.

Is there a way I can remove that model to make Alfresco startup again?

Thanks

12:46:21,419 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.alfresco.service.namespace.NamespaceException: A namespace prefix is not registered for uri http://test.com/model/content/1.0
   at org.alfresco.service.namespace.QName.toPrefixString(QName.java:403)
   at org.alfresco.cmis.mapping.CMISMapping.getCmisTypeId(CMISMapping.java:366)
   at org.alfresco.cmis.mapping.CMISMapping.getCmisTypeId(CMISMapping.java:407)
   at org.alfresco.cmis.dictionary.CMISStrictDictionaryService.createTypeDefs(CMISStrictDictionaryService.java:66)
   at org.alfresco.cmis.dictionary.CMISStrictDictionaryService.createDefinitions(CMISStrictDictionaryService.java:46)
   at org.alfresco.cmis.dictionary.CMISAbstractDictionaryService.init(CMISAbstractDictionaryService.java:407)
   at org.alfresco.cmis.dictionary.CMISAbstractDictionaryService.afterDictionaryInit(CMISAbstractDictionaryService.java:496)
   at org.alfresco.cmis.dictionary.CMISAbstractDictionaryService.onBootstrap(CMISAbstractDictionaryService.java:514)
   at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:56)
   at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)
   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:294)
   at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationCo
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
How and where have you defined your test model?

dmly
Champ in-the-making
Champ in-the-making
I write the custom model in XML file then load it dynamically into the Data Dictionary/Models folder. Then after I upload the XML file. I activate it with the
property edit screen.

Thanks for helping.

How and where have you defined your test model?