Hi Bill,

If I understand you correctly, your page-flow.xml only contains the
two declarations for hello4, taken from
tutorial/hello4/page-flow.xml. Can you also make sure that the xforms,
model and view attributes of the page elements correctly point to the
XForms, XPL and XSL files, by using the absolute URLs if necessary
(oxf:/path/to/file.xpl for example).

The page not found message typically happens when the Page Flow
Controller can't find a match between the browser's request and the
declared pages, via the path-info attribute. Please also make sure
that you also prepend the servlet context. For example, let's say that
you deploy orbeon.war into the /orbeon servlet context. A page entry
with a path-info value of "/tutorial/hello4" is accessed with the
following URL:

http://localhost:8080/orbeon/tutorial/hello4


> 1. > > How does one map the first page of an application to its War's URL?

The first page, or default page of an application is mapped to the "/"
path-info. In the example above, to access the default page with
http://localhost:8080/orbeon/, you need the following entry in
page-flow.xml:

<page path-info="/" ... />



>  2.
>
>     When does /resources/page-flow.xml get executed/interpreted?

It is interpreted with first time you access the application after
startup or after a change in that file.

>  3.
>
>     Can OXF run without struts?

Yes. Make sure that the web.xml doesn't contain any reference to the
Struts servlet. You can then safely delete the strus jar files from
WEB-INF/lib.

Regards,
Julien

Bill Winspur wrote:

I am putting my first, oxf webapp together, by extracting files from orbeon.war,

    WEB-INF/classes empty

    WEB-INF/lib full copy from orbeon.war

    WEB-INF/resources

    WEB-INF/resources/config full copy from orbeon.war

    WEB-INF/resources/context full copy from orbeon.war

    WEB-INF/resources/pages/ contains hello4 files fm orbeon.war

    WEB-INF/oxf-theme full copy from orbeon.war


My Immediate Goal
------- is to get the hello4 application to execute in my webapp. After that I'll incrementally modify the application as required. I do not need a portal, and have pruned web.xml and resources/page-flow.zml to remove declarations that I think are superfluous to my needs (see below). I realize that my pruning is likely to be a factor in the problem.


I've also removed all the example apps (except hello4's files).

The Problem Symptom
------- is that that I can not get page 1 of the app to appear. OXF (not the HTTP server) returns a page with the following message when I invoke my app.



/Page Not Found/

/Sorry, but the resource you have requested is not available on this server./

In getting to this point, I had various problems when invoking my web-app, indicating that the HTTP server can see the war. For example, an exception on the theme processing was cured by copying the oxf-theme directory to the web-app's tree.

Questions:

 1.

    How does one map the first page of an application to its War's URL?

 2.

    When does /resources/page-flow.xml get executed/interpreted?

 3.

    Can OXF run without struts?

Environment: XP pro, jakarta-tomcat-5.0.27

Thanks for any help you can give,

Bill.



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
orbeon-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/orbeon-user



------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ orbeon-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to