Julien,

Thank you.  I would be happy to go the WAR file route
if that's what you recommend.  I was trying the
"from scratch" just to check that I really understand
what I am doing. If it's not a lot of your time, everything
else seems to be right as far as loading the servlet
and initializing the resources, but I get this exception:

Condition failed for every branch of choose: [(/request/request-path = '/')]
at
org.orbeon.oxf.processor.pipeline.ChooseProcessor$ConcreteChooseProcessor.st
art(ChooseProcessor.java:375

I have the following files:

/helloworld.xpl
/config/controller.xml
/config/licence.xml
/config/log4j.xml
/config/properties.xml

as well as the libraries and web.xml (tomcat 4) config file.

So, I think it just boils down to my properties.xml file:

<properties>
    <property type="string"  name="oxf.license"
value="oxf:/config/license.xml"/>
    <property type="string"  name="oxf.servlet.log4j"
value="oxf:/config/log4j.xml"/>
    <property type="integer" name="oxf.cache.size"
value="200"/>
    <property type="string"  name="oxf.xslt.transformer"
value="interpreter"/>
    <property type="boolean"  name="oxf.validation.processor"
value="true"/>
    <property type="boolean"  name="oxf.validation.user"
value="true"/>
    <property type="boolean"  name="oxf.validation.xforms"
value="true"/>
    <property type="string"  name="oxf.servlet.processor"
value="oxf/processor/webapp-controller"/>
    <property type="string"  name="oxf.servlet.input.controller"
value="oxf:/config/controller.xml"/>
    <property type="string"  name="oxf.java.jarpath"
value="M:/OXF/lib;M:/OXF/lib/cli"/>
</properties>


My controller.xml file:

<config xmlns="http://www.orbeon.com/oxf/controller";
xmlns:xu="http://www.xmldb.org/xupdate";>
 <page path-info="/" view="oxf:/helloworld.xpl"/>
</config>

and the view file:

<p:config xmlns:p="http://www.orbeon.com/oxf/pipeline";>
 <p:param type="output" name="data"/>
 <p:processor uri="oxf/processor/webapp-controller">
  <p:input name="data">
   <html>
    <body>Hello, World!</body>
   </html>
  </p:input>
  <p:output name="data" ref="data"/>
 </p:processor>
</p:config>

I was under the impression that there is a default init, epilogue
etc., pipelines, unless overridden.

Many thanks,
Hank


----- Original Message ----- 
From: "Julien Mercay" <[EMAIL PROTECTED]>
To: "OXF Users" <[EMAIL PROTECTED]>
Sent: Thursday, August 28, 2003 3:55 PM
Subject: Re: First app. file set


> Hi Hank,
>
> The easiest way to get up to speed with OXF is to modify the
> distribution WAR file. If you decide to start over and create your own
> WAR file, the following directories should be copied in a similar
> location:
>
> WEB-INF/resources/config
>     (contains the OXF startup files, and the epilogue)
>
> WEB-INF/resources/oxf-theme
>     (contains the default theme, called from the epilogue. Feel free to
>      modify or replace these files)
>
> If you still experience errors, please send me the first exception
> displayed in the browser, or in the Tomcat console.
>
> Regards,
> Julien
>
> Hank Ratzesberger wrote:
>
> > I am having a few problems setting up my first application
> > by copying the files from the oxf.war file.
> >
> > The init.xpl, error.xpl, etc., reference "oxf-theme" files.
> >
> > I am not sure where my errors end and the errors they trigger
> > begin.
> >
> > In any case, thanks.
> >
> > --Hank
> >
> > ============================================
> > Replying to a list?  I'll get my copy there!
> >
> > Hank Ratzesberger
> > http://crustal.ucsb.edu/ | http://neesgrid.org/
> > Institute for Crustal Studies
> > University of California, Santa Barbara
> > ============================================
> > _______________________________________________
> > oxf-users mailing list
> > [EMAIL PROTECTED]
> > http://mail.orbeon.com/mailman/listinfo/oxf-users
>
>
> _______________________________________________
> oxf-users mailing list
> [EMAIL PROTECTED]
> http://mail.orbeon.com/mailman/listinfo/oxf-users
>

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

Reply via email to