AnsweredAssumed Answered

Connection to Repository

Question asked by cobolus on Jul 30, 2012
Latest reply on Sep 12, 2012 by pramodkhare
Hi !

I have alfresco 4.0 installed and want to add an extention to it (a service that stores files to alfresco using apache camel routes). The problem is that the following line in my code fails:
ApplicationContext ctx = new ClassPathXmlApplicationContext("classpath:alfresco/application-context.xml");

It doesn't find the alfresco/application-context.xml but I could find it under /webapps/alfresco/WEB-INF/classes/alfresco/application-context.xml . Do I need to include this also in my web.xml for my war file or what is the correct way to setup that connection between the alfresco.war and myservice.war ?

thanks for you help