Title: SV: Orion and WARs

Well,
orion/config/application.xml is more or less a normal unpackaged application with a (little bit different) descriptor located in the orion/config/ directory instead of under /applications/default/META-INF.

So what the lines below do is att the web-modules the the global-application named default and then deploy these web-apps on the default-web-site.


> -----Ursprungligt meddelande-----
> Fran: KirkYarina [mailto:[EMAIL PROTECTED]]
> Skickat: den 22 mars 2001 12:36
> Till: Orion-Interest
> Amne: RE: Orion and WARs
>
>
> Sorry, but that's the wrong answer.  The old struts deployed
> directly from
> their war files (we never tried anything newer), using the following:
>
> In $ORIONDIR/config/application.xml :
>
>    <web-module id="strutsDoc"
>     
> path="../../jakarta-struts-0.5/webapps/struts-documentation.war" />
>
>    <web-module id="strutsExample"
>      path="../../jakarta-struts-0.5/webapps/struts-example.war" />
>
>    <web-module id="strutsTest"
>      path="../../jakarta-struts-0.5/webapps/struts-test.war" />
>
>
> and in $ORIONDIR/config/default-web-site.xml :
>
>    <web-app application="default"
>      name="strutsDoc" root="/struts-documentation"/>
>
>    <web-app application="default"
>      name="strutsExample" root="/struts-example"/>
>
>    <web-app application="default"
>      name="strutsTest" root="/struts-test"/>
>
> HTH
>
> Kirk Yarina
>
> At 11:09 AM 3/22/01 -0800, you wrote:
>
> >Orion only knows about EAR files. Wrap your WAR up in an EAR.
> >
> >-----Original Message-----
> >From: [EMAIL PROTECTED]
> >[mailto:[EMAIL PROTECTED]]On Behalf Of Burr Sutter
> >Sent: Thursday, March 22, 2001 7:32 AM
> >To: Orion-Interest
> >Subject: Orion and WARs
> >
> >
> >Question: How do you use a WAR with Orion? If I update my
> server.xml to
> >point to a WAR like so
> ><application name="struts-logon" path="../struts-logon.war" />
> >
> >It complains about the lack of a META-INF and an
> application.xml. A War
> >doesn't normally require those folders/files, they are for
> EARs. I'd like my
> >WARs to be portable and other J2EE engines don't require a
> >META-INF/application.xml in a WAR.
> >
> >I'm running Orion 1.4.5.
> >
> >It must be something simple.
> >
> >Burr
> >[EMAIL PROTECTED]
>
>

Reply via email to