Hi Denis,

Thanks for the link. Went thru the archives but couldn't find a
solution.....

May I ask what tweaks you employed to get them to work? Coz I got problem
getting orion to resolve the dtd properly.
I removed the dtd from struts.jar and put it under
<WEB-INF>/classes/org/apache/struts/resources; struts.jar is in
<WEB-INF>/lib.
And the latest exception I am getting (I got all kinda exception for the
past 2 days with tweaks I could think of :-( ) is

java.net.UnknownHostException: jakarta.apache.org
        at com.sun.xml.parser.Parser.fatal(Parser.java:2817)
        at
com.sun.xml.parser.Parser.externalParameterEntity(Parser.java:2506)
        at com.sun.xml.parser.Parser.maybeDoctypeDecl(Parser.java:1137)
        at com.sun.xml.parser.Parser.parseInternal(Parser.java:481)
        at com.sun.xml.parser.Parser.parse(Parser.java:284)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:155)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:77)
        at org.apache.struts.digester.Digester.parse(Digester.java:708)
        at
org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java
:1207)
        at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:421)
        at javax.servlet.GenericServlet.init(GenericServlet.java)
        at com.evermind.server.http.HttpApplication.wo(JAX)
        at com.evermind.server.http.HttpApplication.v6(JAX)
        at com.evermind.server.http.HttpApplication.wh(JAX)
        at com.evermind.server.http.HttpApplication.vs(JAX)
        at com.evermind.server.http.HttpApplication.<init>(JAX)
        at com.evermind.server.Application.ue(JAX)
        at com.evermind.server.http.ej.ue(JAX)
        at com.evermind.server.http.ei.na(JAX)
        at com.evermind.server.http.ed.sp(JAX)
        at com.evermind.server.http.ed.so(JAX)
        at com.evermind.util.f.run(JAX)

My machine is currently not connected to the net and I suppose orion would
first attempt to look for a local copy of the dtd.
Also, I have not packaged my J2EE app in an ear file yet. I am running Orion
1.3.8 and struts20001227.

Thanks for any clue u may have.

Regards


----- Original Message -----
From: "Denis Hanson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 09, 2001 10:06 PM
Subject: RE: Orion Application Server And Struts 1.0


> 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