You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Gina Choi <gi...@gmail.com> on 2012/06/21 16:08:03 UTC

Build exception from Fediz\turnk\plugins\core

Hi Oliver,

I am working on connecting Fediz to OpenLdap in the cloud. This time, I
don't need to deal with both ADFS2.0 and ActiveDirectory. So, just checked
out code from Fediz trunk and ran build for plugins\core. Build was success
at end, but in the middle I am seeing following exceptions. It looks for
alias(mystskey, myservicekey, myclientkey) from Java key store. Do I need
to import them to the Java key store or I should ignore this exception.

</EntityDescriptor>
Jun 21, 2012 9:09:01 AM org.apache.ws.security.components.crypto.Merlin
getPrivateKey
SEVERE: Cannot find key for alias: [null] in keystore of type [JKS] from
provider [SUN version 1.6] with size [3] and aliases: {mystskey,
myservicekey, myclientkey}
Jun 21, 2012 9:09:01 AM org.apache.cxf.fediz.core.metadata.MetadataWriter
getMetaData
SEVERE: Error creating service metadata information
org.apache.ws.security.WSSecurityException: Cannot find key for alias:
[null]
        at
org.apache.ws.security.components.crypto.Merlin.getPrivateKey(Merlin.java:703)
        at
org.apache.cxf.fediz.core.metadata.MetadataWriter.signMetaInfo(MetadataWriter.java:269)
        at
org.apache.cxf.fediz.core.metadata.MetadataWriter.getMetaData(MetadataWriter.java:221)
        at
org.apache.cxf.fediz.core.FederationProcessorImpl.getMetaData(FederationProcessorImpl.java:80)
        at
org.apache.cxf.fediz.core.FederationMetaDataTest.validateMetaDataNoAlias(FederationMetaDataTest.java:91)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
        at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
        at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
        at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
        at
org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
        at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
        at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
        at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
        at
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
        at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
        at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
        at
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
        at
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
        at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
        at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
Jun 21, 2012 9:09:01 AM org.apache.cxf.fediz.core.metadata.MetadataWriter
getMetaData
INFO: No signingKey element found in config: null
<?xml version="1.0" encoding="UTF-8" standalone="no"?>

Thanks.

Gina