custom-processors.xml

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

custom-processors.xml

Oliver Charlet-2

Hi there,

 

I try to configure my own custom processors. I added the custom-processors.xml into /config and made sure the classes match the entries and are in the classpath.

Nevertheless, OPS never finds the new processors and tells me:

Exception         Class org.orbeon.oxf.common.ValidationException

Message          Cannot find processor factory with name "{http://www.orbeon.com/oxf/processors}jbpm-deploy"

 

This is my custom-processors.xml:

<?xml version="1.0" encoding="UTF-8"?>

<processors>

 

    <processor name="oxf:jbpm-deploy" uri="oxf/processor/jbpm-deploy">

      <class name="org.cobold.orbeon.jbpm.processor.JbpmDeploymentProcessor"/>

    </processor>

 

</processors>

 

Can somebody please tell me, what I am doing wrong?

 

Thank a lot,

:oliver

 

Oliver Charlet

Sofwareentwicklung

 

product + concept GmbH

Monbijouplatz 5

10178 Berlin

 

Fax: +49 30 / 6980 80 60

[hidden email]

www.productandconcept.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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: custom-processors.xml

Stephen Bayliss

I think you need to declare the oxf namespace prefix in your file, ie <processors xmlns:oxf=http://www.orbeon.com/oxf/processors>

 

The error suggests it is not a problem loading the class, but a problem finding the processor definition itself I think

 

 

 


From: Oliver Charlet [mailto:[hidden email]]
Sent: 08 May 2006 13:57
To: [hidden email]
Subject: [ops-users] custom-processors.xml

 

Hi there,

 

I try to configure my own custom processors. I added the custom-processors.xml into /config and made sure the classes match the entries and are in the classpath.

Nevertheless, OPS never finds the new processors and tells me:

Exception         Class org.orbeon.oxf.common.ValidationException

Message          Cannot find processor factory with name "{http://www.orbeon.com/oxf/processors}jbpm-deploy"

 

This is my custom-processors.xml:

<?xml version="1.0" encoding="UTF-8"?>

<processors>

 

    <processor name="oxf:jbpm-deploy" uri="oxf/processor/jbpm-deploy">

      <class name="org.cobold.orbeon.jbpm.processor.JbpmDeploymentProcessor"/>

    </processor>

 

</processors>

 

Can somebody please tell me, what I am doing wrong?

 

Thank a lot,

:oliver

 

Oliver Charlet

Sofwareentwicklung

 

product + concept GmbH

Monbijouplatz 5

10178 Berlin

 

Fax: +49 30 / 6980 80 60

[hidden email]

www.productandconcept.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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

AW: custom-processors.xml

Oliver Charlet-2

Doesn’t make a difference… It seems to me, that the x:include of „custom-processors.xml“ is not executed at all

I already tried to define my own namespace, but that didn’t make a difference either.

 

Oliver Charlet

Softwareentwicklung

 

product + concept GmbH


Von: Stephen Bayliss [mailto:[hidden email]]
Gesendet: Montag, 8. Mai 2006 16:06
An: [hidden email]
Betreff: RE: [ops-users] custom-processors.xml

 

I think you need to declare the oxf namespace prefix in your file, ie <processors xmlns:oxf=http://www.orbeon.com/oxf/processors>

 

The error suggests it is not a problem loading the class, but a problem finding the processor definition itself I think

 

 

 


From: Oliver Charlet [mailto:[hidden email]]
Sent: 08 May 2006 13:57
To: [hidden email]
Subject: [ops-users] custom-processors.xml

 

Hi there,

 

I try to configure my own custom processors. I added the custom-processors.xml into /config and made sure the classes match the entries and are in the classpath.

Nevertheless, OPS never finds the new processors and tells me:

Exception         Class org.orbeon.oxf.common.ValidationException

Message          Cannot find processor factory with name "{http://www.orbeon.com/oxf/processors}jbpm-deploy"

 

This is my custom-processors.xml:

<?xml version="1.0" encoding="UTF-8"?>

<processors>

 

    <processor name="oxf:jbpm-deploy" uri="oxf/processor/jbpm-deploy">

      <class name="org.cobold.orbeon.jbpm.processor.JbpmDeploymentProcessor"/>

    </processor>

 

</processors>

 

Can somebody please tell me, what I am doing wrong?

 

Thank a lot,

:oliver

 

Oliver Charlet

