Sorry about my lack of lucidity.  I would like to have 3 web sites up and 
running under one Orion server.  I want the default website (the one that 
Orion displays by default) to display when the user types http://myserver, 
I want my cs2k site to come up when the user enters http://myserver/cs2k, 
and I would like http://myserver/twsm to display my other site.  Currently, 
whichever site's <application> tag is defined first in server.xml is the 
one that gets mapped to http://myserver, and neither of the other two URL's 
work.

These sites consist mostly of jsp's and servlets, but I am not sure about 
any EJBs that might be present.  We have various beans littering the 
classpath, but the sites seem to be functioning properly in and of 
themselves.  I guess I'm just confused about how to set up multiple 
websites under the same Orion server, and it seems that everyone on this 
list has a different opinion of how to do that. :)

At 05:35 PM 11/14/2000 -0600, you wrote:
>Do you want 3 web sites? Or one web site that uses 3 web applications?
>
>Perhaps you could clarify your problem for us in a line or two?
>
>-mike
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Drew Kidder
> > Sent: Wednesday, November 15, 2000 3:33 AM
> > To: Orion-Interest
> > Subject: Re: REPOST: Multiple websites on one server not found [NEED
> > HELP]
> >
> >
> > At 01:58 PM 11/13/2000 -0600, you wrote:
> > >>>THE SETUP (in $ORION_HOME/config, on host "orionhost")
> > >>>============================================
> > >>>1. I have a web-site.xml file for each of the two sites that I want to
> > >>>run under Orion (cs2k-web-site.xml and twsm-web-site.xml). Each file
> > >>>contains a line like this (sub "cs2k" in for "twsm" for
> > cs2k-web-site.xml):
> > >>>
> > >>>     <default-web-app application="twsm" name="twsm-web" shared="true"
> > >>> root="/twsm" />
> > >
> > >this doesn't make sense. the default-web-app of a site is always mounted
> > >to "/". what you want is probably one web-site.xml that reads
> > >
> > ><default-web-app application="whatever" name="whatever" root="/" />
> > ><web-app application="twsm" name="twsm-web" root="/twsm" />
> > ><web-app application="cs2k" name="cs2k-web" root="/cs2k" />
> > >
> > >HTH
> > >
> > >robert
> >
> > I have 3 separate web-site files:  default-web-site.xml,
> > cs2k-web-site.xml,
> > and twsm-web-site.xml.  I removed the <default-web-app> tag from the cs2k
> > and twsm files, and I got an error when Orion tried to re-deploy
> > that said
> > that there was no default website defined for either application.
> >  I added
> > the <default-web-app> tag back in, but this time did not add the "root"
> > attribute.  The apps deployed correctly, but the problem is still not
> > resolved.  I also went so far as to add <context-root> tags to
> > each site's
> > META-INF/application.xml, and those did no good either.
> >
> > I have included the relevant config files in a small zip attached to this
> > note.  You can see what I've done, and hopefully where I've munged up the
> > works.  The only file that I have modified but not included here is each
> > site's respective application.xml file, and the only mods that I
> > have done
> > to either is to add the following lines:
> >
> >      <module>
> >          <web>
> >              <web-uri>twsm-web</web-uri>
> >              <context-root>twsm/</context-root>
> >          </web>
> >      </module>
> >
> > (sub "cs2k" for "twsm" and you have the mods to the cs2k application.xml.)
> >
> > The context-root does nothing, in my tests.  I may as well not
> > have it defined.
> >


------
Andrew Kidder
L3 SW/Support Engineer, IBU
Tivoli Systems

512-436-4544
[EMAIL PROTECTED]
http://www.tivoli.com



Reply via email to