AnsweredAssumed Answered

Alfresco 3.0 Custom Extension Fails on Bootstrap

Question asked by ghernando on Nov 6, 2008
Latest reply on Dec 30, 2008 by syed.imtiaz
Hello,

I had some files based on Jeff Potts custom extension that work for me on a Ubuntu 7.1 install of Alfresco 2.2 with MySQL 5.
Those same files fail for me when I install them and try to start an identical environment with Alfresco 3.0 installed.
I'm not sure why or how to debug this.  Has something changed in Alfresco 3.0?

Does this mean that the xml of the Model file may have syntax errors.  I don't see any, and I tried stripping the model file down to a barebones one, and the problem still happens.  (And the files work OK on Alfresco 2.2)

Thanks for your help!

INFO: Deploying web application archive alfresco.war
Nov 5, 2008 8:37:44 PM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The duplicate definition has been ignored.
20:38:31,691  INFO  [config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]
20:38:37,093  ERROR [web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'extension.dictionaryBootstrap' defined in file [/opt/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/extension/xp-model-context.xml]: Invocation of init method failed; nested exception is org.alfresco.service.cmr.dictionary.DictionaryException: Could not import bootstrap model alfresco/extension/xpModel.xml
Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: Could not import bootstrap model alfresco/extension/xpModel.xml
        at org.alfresco.repo.dictionary.DictionaryBootstrap.initDictionary(DictionaryBootstrap.java:147)
        at org.alfresco.repo.dictionary.DictionaryBootstrap.bootstrap(DictionaryBootstrap.java:108)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

Outcomes