You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@archiva.apache.org by Igor Galić <i....@brainsware.org> on 2010/01/14 21:17:38 UTC
Archiva 1.2.1 in Tomcat 6 ROOT
Hi folks,
I've been trying to make archiva run in Apache Tomcat (6.0.16).
What I assumed to be a simple task turned out to be quite a challenge:
I've unzipped the .war and placed replaced ROOT/ with it's contents.
I've updated the configuration in conf/Catalina/localhost/archiva.xml to set
<Context path="" docBase="ROOT">
and I've also added
<context-param>
<param-name>webAppRootKey</param-name>
<param-value>webapp.root</param-value>
</context-param>
to webapps/ROOT/WEB-INF/web.xml, but all to no avail.
The results you can take from the attached logs.
I would very much appreciate any help or hint.
--
Igor Galić
Tel: +43 (0) 699 122 96 338
Fax: +43 (0) 1 90 89 226
Mail: i.galic@brainsware.org
URL: http://brainsware.org/
Re: Archiva 1.2.1 in Tomcat 6 ROOT
Posted by Igor Galić <i....@brainsware.org>.
Hi folks,
The solution to the problem seems rather simple:
Rename the file from conf/Catalina/localhost/archiva.xml to
conf/Catalina/localhost/ROOT.xml and be done with it.
``Convention over Configuration.''
So long, and thanks for all the <><
--
Igor Galić
Tel: +43 (0) 699 122 96 338
Fax: +43 (0) 1 90 89 226
Mail: i.galic@brainsware.org
URL: http://brainsware.org/
Re: Archiva 1.2.1 in Tomcat 6 ROOT
Posted by Brett Porter <br...@apache.org>.
It is hard to tell from these logs. The main indicator seems to be that it has some duplication of the loading - is there an older webapp loaded, or have some libraries been added to the tomcat lib directories?
These instructions are known to work on a clean instance: http://archiva.apache.org/docs/1.2.2/adminguide/webapp.html
I would try following that, substituting 'path="/archiva"' with 'path="/"' in the context file on a clean instance and see if that works.
- Brett
On 15/01/2010, at 7:17 AM, Igor Galić wrote:
>
> Hi folks,
>
> I've been trying to make archiva run in Apache Tomcat (6.0.16).
> What I assumed to be a simple task turned out to be quite a challenge:
>
> I've unzipped the .war and placed replaced ROOT/ with it's contents.
>
> I've updated the configuration in conf/Catalina/localhost/archiva.xml to set
>
> <Context path="" docBase="ROOT">
>
> and I've also added
>
> <context-param>
> <param-name>webAppRootKey</param-name>
> <param-value>webapp.root</param-value>
> </context-param>
>
> to webapps/ROOT/WEB-INF/web.xml, but all to no avail.
>
> The results you can take from the attached logs.
>
> I would very much appreciate any help or hint.
>
> --
> Igor Galić
>
> Tel: +43 (0) 699 122 96 338
> Fax: +43 (0) 1 90 89 226
> Mail: i.galic@brainsware.org
> URL: http://brainsware.org/<catalina.2010-01-14.log.gz><catalina.out.gz><localhost.2010-01-14.log.gz>
--
Brett Porter
brett@apache.org
http://brettporter.wordpress.com/