AnsweredAssumed Answered

Unable to construct action

Question asked by alouw on Jan 8, 2010
I have defined an action with an evaluator in my web-client-config-custom.xml file. This web-client-config-custom file is contained in a jar file deployed into my "tomcat\webapps\alfresco\WEB-INF\lib" folder (lets call it abc.jar).

During the building of the Action elements (in org.alfresco.web.config.ActionsElementReader) an exception is thrown complaining that it is "Unable to construct action" because it cannot find my evaluator's class. This class does exist but in a different jar file, also deployed to the lib folder.

Changing the evaluator's class to a java class contained in the same jar file (abc.jar) works fine.

Should it be possible to reference a class declared in another jar file as an action evaluator?

This looks like a classloader issue, but could somebody please point me in the right direction to solve this?

Outcomes