Sofwareentwicklung

 

product + concept GmbH

Monbijouplatz 5

10178 Berlin

 

Fax: +49 30 / 6980 80 60

[hidden email]

www.productandconcept.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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: custom-processors.xml

Pepijn Noltes
In reply to this post by Oliver Charlet-2
I also needed to remove the custom-processors.xml file in the ops.jar, to get a custom processor working.
 
Hope that helps,
 Pepijn


From: Stephen Bayliss [mailto:[hidden email]]
Sent: maandag 8 mei 2006 16:06
To: [hidden email]
Subject: RE: [ops-users] custom-processors.xml

I think you need to declare the oxf namespace prefix in your file, ie <processors xmlns:oxf=http://www.orbeon.com/oxf/processors>

 

The error suggests it is not a problem loading the class, but a problem finding the processor definition itself I think

 

 

 


From: Oliver Charlet [mailto:[hidden email]]
Sent: 08 May 2006 13:57
To: [hidden email]
Subject: [ops-users] custom-processors.xml

 

Hi there,

 

I try to configure my own custom processors. I added the custom-processors.xml into /config and made sure the classes match the entries and are in the classpath.

Nevertheless, OPS never finds the new processors and tells me:

Exception         Class org.orbeon.oxf.common.ValidationException

Message          Cannot find processor factory with name "{http://www.orbeon.com/oxf/processors}jbpm-deploy"

 

This is my custom-processors.xml:

<?xml version="1.0" encoding="UTF-8"?>

<processors>

 

    <processor name="oxf:jbpm-deploy" uri="oxf/processor/jbpm-deploy">

      <class name="org.cobold.orbeon.jbpm.processor.JbpmDeploymentProcessor"/>

    </processor>

 

</processors>

 

Can somebody please tell me, what I am doing wrong?

 

Thank a lot,

:oliver

 

Oliver Charlet

Sofwareentwicklung

 

product + concept GmbH

Monbijouplatz 5

10178 Berlin

 

Fax: +49 30 / 6980 80 60

[hidden email]

www.productandconcept.com

 


--
The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. ASML is neither liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt.



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: custom-processors.xml

Pascal Heus
In reply to this post by Oliver Charlet-2
Olivier:
Below my custom-processor.xml file. I use my own namespace instead of oxf (not sure if this makes a difference).
Also copied the processor .jar file in the WEB-INF/lib folder.
hope this helps,
*P

<processors xmlns:bdbxml="http://microdataconsulting.org/orbeon/bdbxml">
     <processor name="bdbxml:processor">
         <class name="org.microdataconsulting.orbeon.bdbxml.bdbxmlProcessor"/>
     </processor>
</processors>


Oliver Charlet wrote:

Hi there,

 

I try to configure my own custom processors. I added the custom-processors.xml into /config and made sure the classes match the entries and are in the classpath.

Nevertheless, OPS never finds the new processors and tells me:

Exception         Class org.orbeon.oxf.common.ValidationException

Message          Cannot find processor factory with name "{http://www.orbeon.com/oxf/processors}jbpm-deploy"

 

This is my custom-processors.xml:

<?xml version="1.0" encoding="UTF-8"?>

<processors>

 

    <processor name="oxf:jbpm-deploy" uri="oxf/processor/jbpm-deploy">

      <class name="org.cobold.orbeon.jbpm.processor.JbpmDeploymentProcessor"/>

    </processor>

 

</processors>

 

Can somebody please tell me, what I am doing wrong?

 

Thank a lot,

:oliver

 

Oliver Charlet

Sofwareentwicklung

 

product + concept GmbH

Monbijouplatz 5

10178 Berlin

 

Fax: +49 30 / 6980 80 60

[hidden email]

www.productandconcept.com

 


-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: [hidden email] For general help: [hidden email] ObjectWeb mailing lists service home page: http://www.objectweb.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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

AW: custom-processors.xml

Oliver Charlet-2
In reply to this post by Pepijn Noltes

Hi folk, Pepijn is right, the custom-processors.xml is loaded first and has to be removed.

Eric: maybe the build.xml in the repository should be changed here. I don’t see why the

Custom-processor.xml should be in the regular .jar file.

Thanks for your help, guys!

 

Oliver Charlet

Softwareentwicklung

 

product + concept GmbH


