Cannot find processor factory with name "{http://www.orbeon.com/oxf/processors}servlet-include"

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Cannot find processor factory with name "{http://www.orbeon.com/oxf/processors}servlet-include"

Jeremiah Jahn-4
I'm getting the following error:
Cannot find processor factory with name
"{http://www.orbeon.com/oxf/processors}servlet-include"

with the following xpl:

<p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"
    xmlns:oxf="http://www.orbeon.com/oxf/processors">
        <p:processor name="oxf:servlet-include">
                <p:input name="config">
                        <config>
                                <servlet-name>reports</servlet-name>
                                <context-path>index.jsp</context-path>
                                <tidy-options>
                                        <show-warnings>false</show-warnings>
                                        <quiet>true</quiet>
                                </tidy-options>
                        </config>
                </p:input>
                <p:output name="data" id="report" />
        </p:processor>
</p:config>

I can't seem to find where to configure this.

should it be in the web.xml or the properties.xml or where?

thanks for any help
-jj-


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Cannot find processor factory with name "{http://www.orbeon.com/oxf/processors}servlet-include"

Jeremiah Jahn-4
I alo can't find any docs on the servlet filter generator, so I don't
know If I should be using that instead. I have lots of jsp pages that
get forwarded to from servlets, the end results being xforms/xhtml
that need to be run the pipelines. what is the standard way of dealing
with these situations?

On Tue, Aug 25, 2009 at 6:53 AM, Jeremiah Jahn<[hidden email]> wrote:

> I'm getting the following error:
> Cannot find processor factory with name
> "{http://www.orbeon.com/oxf/processors}servlet-include"
>
> with the following xpl:
>
> <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"
>    xmlns:oxf="http://www.orbeon.com/oxf/processors">
>        <p:processor name="oxf:servlet-include">
>                <p:input name="config">
>                        <config>
>                                <servlet-name>reports</servlet-name>
>                                <context-path>index.jsp</context-path>
>                                <tidy-options>
>                                        <show-warnings>false</show-warnings>
>                                        <quiet>true</quiet>
>                                </tidy-options>
>                        </config>
>                </p:input>
>                <p:output name="data" id="report" />
>        </p:processor>
> </p:config>
>
> I can't seem to find where to configure this.
>
> should it be in the web.xml or the properties.xml or where?
>
> thanks for any help
> -jj-
>


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Cannot find processor factory with name "{http://www.orbeon.com/oxf/processors}servlet-include"

Jeremiah Jahn-4
Have I just goofed up my classpath somehow? I've found the entry for
the servlet_include processor, in orbeon.jar but I'm I missing
something that allows an automatic include of this processors.xml or
something in my classpath. perhaps an XInclude resolver or something?
I'm not getting any class not found errors, and I have both the webapp
resource manager and class loader resource manager enabled. Is there
something I need to do to get them to search slightly differently?

I'm going to start groveling soon.

On Tue, Aug 25, 2009 at 7:21 AM, Jeremiah Jahn<[hidden email]> wrote:

> I alo can't find any docs on the servlet filter generator, so I don't
> know If I should be using that instead. I have lots of jsp pages that
> get forwarded to from servlets, the end results being xforms/xhtml
> that need to be run the pipelines. what is the standard way of dealing
> with these situations?
>
> On Tue, Aug 25, 2009 at 6:53 AM, Jeremiah Jahn<[hidden email]> wrote:
>> I'm getting the following error:
>> Cannot find processor factory with name
>> "{http://www.orbeon.com/oxf/processors}servlet-include"
>>
>> with the following xpl:
>>
>> <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"
>>    xmlns:oxf="http://www.orbeon.com/oxf/processors">
>>        <p:processor name="oxf:servlet-include">
>>                <p:input name="config">
>>                        <config>
>>                                <servlet-name>reports</servlet-name>
>>                                <context-path>index.jsp</context-path>
>>                                <tidy-options>
>>                                        <show-warnings>false</show-warnings>
>>                                        <quiet>true</quiet>
>>                                </tidy-options>
>>                        </config>
>>                </p:input>
>>                <p:output name="data" id="report" />
>>        </p:processor>
>> </p:config>
>>
>> I can't seem to find where to configure this.
>>
>> should it be in the web.xml or the properties.xml or where?
>>
>> thanks for any help
>> -jj-
>>
>


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Cannot find processor factory with name "{http://www.orbeon.com/oxf/processors}servlet-include"

Alessandro Vernet
Administrator
Jeremiah,

Jeremiah Jahn-4 wrote
Have I just goofed up my classpath somehow? I've found the entry for
the servlet_include processor, in orbeon.jar but I'm I missing
something that allows an automatic include of this processors.xml [...]
You should use oxf:servlet-include-generator (instead of oxf:servlet-include). I think you have been mislead by the documentation page for "Other Generators" incorrectly spelling out the name of the processor. I fixed this in Git. You'll let us know if using the correct name for the processor works for you.

http://forge.ow2.org/tracker/index.php?func=detail&aid=314186&group_id=168&atid=350207

Alex
Reply | Threaded
Open this post in threaded view
|

Re: Re: Cannot find processor factory with name "{http://www.orbeon.com/oxf/processors}servlet-include"

Jeremiah Jahn-4
I went with a different tack. And have a handcrated filter that uses
the same context as my app, as well as a modified web.xml. That Refers
only OrbeonServlet, and not OrbeonServletDelegate for
/xforms-server/*, /xforms-render. That way I always get the
classloaders, and don't lose static values because of switching
classloaders. I also mapped /ops, /xbl, and /config to hit the main
servlet, and that picks up all of the resources I've been missing.
When jumping contexts my relative urls were being marked as /orbeon,
and this wouldn't do for my purposes. I'm sure there is a better way
to do it, but this is what I'm familiar with. I realize this is a
little off topic, but I'd noticed a number of other posts over time
where people were trying to use orbeon with jsp pages and servlets  in
a single context, that was the root context, so thought I'd post what
i did. It makes working with an embedded version of Jetty much easier.

Now if I could just convince you all to un-deprecate session persistence. :)

On Sun, Aug 30, 2009 at 7:53 PM, Alessandro  Vernet<[hidden email]> wrote:

>
> Jeremiah,
>
>
> Jeremiah Jahn-4 wrote:
>>
>> Have I just goofed up my classpath somehow? I've found the entry for
>> the servlet_include processor, in orbeon.jar but I'm I missing
>> something that allows an automatic include of this processors.xml [...]
>>
>
> You should use oxf:servlet-include-generator (instead of
> oxf:servlet-include). I think you have been mislead by the documentation
> page for "Other Generators" incorrectly spelling out the name of the
> processor. I fixed this in Git. You'll let us know if using the correct name
> for the processor works for you.
>
> http://forge.ow2.org/tracker/index.php?func=detail&aid=314186&group_id=168&atid=350207
>
> Alex
>
> -----
> Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
> Orbeon's Blog: http://www.orbeon.com/blog/
> Personal Blog: http://avernet.blogspot.com/
> Twitter - http://twitter.com/avernet
> --
> View this message in context: http://www.nabble.com/Cannot-find-processor-factory-with-name-%22%7Bhttp%3A--www.orbeon.com-oxf-processors%7Dservlet-include%22-tp25132812p25217145.html
> Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.com.
>
>
>
> --
> 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
>
>


--
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