No need for any concern Bo, the test expects the keystore not to be
found as its excercising the scenario when the keystore location isn't
explicitly configured, so that the standard JSSE fallback location of
$HOME/.keystore is used instead.
 
Cheers,
Eoghan

> -----Original Message-----
> From: Bozhong Lin [mailto:[EMAIL PROTECTED] 
> Sent: 05 February 2007 10:43
> To: [email protected]
> Subject: HttpsURLConnectionFactoryTest exception
> 
> During snapshot publish today, I saw following exception 
> message for HttpsURLConnectionFactoryTest. Should we be 
> concerned about this exception? Though the build was successful.
> 
> Regards,
> Bo
> 
> [surefire] Running
> org.apache.cxf.transport.https.HttpsURLConnectionFactoryTest
> [surefire] Tests run: 12, Failures: 0, Errors: 0, Time 
> elapsed: 5.313 sec [surefire]
> 
> java.io.FileNotFoundException: /home/blin/.keystore (No such file or
> directory)
>         at java.io.FileInputStream.open(Native Method)
>         at java.io.FileInputStream.<init>(FileInputStream.java:106)
>         at java.io.FileInputStream.<init>(FileInputStream.java:66)
>         at
> org.apache.cxf.transport.https.SSLUtils.loadClientCredential(S
> SLUtils.java:209)
>         at
> org.apache.cxf.transport.https.SSLUtils.getKeyStoreManagers(SS
> LUtils.java:118)
>         at
> org.apache.cxf.transport.https.JettySslListenerFactory.decorat
> e(JettySslListenerFactory.java:110)
>         at
> org.apache.cxf.transport.https.JettySslListenerFactoryTest.tes
> tSetAllDataExceptKeystoreAndTrustStore(JettySslListenerFactory
> Test.java:213)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
> orImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at junit.framework.TestCase.runTest(TestCase.java:164)
>         at junit.framework.TestCase.runBare(TestCase.java:130)
>         at junit.framework.TestResult$1.protect(TestResult.java:106)
>         at 
> junit.framework.TestResult.runProtected(TestResult.java:124)
>         at junit.framework.TestResult.run(TestResult.java:109)
>         at junit.framework.TestCase.run(TestCase.java:120)
>         at junit.framework.TestSuite.runTest(TestSuite.java:230)
>         at junit.framework.TestSuite.run(TestSuite.java:225)
>         at 
> junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>         at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>         at 
> junit.framework.TestResult.runProtected(TestResult.java:124)
>         at junit.extensions.TestSetup.run(TestSetup.java:25)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
> orImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.apache.maven.surefire.battery.JUnitBattery.executeJUnit(JU
> nitBattery.java:242)
>         at
> org.apache.maven.surefire.battery.JUnitBattery.execute(JUnitBa
> ttery.java:216)
>         at
> org.apache.maven.surefire.Surefire.executeBattery(Surefire.java:215)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:163)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:87)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:63)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
> orImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.apache.maven.surefire.SurefireBooter.main(SurefireBooter.java:785)
> 
> 

Reply via email to