AnsweredAssumed Answered

Custom transformation not able to read/write to/from temp

Question asked by kayachi on Jun 29, 2007
Latest reply on Jul 3, 2007 by steve
Hello all,

I'm a newbie to both Alfresco and Tomcat, so forgive me if my question is a foolish one! However, I've intensively searched the internet and found no reference to my problem.

I'm trying to implement a custom content transformation based on the  RuntimeExecutableContentTransformer class.
I've set up the appropriate .xml file and the transformer is loaded properly.

Here's the problem:
The invoked script (or executable) can't read and write the $target en $source files. ($CATALINA_HOME/temp/Alfresco/RuntimeExecutableContentTransformer_source_xxxxx.* and $CATALINA_HOME/temp/Alfresco/RuntimeExecutableContentTransformer_target_xxxxx.*)

It can however write to other files in this directory from the script, just not the ones created for that particular transformation.
The files seem to be locked, but I can modify them by hand from the linux shell, even while the transformation-process is running.

Alfresco is running under the root-context. File permissions are set appropriately.

I'm using the standard Tomcat/Alfresco 2.0 distributable with Debian Etch and MySQL 5.

Any help would be greatly appreciated.

K. Ayachi