You can change that entry to:
<default-web-app application="myApp" name="myWebApp" />
or what ever names you prefer.
Make sure you have defined 'myApp' in the server.xml though.
FE
On Wednesday, April 11, 2001 1:29 AM, SCOTT FARQUHAR
[SMTP:[EMAIL PROTECTED]] wrote:
> Two things that might be of interest:
>
> <!-- The default web-app for this site, bound to the root -->
> <default-web-app application="default" name="defaultWebApp" />
>
> in default-web-site.xml . I assume that you can map an application to root by
>changing that?
>
> Turn off "friendly error messages" in Internet Explorer
>(tools->options->advanced->show friendly http error messages).
>
> A 500 could mean anything. Once you get the stack trace you might be able to
>determine what the problem is.
>
> Scott
>
>
> >>> [EMAIL PROTECTED] 04/11/01 04:21am >>>
> Dan,
>
> The error I have is 500 (http internal server error), when I type
> http://localhost/taskforce
> If I type http://localhost, I have the orion home page.
>
> This the tree of the applications directory, once expanded by orion.
>
> D:\JAVA\ORION\APPLICATIONS
> taskforce.ear
> \---taskforce
> taskforce.war
> userEJB.jar
> +---META-INF
> application.xml
> \---taskforce
> index.html
> +---images
> +---META-INF
> \---WEB-INF
> +---classes
> | +---net
> | | \---tnt
> | | +---user
> | | | \---model
> | | +---util
> | | \---web
> | | +---control
> | | \---taglib
> | \---org
> | \---apache
> | \---struts
> | \---resources
> +---lib
> \---tlds
>
> The server.xml and default-web-site.xml have been modified as mentionned at
> the bottom of this mail.
>
> I have tried to modify the context root to "/" but it did not change.
>
> I have just noticed that you can set the root="/taskforce" in
> default-web-site.xml
> <web-app application="taskforce" name="taskforce-web" root="/taskforce"/>
> and also in the /META-INF/application.xml of you
> ear(<context-root>/taskforce</context>)
>
> I suppose they must be the same (which is the case for me). What is the role
> of each ?
>
> I guess there are 2 possible source of error
> 1) the way I have update the server.xml and default-web-site.xml
> (default-web-site.xml)
> <web-app application="taskforce" name="taskforceWebApp" root="/taskforce"/>
>
> (server.xml)
> <application name="taskforce" path="../applications/taskforce.ear" />
>
> 2) the directory structure (see above)
>
>
> Thanks,
>
> Olivier
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Daniel Lopez
> Sent: 10 April 2001 07:05
> To: Orion-Interest
> Subject: Re: Building an application
>
>
> Hi Oliver,
> Last week I was plating with the same thing and I was successful with
> pretty much the same configuration that you have, except that in
> application.xml I set the context root to /
> (<context-root>/</context-root>). Which error are you getting ? 404? Can
> you see your .ear file unpackaged?
> regards,
> Dan
>
> > olivier wrote:
> >
> > Hi,
> >
> > I am new to Orion, and I have recently been trying to build an
> > application (ear) with not much success. Basically, Orion seems to
> > deploys all the components, but I can't get the first page to open on
> > the browser.
> > I am using struts as a framework, with the fix I have seen on this
> > site (remove the dtd from the jar and put them under classes), and
> > struts does not seem to be the problem now (especially since my first
> > page is an index.html)
> >
> > The ear is in orion\applications
> >
> > userEjb.jar
> > taskforce.war
> > \META-INF
> > application.xml
> >
> > source of application.xml for the ear
> > <application>
> > <display-name>taskforce</display-name>
> > <description>Application description</description>
> > <module>
> > <web>
> > <web-uri>taskforce.war</web-uri>
> > <context-root>/taskforce</context-root>
> > </web>
> > </module>
> > <module>
> > <ejb>userEjb.jar</ejb>
> > </module>
> > </application>
> >
> > I put this in default-web-site
> > <web-app application="taskforce" name="taskforceWebApp"
> > root="/taskforce"/>
> > this in server.xml
> > <application name="taskforce" path="../applications/taskforce.ear" />
> >
> >
> > I have tried with the news.ear coming with orion, but same problem.
> >
> > Any clue?
> >
> > Thanks,
> >
> > olivier
>
>
>