cancel
Showing results for 
Search instead for 
Did you mean: 

Problem to register custom behaviour onCreateNode policy

pnature
Star Contributor
Star Contributor

Hi.

I am new on Alfresco. I am using community version 5.2 

I am trying to register custom behaviour onCreateNode policy.

I was successful on my local maven project but when I has deployed AMP (according to Behaviours / Policies | Alfresco Documentation ) on Alfresco server I have failed.

AMP and JAR are on right places. I have found in documentation place tomcat/shared/classes/alfresco/extension/ for context.xml. When I have put it there Alfresco failed to start because of exception adressing model using ${project.artifactId}.

Please help me how to register custom behaviour onCreateNode policy right.

Thanks in advance

1 REPLY 1

pnature
Star Contributor
Star Contributor

I found that context.xml is not on path tomcat/shared/classes/alfresco/extension/

When I copied it on path (+ copy module folder into tomcat/shared/classes/alfresco/) and replace ${project.artifactId} with real name then it started to work.