Re: How are Anthill and Anthill web app "linked"?

Varban <[email protected]> Thu, 13 Apr 2006 11:28:07 -0400
Newsgroups gmane.comp.java.anthill
Organization Urbancode
Message-ID <[email protected]>
The different apps in your servlet container run under different contexts, for 
example the default context for AnthillOs is anthill so that if the URL for 
you servlet container is http://www.company.com/, you will use 
http://www.company.com/anthill to access the anthill context and thus the 
AnthillOs application.
All this being said, usually the context for an app is determined by the name 
of the war file that you are deploying unless you use a context xml file 
where you need to explicitly specify the context name.


Varban

On Thursday 13 April 2006 11:12, Marcel Stör wrote:
> Varban wrote:
> > Hi Marcel,
> >
> > AnthillOs stores the path to the install directory in a file
> > called .anthill.anthill.properties in the home directory of the user
> > that is running Anthill. In order to run  a second instance as the
> > same user you will need to rename the copy of that file to reflect
> > the context you are running the instance as - so if your second
> > instance is running under anthill2 context, the name of the property
>
> On Windows: user = context = user that starts servlet container?
> Hhhmm, so, in order to achieve that I would need two separate instances
> of my servlet container? I can't just deploy the Anthill webapp twice in
> the same container?
>
> > file should
> > be .anthill.anthill2.properties. You can search the mailing list
> > archives for more info, there were other users recently that wanted
> > to do the same thing.
>
> I would have done that if I knew how :-(
> At http://lists.urbancode.com/pipermail/anthill/ I can read past
> postings but I can't search the archive?