You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airavata.apache.org by "Shahbaz Memon (JIRA)" <ji...@apache.org> on 2013/11/15 17:43:21 UTC

[jira] [Created] (AIRAVATA-960) JSDLGeneratorTest (part of Gfac module) fails due to default trust dir reference

Shahbaz Memon created AIRAVATA-960:
--------------------------------------

             Summary: JSDLGeneratorTest (part of Gfac module) fails due to default trust dir reference  
                 Key: AIRAVATA-960
                 URL: https://issues.apache.org/jira/browse/AIRAVATA-960
             Project: Airavata
          Issue Type: Bug
          Components: GFac
    Affects Versions: 0.11
         Environment: GFaC trunk, Linux, Eclipse Kepler, Java 6
            Reporter: Shahbaz Memon
            Assignee: Amila Jayasekara
             Fix For: 0.11


The JSDLGenerator test fails due to the static loading (see below) of the trusted cert entries within GSISecurityContext. 

     static {
        Security.addProvider(new GlobusProvider());
        setUpTrustedCertificatePath(); // should be improved
    }

GSISecurityContext ignores any dir value set by GFacBastTestCase, instead it  loads the one set during the setUpTrustedCertificatePath() call at the time of class initialization. If I comment the setUpTrustedCertificatePath() call the test passes.



--
This message was sent by Atlassian JIRA
(v6.1#6144)