remove tomcat's webapps/ROOT directory then place ROOT.war which is apache-archiva-xyz.war renamed to webapps directory.
-D On Thu, Sep 25, 2008 at 11:24 PM, Lustig, Marc (Allianz Deutschland, externer Mitarbeiter) <[EMAIL PROTECTED]> wrote: > Nice, but it seems you are using the stand-alone edition. > I need to deploy it on tomcat6 (not "any" container...) > When I tried to put it in the root-context last time, some repo paths could > not be resolved. > > > > -----Ursprüngliche Nachricht----- > Von: deckrider [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 25. September 2008 19:31 > An: [email protected] > Betreff: Re: deploying Archiva in root context > > Yes. Here is what I did (using Archiva 1.1.1 Standalone): > > --- original-apache-archiva-1.1.1/conf/jetty.xml 2008-08-07 > 17:06:54.000000000 +0000 > +++ changed-apache-archiva-1.1.1/conf/jetty.xml 2008-08-24 > 14:45:05.695848000 +0000 > @@ -258,14 +258,21 @@ > <!-- =========================================================== --> > <!-- Deploy all webapps in webapps-plus --> > <!-- =========================================================== --> > - <Call class="org.mortbay.jetty.webapp.WebAppContext" > name="addWebApplications"> > + <!--Call class="org.mortbay.jetty.webapp.WebAppContext" > name="addWebApplications"> > <Arg><Ref id="Contexts"/></Arg> > <Arg>./apps</Arg> > <Arg>org/mortbay/jetty/webapp/webdefault.xml</Arg> > <Arg><Ref id="plusConfig"/></Arg> > <Arg type="boolean">True</Arg> > <Arg type="boolean">False</Arg> > - </Call> > + </Call--> > + > + <New class="org.mortbay.jetty.webapp.WebAppContext"> > + <Arg><Ref id="Contexts"/></Arg> > + <Arg>./apps/archiva</Arg> > + <Arg>/</Arg> > + <Set name="configurationClasses"><Ref id="plusConfig"/></Set> > + </New> > > <!-- ARCHIVA CONFIG --> > > > > > On 9/25/08, Lustig, Marc (Allianz Deutschland, externer Mitarbeiter) > <[EMAIL PROTECTED]> wrote: >> Has anybody succeeded to deploy Archiva in root-context (in any >> servlet-container) ? >> > > -- > Sent from my mobile device > > ASCII ribbon campaign: > () against HTML email > /\ against Microsoft attachments > Information: http://www.expita.com/nomime.html >
