Jos,

You can use the command-line mode with or without the -r option, which sets a resources sandbox.

If you don't use the sandbox, the file hierarchy is changed, and the inclusion from processors.xml doesn't work, or rather it works but always includes the version of custom-processors.xml stored in orbeon.jar unless it can find a file called /config/custom-processors.xml on disk.

You can work around this by storing your custom-processors.xml file in orbeon.jar, or by using the -r option, for example (particular to my current setup, but you get the idea):

java -jar lib/orbeon.jar
     -r ../../../src/examples/cli oxf:/transform/transform.xpl

-Erik

Jos Vos wrote:
Hi again,

Related to my previous question (because I'm now trying to use
precompiled custom processors, which don't work either for me):

When I use a pipeline with a custom (precompiled Java) processor
that I have stored in WEB-INF/classes and define as processor in
WEB-INF/resources/config/custom-processors.xml, it works fine
from Tomcat, but from the command line I get the error that it
"Cannot fine processor factory with name ...".

I would have thought that it uses processors.xml from orbeon.jar,
which includes oxf:/config/custom-processors.xml, but the question
it whether this file is found (that is, does it know where to find
the "root" for looking for config/custom-processors.xml?).

Thanks again,

--
--    Jos Vos <[EMAIL PROTECTED]>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
orbeon-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to