Calvin,

This probably means that you are using, in your web.xml, the
WebAppResourceManagerFactory. It is not possible to write to that
resource manager. To be able to do so, you should replace the
following in your web.xml:

<context-param>
 <param-name>oxf.resources.priority.1</param-name>
 <param-value>org.orbeon.oxf.resources.WebAppResourceManagerFactory</param-value>
</context-param>

with something like this:

<context-param>
  <param-name>oxf.resources.flatfile.rootdir</param-name>
  <param-value>@path-to-my@/resources</param-value>
</context-param>
<context-param>
  <param-name>oxf.resources.priority.1</param-name>

<param-value>org.orbeon.oxf.resources.FlatFileResourceManagerFactory</param-value>
</context-param>

This enables the flat file resource manager, which supports write
operations.

-Erik

Calvin Smith wrote:

> hi,
>
> I got the url-generator to work by adding the content-type element that
> Erik mentioned, but now I'm having trouble with the serializer. Below is
> the config file for the serializer (same as for generator)that I'm trying
> to use, and the stack trace for the error.
>
> thanks,
>
> calvin
>
> 2003-07-25 17:31:51,399 INFO org.orbeon.oxf.processor.DebugProcessor -
> updateWorkflowLog:url-generator/serializer-config:
>
> <config xmlns:p="http://www.orbeon.com/oxf/pipeline";>
> <url>oxf:/app/logs/workflowLog.xml</url>
> <content-type>text/xml</content-type>
> </config>
> 2003-07-25 17:31:51,415 ERROR org.orbeon.oxf.servlet.ProcessorService -
> Exception with no location data
> org.orbeon.oxf.common.OXFException: Write Operation not supported
> at
> org.orbeon.oxf.resources.WebAppResourceManagerImpl.getOutputStream(WebAppResourceManagerImpl.java:117)
> at
> org.orbeon.oxf.resources.PriorityResourceManagerImpl$6.run(PriorityResourceManagerImpl.java:145)
> at
> org.orbeon.oxf.resources.PriorityResourceManagerImpl.delegate(PriorityResourceManagerImpl.java:172)
> at
> org.orbeon.oxf.resources.PriorityResourceManagerImpl.getOutputStream(PriorityResourceManagerImpl.java:143)


_______________________________________________
oxf-users mailing list
[EMAIL PROTECTED]
http://mail.orbeon.com/mailman/listinfo/oxf-users

Reply via email to