AnsweredAssumed Answered

Errorneous Model Causing Alfresco Tomcat Hang

Question asked by dmly on Jun 29, 2010
Latest reply on Jun 29, 2010 by dmly
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

Outcomes