Hi Falks,
I want to deploy new application in a separate WAR method, I have deployed the OPS as a separate war correctly,
I want to add a new sub application inside that(OPS separate war), For a example xforms-bookcast application in OPS.
I tried this way,
1) created a resources directory in webapps/ops-test/WEB-INF, (ops-test is my separate war application)
2) created a directory named bookcast inside webapps/ops-test/WEB_INF/resources.
3) Copied all the things was in webapps/ops/WEB-INF/resources/bookcast to webapps/ops/WEB-INF/resources/bookcast.
4) Try to access using "http://localhost:8080/ops-test/xforms-bookcast/". This gives an error, But "
http://localhost:8080/ops/xforms-bookcast/" views as expected.
Please help me,
PS
Also I want to dispatch (server side forward) a request to a xhtml, Is this correct code for do that Dispatcher d= req.gerRequestDispatcher() d.forward("/test.xhtml"); Thanks, Chamin
Thanks to all
-- Chaminda Amarasinghe, -- 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
On Nov 16, 2007, at 1:09 AM, Chaminda Amarasinghe wrote: > Hi Falks, > > I want to deploy new application in a separate WAR method, I have > deployed the OPS as a separate war correctly, > I want to add a new sub application inside that(OPS separate war), > For a example xforms-bookcast application in OPS. > > I tried this way, > 1) created a resources directory in webapps/ops-test/WEB-INF, (ops- > test is my separate war application) Or maybe I don't understand which WAR is which. In "separate" deployment, you have your own WAR file, say "/my-app", and another WAR containing the Orbeon Forms stuff, say "/ops". "/ops", being initially an unmodified Orbeon Forms WAR, must have a "WEB-INF/resources" directory. So where are you trying to create that "resources" directory? -Erik -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.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 OW2 mailing lists service home page: http://www.ow2.org/wws |
On 11/17/07, Erik Bruchez <[hidden email]> wrote:
I created resources directory in my-app. lets say i want /my-app/hello-world/ link how should be my folder structure.
Thanks Erik, -Erik -- Chaminda Amarasinghe, Software Engineer, EFutures (pvt) Ltd, No 46 ½, Castle Street, Colombo 08 Sri Lanka Voice +94 773 538 238 (Mob) +94 115 333 633 (Off) +94 372 247 051 (Res) -- 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Since my-app is not an Orbeon Forms WAR, creating a WEB-INF/resources
directory there won't do anything at all. The idea behind separate deployment is that your application (my-app) pretty much limits itself to sending XForms pages to Orbeon Forms (in addition to doing whatever it wants to do with Java, JSP, etc.). If you want to leverage more of the Orbeon Forms functionality in separate deployment, like the PFC or pipelines, then you have to put those resources in the Orbeon Forms WAR. -Erik On Nov 18, 2007, at 4:49 AM, Chaminda Amarasinghe wrote: > > > On 11/17/07, Erik Bruchez <[hidden email]> wrote: > On Nov 16, 2007, at 1:09 AM, Chaminda Amarasinghe wrote: > > > Hi Falks, > > > > I want to deploy new application in a separate WAR method, I have > > deployed the OPS as a separate war correctly, > > I want to add a new sub application inside that(OPS separate war), > > For a example xforms-bookcast application in OPS. > > > > I tried this way, > > 1) created a resources directory in webapps/ops-test/WEB-INF, (ops- > > test is my separate war application) > > Mmh, there should already be a resources directory there, right? > > Or maybe I don't understand which WAR is which. In "separate" > deployment, you have your own WAR file, say "/my-app", and another WAR > containing the Orbeon Forms stuff, say "/ops". "/ops", being initially > an unmodified Orbeon Forms WAR, must have a "WEB-INF/resources" > directory. > > So where are you trying to create that "resources" directory? > > > I created resources directory in my-app. lets say i want /my-app/ > hello-world/ link how should be my folder structure. > > Thanks Erik, > > -Erik > > -- > Orbeon Forms - Web Forms for the Enterprise Done the Right Way > http://www.orbeon.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 > OW2 mailing lists service home page: http://www.ow2.org/wws > > > > > -- > Chaminda Amarasinghe, > Software Engineer, > EFutures (pvt) Ltd, > No 46 ½, Castle Street, > Colombo 08 > Sri Lanka > Voice > +94 773 538 238 (Mob) > +94 115 333 633 (Off) > +94 372 247 051 (Res) > -- > 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 > OW2 mailing lists service home page: http://www.ow2.org/wws Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Thanks Erik,
|
Free forum by Nabble | Edit this page |