Von: Pepijn Noltes [mailto:[hidden email]]
Gesendet: Montag, 8. Mai 2006 16:20
An: [hidden email]
Betreff: RE: [ops-users] custom-processors.xml

 

I also needed to remove the custom-processors.xml file in the ops.jar, to get a custom processor working.

 

Hope that helps,

 Pepijn

 


From: Stephen Bayliss [mailto:[hidden email]]
Sent: maandag 8 mei 2006 16:06
To: [hidden email]
Subject: RE: [ops-users] custom-processors.xml

I think you need to declare the oxf namespace prefix in your file, ie <processors xmlns:oxf=http://www.orbeon.com/oxf/processors>

 

The error suggests it is not a problem loading the class, but a problem finding the processor definition itself I think

 

 

 


From: Oliver Charlet [mailto:[hidden email]]
Sent: 08 May 2006 13:57
To: [hidden email]
Subject: [ops-users] custom-processors.xml

 

Hi there,

 

I try to configure my own custom processors. I added the custom-processors.xml into /config and made sure the classes match the entries and are in the classpath.

Nevertheless, OPS never finds the new processors and tells me:

Exception         Class org.orbeon.oxf.common.ValidationException

Message          Cannot find processor factory with name "{http://www.orbeon.com/oxf/processors}jbpm-deploy"

 

This is my custom-processors.xml:

<?xml version="1.0" encoding="UTF-8"?>

<processors>

 

    <processor name="oxf:jbpm-deploy" uri="oxf/processor/jbpm-deploy">

      <class name="org.cobold.orbeon.jbpm.processor.JbpmDeploymentProcessor"/>

    </processor>

 

</processors>

 

Can somebody please tell me, what I am doing wrong?

 

Thank a lot,

:oliver

 

Oliver Charlet

Sofwareentwicklung

 

product + concept GmbH

Monbijouplatz 5

10178 Berlin

 

Fax: +49 30 / 6980 80 60

[hidden email]

www.productandconcept.com

 


--
The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. ASML is neither liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt.



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: custom-processors.xml

Ryan Puddephatt
In reply to this post by Pascal Heus

Oliver/Pepijn,

            I have custom processors and haven’t needed to remove the file from the ops.jar, my xml looks like

 

<processors>

    <processor name="oxf:excel-to-xml"

        uri="oxf/processor/excel-to-xml">

        <class name="com.teleflex.commontools.exceltools.ExcelStream"/>

    </processor>

    <processor name="oxf:saxon8sa">

        <instantiation name="oxf:generic-xslt-2.0">

        <!--instantiation name="oxf:trax"-->

            <input name="transformer">

                <config>

                    <class>com.saxonica.SchemaAwareTransformerFactory</class>

                </config>

            </input>

        </instantiation>

    </processor>

</processors>

 

Runs without a problem

 

Ryan

 

Ryan Puddephatt

Software Engineer

TFX Group - IT UK

1 Michaelson Square

Livingston

West Lothian

Scotand

EH54 7DP

 

* [hidden email]

