directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wei Zhou (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DIRKRB-246) Fail to run GSSInteropTest
Date Fri, 08 May 2015 02:56:59 GMT

     [ https://issues.apache.org/jira/browse/DIRKRB-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Wei Zhou updated DIRKRB-246:
----------------------------
    Attachment: DIRKRB-246-V2.patch

Codes refined, thanks!

> Fail to run GSSInteropTest
> --------------------------
>
>                 Key: DIRKRB-246
>                 URL: https://issues.apache.org/jira/browse/DIRKRB-246
>             Project: Directory Kerberos
>          Issue Type: Bug
>            Reporter: Jiajia Li
>            Assignee: Colm O hEigeartaigh
>         Attachments: DIRKRB-246-V1.patch, DIRKRB-246-V2.patch
>
>
> Try to run GSSInteropTest.
> 1. When run in console, error as following:
> {code}
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.073 sec <<<
FAILURE! - in org.apache.kerby.kerberos.kerb.server.GSSInteropTest
> testKdc(org.apache.kerby.kerberos.kerb.server.GSSInteropTest)  Time elapsed: 1.068 sec
 <<< ERROR!
> java.security.PrivilegedActionException: null
>         at sun.security.jgss.krb5.Krb5AcceptCredential.getInstance(Krb5AcceptCredential.java:87)
>         at sun.security.jgss.krb5.Krb5MechFactory.getCredentialElement(Krb5MechFactory.java:127)
>         at sun.security.jgss.GSSManagerImpl.getCredentialElement(GSSManagerImpl.java:193)
>         at sun.security.jgss.GSSCredentialImpl.add(GSSCredentialImpl.java:427)
>         at sun.security.jgss.GSSCredentialImpl.<init>(GSSCredentialImpl.java:62)
>         at sun.security.jgss.GSSManagerImpl.createCredential(GSSManagerImpl.java:154)
>         at org.apache.kerby.kerberos.kerb.server.GSSInteropTest$KerberosServiceExceptionAction.run(GSSInteropTest.java:246)
>         at org.apache.kerby.kerberos.kerb.server.GSSInteropTest$KerberosServiceExceptionAction.run(GSSInteropTest.java:225)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAs(Subject.java:422)
>         at org.apache.kerby.kerberos.kerb.server.GSSInteropTest.validateServiceTicket(GSSInteropTest.java:157)
>         at org.apache.kerby.kerberos.kerb.server.GSSInteropTest.testKdc(GSSInteropTest.java:139)
> {code}
> 2. when run in IDE:
> {code}
> java.io.FileNotFoundException: /home/jiajia/devel/plusplusjiajia/directory-kerby/src/test/resources/krb5.conf
(No such file or directory)
> 	at java.io.FileInputStream.open0(Native Method)
> 	at java.io.FileInputStream.open(FileInputStream.java:195)
> 	at java.io.FileInputStream.<init>(FileInputStream.java:138)
> 	at org.apache.kerby.kerberos.kerb.server.GSSInteropTest.setUp(GSSInteropTest.java:93)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message