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