Hello Hee,

I'm using orion 1.3.8 and Struts 1.0 and things are working well.

A good place to look for help is in the struts mailing list archives at
http://www.mail-archive.com/struts-user@jakarta.apache.org/.  Its where I
found the directions given below.



----- Original Message -----
From: "Ate Douma" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Friday, December 15, 2000 20:19
Subject: Re: Struts 1.0 - Anyone Do It?


> Ok, once more: Deploying the stuts 1.0 pre-release example web application
> on Orion in (more or less) five steps
> (based on Orion 1.3.8 and jakarta-struts-src-20001209.zip on W2k, jdk1.3):
>
> 1. build the struts example web application (or retrieve it from the
nightly
> build distribution)
>     1.1. extract the struts src distribution in a temporary directory
> ([struts])
>     1.2. build struts distribution by executing
"[struts]\jakarta-struts\ant
> dist" (using [struts]\jakata-struts\build.xml)
> 2. modify the web application archive
> [struts]\dist\struts\webapps\struts-example.war:
>     2.1. extract struts-example.war in a clean temporary directory
([temp])
>     2.2. open [temp]\WEB-INF\lib\struts.jar and extract
> org\apache\struts\resources\struts-config_1_0.dtd to
[temp]\WEB-INF\classes\
> creating file
> [temp]\WEB-INF\classes\org\apache\struts\resources\struts-config_1_0.dtd
>     2.3 delete the above file from struts.jar and save struts.jar in
> [temp]\WEB-INF\lib\
>     2.4 jar (or zip) the contents of [temp]\ in a new web application
> archive [temp]\struts-example.war (don't forget keeping the folder names)
> 3. create a struts.ear file by:
>     3.1. create file [temp]\META-INF\application.xml containing the
> following:
>             <?xml version="1.0"?>
>             <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD
> J2EE Application 1.2//EN"
> "http://java.sun.com/j2ee/dtds/application_1_2.dtd">
>             <application>
>               <display-name>struts</display-name>
>               <module>
>                 <web>
>                   <web-uri>struts-example.war</web-uri>
>                   <context-root>/struts-example</context-root>
>                 </web>
>               </module>
>             </application>
>     3.2 jar (or zip) [temp]\META-INF\application.xml and
> [temp]\struts-examples.war into a new enterprise application archive
> [temp]\struts.ear (using folder names)
> 4. deploy the example web application on orion
>     4.1. extract orion1.3.8.zip in some directory ([orion])
>     4.2. copy the struts.ear file into [orion]/application
>     4.3. modify [orion]\config\server.xml by adding the following element
> under (nested within) the <application-server ...> element:
>           <application name="struts" path="../applications/struts.ear" />
>     4.4. modify [orion]\config\default-web-site.xml by adding the
following
> element under (nested within) the <web-site ...> element:
>           <web-app application="struts" name="struts-example"
> root="/struts-example" />
> 5. run the example web application
>     5.1. startup orion by executing "java -jar orion.jar" within the
> [orion]\ directory
>     5.2. access the example web application from a browser using url:
> http://localhost/struts-example
>
> Ate Douma

-----Original Message-----
From: Hee Meng, Poh [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 09, 2001 4:18 AM
To: [EMAIL PROTECTED]
Subject: Orion Application Server And Struts 1.0


Hi,

Anyone using the above combo? Need some help....

Regards

Reply via email to