( 01506 407 110

7  01506 407 108

 


From: Pascal Heus [mailto:[hidden email]]
Sent: 08 May 2006 15:26
To: [hidden email]
Subject: Re: [ops-users] custom-processors.xml

 

Olivier:
Below my custom-processor.xml file. I use my own namespace instead of oxf (not sure if this makes a difference).
Also copied the processor .jar file in the WEB-INF/lib folder.
hope this helps,
*P

<processors xmlns:bdbxml="http://microdataconsulting.org/orbeon/bdbxml">
     <processor name="bdbxml:processor">
         <class name="org.microdataconsulting.orbeon.bdbxml.bdbxmlProcessor"/>
     </processor>
</processors>


Oliver Charlet wrote:

Hi there,

 

I try to configure my own custom processors. I added the custom-processors.xml into /config and made sure the classes match the entries and are in the classpath.

Nevertheless, OPS never finds the new processors and tells me:

Exception         Class org.orbeon.oxf.common.ValidationException

Message          Cannot find processor factory with name "{http://www.orbeon.com/oxf/processors}jbpm-deploy"

 

This is my custom-processors.xml:

<?xml version="1.0" encoding="UTF-8"?>

<processors>

 

    <processor name="oxf:jbpm-deploy" uri="oxf/processor/jbpm-deploy">

      <class name="org.cobold.orbeon.jbpm.processor.JbpmDeploymentProcessor"/>

    </processor>

 

</processors>

 

Can somebody please tell me, what I am doing wrong?

 

Thank a lot,

:oliver

 

Oliver Charlet

Sofwareentwicklung

 

product + concept GmbH

Monbijouplatz 5

10178 Berlin

 

Fax: +49 30 / 6980 80 60

[hidden email]

www.productandconcept.com

 

 



 
 
--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: [hidden email]
For general help: [hidden email]
ObjectWeb mailing lists service home page: http://www.objectweb.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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: custom-processors.xml

Alessandro  Vernet
Administrator
All,

I guess this will depend on the order in which resource managers are
chained. If in your web.xml the ClassLoaderResourceManagerFactory
comes before the WebAppResourceManagerFactory or
FilesystemResourceManagerFactory (depending on which one you are
using), then it won't find your custom-processors.xml.

I recommend putting the resource manager used to load your resources
first, instead of removing the custom-processors.xml from ops.jar.

Alex

On 5/8/06, Ryan Puddephatt <[hidden email]> wrote:

>
>
>
>
> Oliver/Pepijn,
>
>             I have custom processors and haven't needed to remove the file
> from the ops.jar, my xml looks like
>
>
>
> <processors>
>
>     <processor name="oxf:excel-to-xml"
>
>         uri="oxf/processor/excel-to-xml">
>
>         <class
> name="com.teleflex.commontools.exceltools.ExcelStream"/>
>
>     </processor>
>
>     <processor name="oxf:saxon8sa">
>
>         <instantiation name="oxf:generic-xslt-2.0">
>
>         <!--instantiation name="oxf:trax"-->
>
>             <input name="transformer">
>
>                 <config>
>
>
> <class>com.saxonica.SchemaAwareTransformerFactory</class>
>
>                 </config>
>
>             </input>
>
>         </instantiation>
>
>     </processor>
>
> </processors>
>
>
>
> Runs without a problem
>
>
>
> Ryan
>
>
>
>
> Ryan Puddephatt
>
> Software Engineer
>
> TFX Group - IT UK
>
> 1 Michaelson Square
>
> Livingston
>
> West Lothian
>
> Scotand
>
> EH54 7DP
>
>
>
> * [hidden email]
>
> ( 01506 407 110
>
> 7  01506 407 108
>
>
>
>
>  ________________________________
>
>
> From: Pascal Heus [mailto:[hidden email]]
>  Sent: 08 May 2006 15:26
>
>  To: [hidden email]
>  Subject: Re: [ops-users] custom-processors.xml
>
>
>
>
>
>
> Olivier:
>  Below my custom-processor.xml file. I use my own namespace instead of oxf
> (not sure if this makes a difference).
>  Also copied the processor .jar file in the WEB-INF/lib folder.
>  hope this helps,
>  *P
>
>  <processors
> xmlns:bdbxml="http://microdataconsulting.org/orbeon/bdbxml">
>       <processor name="bdbxml:processor">
>           <class
> name="org.microdataconsulting.orbeon.bdbxml.bdbxmlProcessor"/>
>       </processor>
>  </processors>
>
>  Oliver Charlet wrote:
>
> Hi there,
>
>
>
> I try to configure my own custom processors. I added the
> custom-processors.xml into /config and made sure the classes match the
> entries and are in the classpath.
>
> Nevertheless, OPS never finds the new processors and tells me:
>
> Exception         Class
> org.orbeon.oxf.common.ValidationException
>
> Message          Cannot find processor factory with name
> "{http://www.orbeon.com/oxf/processors}jbpm-deploy"
>
>
>
> This is my custom-processors.xml:
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <processors>
>
>
>
>     <processor name="oxf:jbpm-deploy" uri="oxf/processor/jbpm-deploy">
>
>       <class
> name="org.cobold.orbeon.jbpm.processor.JbpmDeploymentProcessor"/>
>
>     </processor>
>
>
>
> </processors>
>
>
>
> Can somebody please tell me, what I am doing wrong?
>
>
>
> Thank a lot,
>
> :oliver
>
>
>
> Oliver Charlet
>
> Sofwareentwicklung
>
>
>
> product + concept GmbH
>
> Monbijouplatz 5
>
> 10178 Berlin
>
>
>
> Fax: +49 30 / 6980 80 60
>
> [hidden email]
>
> www.productandconcept.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
> ObjectWeb mailing lists service home page: http://www.objectweb.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
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>

--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet