continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brent N Atkinson (JIRA)" <j...@codehaus.org>
Subject [jira] (CONTINUUM-2726) Does not appear to be possible to use Git as an SCM
Date Mon, 26 Jan 2015 18:05:18 GMT

    [ https://jira.codehaus.org/browse/CONTINUUM-2726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=361827#comment-361827
] 

Brent N Atkinson commented on CONTINUUM-2726:
---------------------------------------------

[~SebbASF], I agree about the log messages being poor. It makes everyone's job harder.

We may still have an issue depending on the environment continuum is deployed on. I was running
continuum on:

{quote}
$ java -version
java version "1.7.0_76"
Java(TM) SE Runtime Environment (build 1.7.0_76-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.76-b04, mixed mode)
{quote}

However, when I tried running it on the following java version it fails:

{quote}
$ java -version
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)
{quote}

In the logs, it reported:

{code}
2015-01-26 11:40:14,231 [addMavenTwoProjectBackgroundThread] WARN  org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProjectBuilder
 - Could not download the URL: https://git-wip-us.apache.org/repos/asf?p=commons-math.git;a=blob_plain;f=pom.xml;hb=HEAD
javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair
   at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:190)
   at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1747)
   at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1708)
   at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1691)
   at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1617)
   at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:105)
   at org.apache.http.impl.io.AbstractSessionOutputBuffer.flushBuffer(AbstractSessionOutputBuffer.java:131)
   at org.apache.http.impl.io.AbstractSessionOutputBuffer.flush(AbstractSessionOutputBuffer.java:138)
   at org.apache.http.impl.AbstractHttpClientConnection.doFlush(AbstractHttpClientConnection.java:270)
   at org.apache.http.impl.AbstractHttpClientConnection.flush(AbstractHttpClientConnection.java:275)
   at org.apache.http.impl.conn.AbstractClientConnAdapter.flush(AbstractClientConnAdapter.java:197)
   at org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:258)
   at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
   at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:633)
   at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:454)
   at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
   at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
   at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:732)
   at org.apache.maven.continuum.project.builder.AbstractContinuumProjectBuilder.createMetadataFile(AbstractContinuumProjectBuilder.java:131)
   at org.apache.maven.continuum.project.builder.AbstractContinuumProjectBuilder.createMetadataFile(AbstractContinuumProjectBuilder.java:271)
   at org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProjectBuilder.readModules(MavenTwoContinuumProjectBuilder.java:181)
   at org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProjectBuilder.buildProjectsFromMetadata(MavenTwoContinuumProjectBuilder.java:151)
   at org.apache.maven.continuum.core.action.CreateProjectsFromMetadataAction.execute(CreateProjectsFromMetadataAction.java:162)
   at org.apache.maven.continuum.DefaultContinuum.executeAction(DefaultContinuum.java:2875)
   at org.apache.maven.continuum.DefaultContinuum.executeAddProjectsFromMetadataActivity(DefaultContinuum.java:1624)
   at org.apache.maven.continuum.DefaultContinuum.executeAddProjectsFromMetadataActivity(DefaultContinuum.java:1930)
   at org.apache.maven.continuum.DefaultContinuum.addMavenTwoProject(DefaultContinuum.java:1410)
   at org.apache.maven.continuum.web.action.AddMavenTwoProjectAction.doExecute(AddMavenTwoProjectAction.java:128)
   at org.apache.maven.continuum.web.action.AddMavenProjectAction.execute(AddMavenProjectAction.java:209)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:450)
   at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:289)
   at org.apache.struts2.interceptor.BackgroundProcess$1.run(BackgroundProcess.java:57)
   at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.RuntimeException: Could not generate DH keypair
   at com.sun.net.ssl.internal.ssl.DHCrypt.<init>(DHCrypt.java:114)
   at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverKeyExchange(ClientHandshaker.java:559)
   at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:186)
   at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:593)
   at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:529)
   at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:943)
   at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1188)
   at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:654)
   at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:100)
   ... 31 more
Caused by: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of
64, and can only range from 512 to 1024 (inclusive)
   at com.sun.crypto.provider.DHKeyPairGenerator.initialize(DashoA13*..)
   at java.security.KeyPairGenerator$Delegate.initialize(KeyPairGenerator.java:627)
   at com.sun.net.ssl.internal.ssl.DHCrypt.<init>(DHCrypt.java:107)
   ... 39 more
{code}

It looks like the problem is with making the TLS connection to git-wip-us.apache.org due to
a limitation of the Java6 crypto library that is not present in Java7. I'm trying to work
around that issue by installing http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html
locally.

> Does not appear to be possible to use Git as an SCM
> ---------------------------------------------------
>
>                 Key: CONTINUUM-2726
>                 URL: https://jira.codehaus.org/browse/CONTINUUM-2726
>             Project: Continuum
>          Issue Type: Bug
>            Reporter: SebbASF
>            Priority: Critical
>         Attachments: commons-math-successful.png
>
>
> Commons MATH now uses Git.
> Does not appear to be possible to use Continuum to build it.
> Tried the following URLs:
> https://git-wip-us.apache.org/repos/asf/commons-math
> => Unknown error trying to build POM.
> https://git-wip-us.apache.org/repos/asf?p=commons-math.git
> => POM file does not exist. Either the POM you specified or one of its modules does
not exist.
> What is the correct incantation for Git projects?
> If this is documented anywhere I could not find it.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message