On Sat, May 23, 2009 at 6:02 PM, Raymond Feng <[email protected]> wrote:

> 2) If 1) is not present, then we look for init parameters whose name starts
> with "contribution." . They are used to configure SCA contributions. The
> location can be relative to the root of the webapp or an absolute URL. (It
> seems that init parameters cannot have the same name and I use the
> "contribution." prefix to allow multiple occurrences.)
>

The way we got around needing the clunky numeric suffix when we had
this before is to have the parameter point at a folder containing
contributions instead one parameter for each contribution. Note also
that reading files like this is actually not allowed in the web
container, we get away with it in containers like Tomcat but in some
others it doesn't work. A way around that is to use JNDI URL
resources, but they also can be a bit clunky to set up in some
containers.

  ...ant

Reply via email to