Return-Path: Delivered-To: apmail-maven-archiva-users-archive@locus.apache.org Received: (qmail 64225 invoked from network); 15 Dec 2006 20:00:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Dec 2006 20:00:14 -0000 Received: (qmail 45445 invoked by uid 500); 15 Dec 2006 20:00:22 -0000 Delivered-To: apmail-maven-archiva-users-archive@maven.apache.org Received: (qmail 45339 invoked by uid 500); 15 Dec 2006 20:00:22 -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 Received: (qmail 45330 invoked by uid 99); 15 Dec 2006 20:00:22 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Dec 2006 12:00:22 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of hilco.wijbenga@gmail.com designates 64.233.184.224 as permitted sender) Received: from [64.233.184.224] (HELO wr-out-0506.google.com) (64.233.184.224) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Dec 2006 12:00:11 -0800 Received: by wr-out-0506.google.com with SMTP id i3so437169wra for ; Fri, 15 Dec 2006 11:59:51 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=RwrvHebcQ4JCTclFnw8bJguabXrnjIvLM0WkZbvjEQVDAM07qitOc2siGvHUyVgBkkr8I41SDr1BFkRKh/BDJLMh/5ufU7yBoOM2z/oH8zNzcp6NuHs/qUQukuLlOyxYC2hnwgVs/I5yTHCObZ/AjiuC/fwMZI2Du8RNuOnJwqU= Received: by 10.90.69.8 with SMTP id r8mr1427388aga.1166212790655; Fri, 15 Dec 2006 11:59:50 -0800 (PST) Received: by 10.90.70.2 with HTTP; Fri, 15 Dec 2006 11:59:50 -0800 (PST) Message-ID: Date: Fri, 15 Dec 2006 11:59:50 -0800 From: "Hilco Wijbenga" To: "Archiva Users" Subject: Running Archiva WAR on JBoss 4.0.5 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I checked out Archiva from Subversion and ran 'mvn clean install'. This yielded a WAR in archiva-webapp/target. I copied this WAR into the JBoss deploy directory and requested http://localhost/archiva. The WAR seems to at least partially deploy but I do get a few stacktraces. I noticed that it's looking for .m2/security.properties and .m2/archiva.properties. I don't have these. What should I put in these properties files? I can deploy proximity's WAR so I think my JBoss install is ok. Should I be able to deploy the Archiva WAR like this? Do I need to do something in the WAR before I deploy it? Set some property during the build? The problem appears to be related to the database (i.e. I think it's a JDBC connection problem). I also tried to run 'mvn site' in the hopes of finding some info there but the build fails. :-( Cheers, Hilco P.S. Parts of the stacktraces: Caught Exception while registering Interceptor class pssForceAdminUserInterceptor - [unknown location] at org.codehaus.plexus.xwork.PlexusObjectFactory.buildInterceptor(PlexusObjectFactory.java:134) Caused by: org.jpox.exceptions.ConnectionFactoryNotFoundException: Connection Factory "java:comp/env/jdbc/users" not found NestedThrowables: javax.naming.NameNotFoundException: jdbc not bound at org.jpox.AbstractPersistenceManagerFactory.lookupDataSource(AbstractPersistenceManagerFactory.java:175) Caused by: javax.naming.NameNotFoundException: jdbc not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)