cancel
Showing results for 
Search instead for 
Did you mean: 

Problem starting Alfresco 4.0

bbougon
Champ in-the-making
Champ in-the-making
Hello,

I am trying to setting up a new instance of Alfresco 4.0.
We wanted to test the new version first to see if everything is running fine with our custom developments and second to see the new features in Alfresco 4.0.

But I do have an issue when starting tomcat. When Alfresco tries to load the site permission definition, I do have this exception thrown :

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'siteService_permissionBootstrap' defined in class path resource [alfresco/site-services-context.xml]: Invocation of init method failed; nested exception is org.alfresco.repo.security.permissions.impl.model.PermissionModelException: 09110000 Couldn't obtain DTD schema to validate permission model.

When opening the highlighted xml file, there is no DTD given. As well our own permissionDefinition could not be loaded for exactly the same problem. I have noticed that in previouses versions, the DTD was commented (see below). Uncomment it did not change anything.



<!–PUBLIC '-//ALFRECSO//DTD PERMISSIONS//EN' 'permissionSchema.dtd' –>

<!– Note: the above is commented out as spring does not seem to find the dtd –>

<!– ============================================ –>
<!– The base permission model for the repository –>
<!– ============================================ –>


<!– The parent permission checks were removed 20/1/2006 –>

does anyone has any idea on how to fix the problem?

thank you very much

Bertrand
3 REPLIES 3

mrks_js
Champ in-the-making
Champ in-the-making
i receive a similar exception

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'siteService_permissionBootstrap' defined in class path resource [alfresco/site-services-context.xml]: Invocation of init method failed; nested exception is org.alfresco.repo.security.permissions.impl.model.PermissionModelException: 09130000 Couldn't obtain DTD schema to validate permission model.

bbougon
Champ in-the-making
Champ in-the-making
Hi,

I had to remove all my extensions to pass through this issue. Now I am facing another one, the ehcache!

jlesage
Confirmed Champ
Confirmed Champ
I had same problem with Alfresco 3.4 SP5.
Simply define the property dtdSchema in your definition of permissionsModelDAO bean.

   <bean id='permissionsModelDAO'
      class="org.alfresco.repo.security.permissions.impl.model.PermissionModel"
      init-method="init">
      <property name="model">
         <value>alfresco/extension/model/permissionDefinitions.xml</value>
      </property>
        <property name="dtdSchema">
            <value>alfresco/model/permissionSchema.dtd</value>
        </property>
      <property name="nodeService">
         <ref bean="nodeService" />
      </property>
      <property name="dictionaryService">
         <ref bean="dictionaryService" />
      </property>
   </bean>
Jérémie Lesage
https://jeci.fr