uhm Can you rename /etc/tomcat7/Catalina/localhost/archiva.xml to /etc/tomcat7/Catalina/localhost/archiva-2.0.0.xml and remove path and docBase attributes. Your simply deploying the application twice with such config :-)
On 4 March 2014 09:57, Olivier Lamy <ol...@apache.org> wrote: > I think no. Because the jndi resource is created at Tomcat core level. > Anyway sounds weird as I don't have any issues using a downloaded > Apache Tomcat 7.0.52 > @Frederik can you try with a "normal" Tomcat version (not the > repackaged from Debian) > > > > On 3 March 2014 21:36, Eric Barboni <sk...@apache.org> wrote: >> I'm not used to tomcat archiva. >> >> But in the libs present in archiva there is already a derby-10.10.1.1.jar, >> can this conflict with the tomcat lib ? >> >> Regards >> Eric >> >> -----Message d'origine----- >> De : Brett Porter [mailto:br...@porterclan.net] De la part de Brett Porter >> Envoyé : dimanche 2 mars 2014 04:58 >> À : users@archiva.apache.org >> Objet : Re: Installing archiva on Debian Tomcat 7 >> >> Sorry, I can't see anything wrong with your configuration, and haven't used >> Debian's Java packaging. Perhaps you'll get more assistance from the Tomcat >> users list? >> >> For Archiva specifically, have you considered using the stock Jetty >> distribution to get started? >> >> Regards, >> Brett >> >> On 1 Mar 2014, at 2:15 am, Frederik Himpe <fhi...@vub.ac.be> wrote: >> >>> On Sat, 01 Mar 2014 01:30:28 +1100, Brett Porter wrote: >>> >>>> Do you have the derby driver in the Tomcat lib directory? >>> >>> Yes: >>> >>> $ ls -lh /usr/share/tomcat7/lib/ >>> total 0 >>> lrwxrwxrwx 1 root root 44 Feb 21 07:42 annotations-api.jar -> >>> ../../java/tomcat-annotations-api-7.0.52.jar >>> lrwxrwxrwx 1 root root 34 Feb 21 07:42 catalina-ant.jar -> >>> ../../java/catalina-ant-7.0.52.jar >>> lrwxrwxrwx 1 root root 40 Feb 21 07:42 catalina-ha.jar -> >>> ../../java/tomcat-catalina-ha-7.0.52.jar >>> lrwxrwxrwx 1 root root 37 Feb 21 07:42 catalina.jar -> >>> ../../java/tomcat-catalina-7.0.52.jar >>> lrwxrwxrwx 1 root root 37 Feb 21 07:42 catalina-tribes.jar -> >>> ../../java/catalina-tribes-7.0.52.jar >>> lrwxrwxrwx 1 root root 27 Feb 21 07:42 commons-dbcp.jar -> >>> ../../java/commons-dbcp.jar lrwxrwxrwx 1 root root 27 Feb 21 07:42 >>> commons-pool.jar -> ../../java/commons-pool.jar lrwxrwxrwx 1 root root >>> 20 Feb 26 14:06 derby.jar -> ../../java/derby.jar lrwxrwxrwx 1 root >>> root 32 Feb 21 07:42 el-api.jar -> ../../java/tomcat-el-api-2.2.jar >>> lrwxrwxrwx 1 root root 45 Feb 26 14:10 >>> geronimo-javamail-1.4-provider.jar -> >>> ../../java/geronimo-javamail-1.4-provider.jar >>> lrwxrwxrwx 1 root root 41 Feb 26 14:11 geronimo-javamail-1.4-spec.jar >>> -> ../../java/geronimo-javamail-1.4-spec.jar >>> lrwxrwxrwx 1 root root 36 Feb 26 14:11 geronimo-jpa-2.0-spec.jar -> >>> ../../java/geronimo-jpa-2.0-spec.jar >>> lrwxrwxrwx 1 root root 36 Feb 26 14:11 geronimo-osgi-locator.jar -> >>> ../../java/geronimo-osgi-locator.jar >>> lrwxrwxrwx 1 root root 37 Feb 26 14:11 geronimo-osgi-registry.jar -> >>> ../../java/geronimo-osgi-registry.jar >>> lrwxrwxrwx 1 root root 38 Feb 21 07:42 jasper-el.jar -> >>> ../../java/tomcat-jasper-el-7.0.52.jar >>> lrwxrwxrwx 1 root root 35 Feb 21 07:42 jasper.jar -> >>> ../../java/tomcat-jasper-7.0.52.jar >>> lrwxrwxrwx 1 root root 33 Feb 21 07:42 jsp-api.jar -> >>> ../../java/tomcat-jsp-api-2.2.jar lrwxrwxrwx 1 root root 37 Feb 21 >>> 07:42 servlet-api.jar -> ../../java/tomcat-servlet-api-3.0.jar >>> lrwxrwxrwx 1 root root 32 Feb 21 07:42 tomcat-api.jar -> >>> ../../java/tomcat-api-7.0.52.jar lrwxrwxrwx 1 root root 35 Feb 21 >>> 07:42 tomcat-coyote.jar -> ../../java/tomcat-coyote-7.0.52.jar >>> lrwxrwxrwx 1 root root 36 Feb 21 07:42 tomcat-i18n-es.jar -> >>> ../../java/tomcat-i18n-es-7.0.52.jar >>> lrwxrwxrwx 1 root root 36 Feb 21 07:42 tomcat-i18n-fr.jar -> >>> ../../java/tomcat-i18n-fr-7.0.52.jar >>> lrwxrwxrwx 1 root root 36 Feb 21 07:42 tomcat-i18n-ja.jar -> >>> ../../java/tomcat-i18n-ja-7.0.52.jar >>> lrwxrwxrwx 1 root root 33 Feb 21 07:42 tomcat-jdbc.jar -> >>> ../../java/tomcat-jdbc-7.0.52.jar lrwxrwxrwx 1 root root 33 Feb 21 >>> 07:42 tomcat-util.jar -> ../../java/tomcat-util-7.0.52.jar >>> >>> /usr/share/java/derby.jar is provided by Debian's package >>> libderby-java 10.10.1.1-1 >>> >>> -- >>> Frederik Himpe >>> >> >> > > > > -- > Olivier Lamy > Ecetera: http://ecetera.com.au > http://twitter.com/olamy | http://linkedin.com/in/olamy -- Olivier Lamy Ecetera: http://ecetera.com.au http://twitter.com/olamy | http://linkedin.com/in/olamy