Standalone application

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

Standalone application

clai-2
I have a very simple application(3 files - form, page-flow.xml, view).
How do I deploy as standalone? (instead of example framework)

Thanks.



--
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: Standalone application

Erik Bruchez
Administrator
We do not yet have good doc about this, but assuming OPS 3.0 beta, you
should be abel to get rid of pretty much all the files and directories
under WEB-INF/resources, except:

o config
o ops
o page-flow.xml

You should also be able to remove most of the content of page-flow.xml
(all the <page> entries), and put your own page definitions there. This
will give you a quite minimal set of files.

-Erik

[hidden email] wrote:
> I have a very simple application(3 files - form, page-flow.xml, view).
> How do I deploy as standalone? (instead of example framework)
>
> Thanks.




--
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: Re: Standalone application

clai-2
Using OPS 2.8 and trying to set up an independent application:

1. I've cleared out the resources folder except for the config folder and the page-flow.xml.

2. I've removed all pages from the page-flow, and put my own in as follows:

<page id="toolEval" path-info="/toolEvaluation" model="/toolEvaluation/page-flow.xml"/>

3. I've added a folder, "toolEvaluation", to resources. I know the application in toolEvaluation works in the Orbeon demo environment.

All I get is HTTP Status 500 page.

Can you help?



--
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: Standalone application

Erik Bruchez
Administrator
Clai,

Try also keeping the "oxf-theme" directory. If that doesn't work, is
there any way you could send a reproducible case?

With OPS 3.0, doing this is a little easier, as there are clearly to
directories to keep: "config" (user-customizable) and "ops" (usually
not user-customizable).

-Erik

[hidden email] wrote:
 > Using OPS 2.8 and trying to set up an independent application:
 >
 > 1. I've cleared out the resources folder except for the config folder
and the page-flow.xml.
 >
 > 2. I've removed all pages from the page-flow, and put my own in as
follows:
 >
 > <page id="toolEval" path-info="/toolEvaluation"
model="/toolEvaluation/page-flow.xml"/>
 >
 > 3. I've added a folder, "toolEvaluation", to resources. I know the
application in toolEvaluation works in the Orbeon demo environment.
 >
 > All I get is HTTP Status 500 page.
 >
 > Can you help?





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