Return-Path: X-Original-To: apmail-cocoon-users-archive@www.apache.org Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9362E9930 for ; Thu, 22 Mar 2012 20:36:32 +0000 (UTC) Received: (qmail 60795 invoked by uid 500); 22 Mar 2012 20:36:32 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 60751 invoked by uid 500); 22 Mar 2012 20:36:32 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 60743 invoked by uid 99); 22 Mar 2012 20:36:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Mar 2012 20:36:32 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lars_huttar@sil.org designates 208.145.81.52 as permitted sender) Received: from [208.145.81.52] (HELO smtp2.wsfo.org) (208.145.81.52) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Mar 2012 20:36:26 +0000 Received: from mail.link77.net (cgp1.mail.link77.net [172.22.65.13]) by smtp2.wsfo.org (8.13.8/8.13.8) with ESMTP id q2MKa3Xk019182 for ; Thu, 22 Mar 2012 16:36:03 -0400 X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.15 (ClamAV engine v0.96.5) X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.15 (ClamAV engine v0.96.5) X-ExtScanner: Niversoft's Find_Attachments Received: from [172.20.3.249] (account lars_huttar@sil.org [172.20.3.249] verified) by cgp1.mail.link77.net (CommuniGate Pro SMTP 5.4.4) with ESMTPSA id 295015020; Thu, 22 Mar 2012 16:36:03 -0400 Message-ID: <4F6B8D30.9040503@sil.org> Date: Thu, 22 Mar 2012 15:36:00 -0500 From: Lars Huttar User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:11.0) Gecko/20120312 Thunderbird/11.0 MIME-Version: 1.0 To: users@cocoon.apache.org Subject: SOLVED (Re: maven problem with https: RSA premaster secret error) References: <4F6B6032.3070507@sil.org> In-Reply-To: <4F6B6032.3070507@sil.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.72 on 172.22.65.24 X-Virus-Checked: Checked by ClamAV on apache.org OK, I was able to solve this. When I typed "java -version" at the command line, it told me 1.6.0_31, so I thought I was running the latest. But when I later looked at the JAVA_HOME env var, which maven uses, it pointed to an old 1.5.0 JDK. One I pointed it to a newer 1.6.0_31 jdk, mvn ran fine. Regards, Lars On 3/22/2012 12:24 PM, Lars Huttar wrote: > Hi all, > I'm sorry if this is off-topic, but I've googled the maven mailing > lists for this and found nothing. > (http://maven.markmail.org/search/?q=rsa+premaster+secret+error) > > I was able to run maven (and thus use C3) on my development desktop > machine (running Windows 7). > But when I tried running maven on another machine, I got the following > mysterious error output: > > D:\Apache Group\c3>mvn -X -e archetype:generate > -DarchetypeGroupId=org.apache.cocoon.archetype-parent > -DarchetypeArtifactId=cocoon-archetype-parent > -DarchetypeVersion=3.0.0-beta-1-SNAPSHOT -DgroupId=org.sil > -DartifactId=theParent -Dversion=1.0-SNAPSHOT > -DarchetypeRepository=https://repository.apache.org/content/repositories/snapshots/ > > ... > [INFO] Archetype defined by properties > Downloading: > https://repository.apache.org/content/repositories/snapshots/org/ap > ache/cocoon/archetype-parent/cocoon-archetype-parent/3.0.0-beta-1-SNAPSHOT/maven > > -metadata.xml > [WARNING] Could not transfer metadata > org.apache.cocoon.archetype-parent:cocoon- > archetype-parent:3.0.0-beta-1-SNAPSHOT/maven-metadata.xml from/to > cocoon-archety > pe-parent-repo > (https://repository.apache.org/content/repositories/snapshots/): > Error transferring file: RSA premaster secret error > > I've googled around other places and found advice to the effect that > something is "stuffing up the child JVM's bootclasspath in a way that > causes the crypto libraries to break". > http://stackoverflow.com/questions/2152988/rsa-secret-premaster-error > However I have no idea how to address that problem. > Install a new version of Java and make sure its JRE is at the front of > the classpath? > > Is there a way to just tell maven not to use https? > I tried changing the repo URL to use "http" instead of "https", but > that just gave me a bunch of checksum warnings and XML validation errors. > > Thanks, > Lars > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org