Return-Path: Delivered-To: apmail-maven-archiva-users-archive@locus.apache.org Received: (qmail 27787 invoked from network); 15 Apr 2008 01:14:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Apr 2008 01:14:51 -0000 Received: (qmail 21233 invoked by uid 500); 15 Apr 2008 01:14:52 -0000 Delivered-To: apmail-maven-archiva-users-archive@maven.apache.org Received: (qmail 21068 invoked by uid 500); 15 Apr 2008 01:14:50 -0000 Mailing-List: contact archiva-users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: archiva-users@maven.apache.org Delivered-To: mailing list archiva-users@maven.apache.org Delivered-To: moderator for archiva-users@maven.apache.org Received: (qmail 69378 invoked by uid 99); 15 Apr 2008 00:00:14 -0000 X-ASF-Spam-Status: No, hits=-2.0 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of vojakine@ca.ibm.com designates 32.97.182.145 as permitted sender) To: archiva-users@maven.apache.org MIME-Version: 1.0 Subject: 1.0 to 1.0.2 webapp upgrade fails X-Mailer: Lotus Notes Release 8.0 August 02, 2007 From: Andrei Vojakine Message-ID: Date: Mon, 14 Apr 2008 16:59:36 -0700 X-MIMETrack: Serialize by Router on D25ML04/25/M/IBM(Release 7.0.2HF446 | March 16, 2007) at 04/14/2008 19:59:37, Serialize complete at 04/14/2008 19:59:37 Content-Type: multipart/alternative; boundary="=_alternative 0000061C8825742C_=" X-Virus-Checked: Checked by ClamAV on apache.org --=_alternative 0000061C8825742C_= Content-Type: text/plain; charset="US-ASCII" Hi all I am having problems with upgrading 1.0 to 1.02. I have webapp installation on tomcat 5.5.25 it was installed as described here : http://cwiki.apache.org/confluence/display/ARCHIVA/Archiva+on+Tomcat with Derby 10.1.3.1 now I am trying to upgrade archive to 1.0.2 for the upgrade I found only this: http://www.mail-archive.com/archiva-users@maven.apache.org/msg00232.html but it doesn't work. Every time I try stating Catalina with existing Derby databases I get this error: 2008-04-14 16:32:07,484 [main] WARN net.sf.ehcache.config.ConfigurationFactory - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/opt/proxy/apache-tomcat-5.5.25/webapps/archiva/WEB-INF/lib/ehcache-1.3.0.jar!/ehcache-failsafe.xml 2008-04-14 16:32:08,200 [main] ERROR JPOX.RDBMS.Schema - Failed initialising database. Please check that your database JDBC driver is accessible, and the database URL and username/password are correct. Exception : Cannot create PoolableConnectionFactory (Failed to start database '/opt/proxy/apache-tomcat-5.5.25/archiva/users', see the next exception for details.) org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Failed to start database '/opt/proxy/apache-tomcat-5.5.25/archiva/users', see the next exception for details.) at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1225) at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880) at org.jpox.util.FailoverUtils.getConnection(FailoverUtils.java:51) at org.jpox.store.rdbms.RDBMSManager.(RDBMSManager.java:244) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at org.jpox.util.ClassUtils.newInstance(ClassUtils.java:73) etc If I remove my user and archiva databases it starts up , but offcourse I have no users and no indexes. I am stuck. How can I upgrade existing Archiva 1.0 webapp installation with Derby as a database w/o starting user database from scratch? Thank you Andrei --=_alternative 0000061C8825742C_=--