Login  Register

Re: Orbeon Custom Processors

Posted by Erik Bruchez on Dec 16, 2009; 3:29pm
URL: https://discuss.orbeon.com/Orbeon-Custom-Processors-tp965063p965285.html

Randy,

On Tue, Dec 15, 2009 at 3:31 PM, Randy Smith <[hidden email]> wrote:
> All,
> Note, if someone has replied I may have missed it because my ops mailing
> list must have expired. A forward of the answer if one exists would be nice.
> Thanks! :-)

You can always check Nabble to see if posts/answers went through:

http://www.nabble.com/ObjectWeb-OPS---Users-f2537.html

> I read the documentation on the Java Processors but I have the following
> questions:
>    1. Do I have to have a /java directory somewhere (i.e. sourcepath=
> oxf./java) in the "resources" for the Java code to be compiled?

The Java processor is meant to compile the Java files you provide.
They don't need to be under a "java" directory. But you need to run
Orbeon Forms with a JDK, not a JRE, so that  the Java compiler is
available.

>    2. I have the files in a directory with the "apps" under the "resources"
> directory but it is not called /java. I cannot tell if the Java code is
> being compiled when I refresh the browser that executes my XForm.

You might want to check if your Java processor at least is running. In
your log4j.xml, try putting a category for class:

org.orbeon.oxf.processor.JavaProcessor

and set it to debug mode.

-Erik


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws