Menu

Installing via p2.director no longer working

Help
msven
2015-02-18
2015-02-19
  • msven

    msven - 2015-02-18

    Hello,

    Up until recently I used to be able to install EPIC via the following command line command

    /opt/eclipse/eclipse -vm /usr/bin/java -noSplash -application org.eclipse.equinox.p2.director -repository http://e-p-i-c.sf.net/updates -i org.epic.feature.main.feature.group
    

    However, I am now getting the following error

    !SESSION 2015-02-18 11:43:17.340 -----------------------------------------------
    eclipse.buildId=4.4.1.M20140925-0400
    java.version=1.7.0_51
    java.vendor=Oracle Corporation
    BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
    Framework arguments:  -product org.eclipse.epp.package.java.product -application            org.eclipse.equinox.p2.director -repository http://e-p-i-c.sf.net/updates -i     org.epic.feature.main.feature.group
    Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.java.product -application org.eclipse.equinox.p2.director -repository http://e-p-i-c.sf.net/updates -i org.epic.feature.main.feature.group
    
    !ENTRY org.eclipse.equinox.p2.transport.ecf 2 0 2015-02-18 11:43:20.593
    !MESSAGE Connection to http://e-p-i-c.sf.net/updates/p2.index failed on null. Retry attempt 0 started
    !STACK 0
    org.apache.http.client.ClientProtocolException
        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:909)
        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
        at     org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer.performConnect(HttpClientRetrieveFileTransfer.java:1077)
        at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer.access$0(HttpClientRetrieveFileTransfer.java:1068)
        at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer$1.performFileTransfer(HttpClientRetrieveFileTransfer.java:1064)
        at org.eclipse.ecf.filetransfer.FileTransferJob.run(FileTransferJob.java:73)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    Caused by: org.apache.http.client.CircularRedirectException: Circular redirect to 'http://www.epic-ide.org/'
        at org.apache.http.impl.client.DefaultRedirectStrategy.getLocationURI(DefaultRedirectStrategy.java:183)
        at org.apache.http.impl.client.DefaultRedirectStrategy.getRedirect(DefaultRedirectStrategy.java:217)
        at org.apache.http.impl.client.DefaultRequestDirector.handleResponse(DefaultRequestDirector.java:1105)
        at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:548)
        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
        ... 6 more
    
    !ENTRY org.eclipse.equinox.p2.transport.ecf 2 0 2015-02-18 11:43:22.618
    !MESSAGE Connection to http://e-p-i-c.sf.net/updates/p2.index failed on null. Retry attempt 0 started
    !STACK 0
    org.apache.http.client.ClientProtocolException
        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:909)
        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
        at     org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer.performConnect(HttpClientRetrieveFileTransfer.java:1077)
        at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer.access$0(HttpClientRetrieveFileTransfer.java:1068)
        at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer$1.performFileTransfer(HttpClientRetrieveFileTransfer.java:1064)
        at org.eclipse.ecf.filetransfer.FileTransferJob.run(FileTransferJob.java:73)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    Caused by: org.apache.http.client.CircularRedirectException: Circular redirect to 'http://www.epic-ide.org/'
        at org.apache.http.impl.client.DefaultRedirectStrategy.getLocationURI(DefaultRedirectStrategy.java:183)
        at org.apache.http.impl.client.DefaultRedirectStrategy.getRedirect(DefaultRedirectStrategy.java:217)
        at org.apache.http.impl.client.DefaultRequestDirector.handleResponse(DefaultRequestDirector.java:1105)
        at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:548)
        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
        ... 6 more
    
    !ENTRY org.eclipse.equinox.p2.director.app 4 0 2015-02-18 11:43:24.100
    !MESSAGE The installable unit org.epic.feature.main.feature.group has not been found.
    

    I've dug around some and from what I can tell the update site has recently changed to a newer format.
    For example, as I examine an entry the waybackmachine logged from November 19th 2014 ( https://web.archive.org/web/20141119041012/http://www.epic-ide.org/updates/ ) I see it does not have the artifacts.jar or content.jar files.

    Perhaps the new update site format is missing some required files (such as the p2.index file)?

    Let me know if I can provide any other useful information or if I should be posting this question somewhere else.

    Thanks!

     
    • Jan Ploski

      Jan Ploski - 2015-02-18

      There appears to be a misconfiguration of the web server, which is responding to a request for /updates/p2.index with 302 whereas it should be responding with 404 (interestingly, only to the Java client, not to a normal browser). I opened a ticket with the server admin to fix that.

       
      • Jan Ploski

        Jan Ploski - 2015-02-18

        Please try again, the problem has been fixed.

         
        • msven

          msven - 2015-02-19

          It worked, thanks for the help and quick reply!

           

Log in to post a comment.