Could be that tycho-equinox uses an old version of the osgi runtime which
does not support these algorithms. We may have to update our p2-plugin to
use the latest tycho-equinox dependency and see.

On Thu, Oct 8, 2015 at 1:18 PM, Aruna Karunarathna <ar...@wso2.com> wrote:

> Hi all,
>
> I tried to upgrade the OSGi bundles of the C5 to the latest version and
> getting the following error [1]. Seems like the signed algorithm is not
> found by the eclipse plugin.
>
> Any insights regarding this issue?..
>
>
> [1].
> [INFO] Command line:
> /bin/sh -c cd
> /home/aruna/wso2/development/github/carbon-kernel/distribution &&
> /home/aruna/software/java/jdk1.8.0_20/jre/bin/java -jar
> /home/aruna/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/plugins/org.eclipse.equinox.launcher_1.2.0.v20110725-1610.jar
> -nosplash -application org.eclipse.equinox.p2.publisher.ProductPublisher
> -metadataRepository
> file:/home/aruna/wso2/development/github/carbon-kernel/distribution/target/p2-repo
> -artifactRepository
> file:/home/aruna/wso2/development/github/carbon-kernel/distribution/target/p2-repo
> -productFile
> /home/aruna/wso2/development/github/carbon-kernel/distribution/carbon.product
> -executables
> /home/aruna/wso2/development/github/carbon-kernel/distribution/target/org.eclipse.equinox.executable_3.5.0.v20110530-7P7NFUFFLWUl76mart
> -publishArtifacts -configs gtk.linux.x86 -flavor tooling -append
> Generating metadata for ..
> Generation completed with success [0 seconds].
> [INFO]
> [INFO] --- carbon-p2-plugin:1.5.4:materialize-product
> (materialize-product) @ wso2carbon-kernel ---
> [INFO] Command line:
> /bin/sh -c cd
> /home/aruna/wso2/development/github/carbon-kernel/distribution &&
> /home/aruna/software/java/jdk1.8.0_20/jre/bin/java -jar
> /home/aruna/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/plugins/org.eclipse.equinox.launcher_1.2.0.v20110725-1610.jar
> -nosplash -application org.eclipse.equinox.p2.director -metadataRepository
> file:/home/aruna/wso2/development/github/carbon-kernel/distribution/target/p2-repo
> -artifactRepository
> file:/home/aruna/wso2/development/github/carbon-kernel/distribution/target/p2-repo
> -installIU carbon.product.id -profileProperties
> org.eclipse.update.install.features=true -profile profile/default
> -bundlepool
> file:/home/aruna/wso2/development/github/carbon-kernel/distribution/target/WSO2Carbon
> -shared
> file:/home/aruna/wso2/development/github/carbon-kernel/distribution/target/WSO2Carbon/p2
> -destination
> file:/home/aruna/wso2/development/github/carbon-kernel/distribution/target/WSO2Carbon/profile/default
> -p2.os linux -p2.ws gtk -p2.arch x86 -roaming
> Installing carbon.product.id 5.0.0.SNAPSHOT.
> Installation failed.
> An error occurred while collecting items to be installed
>  session context was:(profile=profile/default,
> phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=,
> action=).
>  Problems downloading artifact:
> osgi.bundle,org.eclipse.osgi,3.10.101.v20150820-1432.
>   Error reading signed content:/tmp/signatureFile3272465265474111050.jar
> *Caused by:   java.security.NoSuchAlgorithmException: An error occurred
> while processing the signatures for the file:
> /tmp/signatureFile3272465265474111050.jar*
> *Caused by:   java.security.NoSuchAlgorithmException: No algorithm found
> for 2.16.840.1.101.3.4.2.1*
> Application failed, log file location:
> /home/aruna/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1444286315504.log
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] WSO2 Carbon Kernel - Parent Pom ................... SUCCESS
> [3:43.305s]
> [INFO] WSO2 Carbon Kernel - Launcher ..................... SUCCESS
> [1:36.482s]
> [INFO] WSO2 Carbon Kernel - Core ......................... SUCCESS
> [34.145s]
> [INFO] WSO2 Carbon Kernel - Transport .................... SUCCESS
> [44.071s]
> [INFO] WSO2 Carbon Kernel - Features Parent .............. SUCCESS [1.057s]
> [INFO] WSO2 Carbon Kernel - Carbon Server Feature ........ SUCCESS
> [47.714s]
> [INFO] WSO2 Carbon Kernel - Carbon Runtime Feature ....... SUCCESS
> [52.441s]
> [INFO] WSO2 Carbon Kernel - Distribution ................. FAILURE
> [27.403s]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
>
>
> --
>
> *Aruna Sujith Karunarathna *| Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 9040362 | Work: +94 112145345
> Email: ar...@wso2.com | Web: www.wso2.com
>
>



-- 
*Kishanthan Thangarajah*
Associate Technical Lead,
Platform Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com <http://kishanthan.wordpress.com>*
Twitter - *http://twitter.com/kishanthan <http://twitter.com/kishanthan>*
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to