AnsweredAssumed Answered

Alfresco 3.3 audit Trail configuration

Question asked by uptime365 on Sep 16, 2010
Latest reply on Sep 27, 2010 by uptime365
Hi all,

I am getting an error as below with my alfresco after I enabled audit trail

alfresco/bootstrap-context.xml]: Invocation of init method failed; nested exception is org.alfresco.repo.audit.model.AuditModelException: 08160001 Failed to load audit model: file:/opt/alfresco/tomcat/shared/classes/alfresco/extension/audit/auditConfig.xml

I have the below enabled in /opt/alfresco/tomcat/shared/classes/alfresco-global.properties

audit.enabled=true
audit.useNewConfig=true

I have copied the /opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/auditConfig.xml to the directory /opt/alfresco/tomcat/shared/classes/alfresco/extension/audit and have changed the line as below

<Audit xmlns="http://www.alfresco.org/model/audit/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" enabled="true" auditInternal="true" mode="all">

A conf file /opt/alfresco/tomcat/shared/classes/alfresco/extension/audit/custom-audit-services-context.xml with content as below has also been created.

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>

<beans>
<!– The configuration of the audit model –>

<bean id="auditConfiguration" class="org.alfresco.repo.audit.AuditConfigurationImpl">
<property name="config">
<value>alfresco/extension/audit/auditConfig.xml</value>
</property>
</bean>
</beans>

Can someone please let me know where i'm going wrong.

Thanks
Uptime

Outcomes