On Wed, Oct 19, 2016 at 12:37 PM, Irham Iqbal <[email protected]> wrote:
> Hi,
>
> I am getting an exception[1] when starting wso2uuf pack, which I build it
> from master branch of uuf repo[2]. I found the following code[3] in
> class[4] in carbon-security repo[5] which is causing the exception.
> I think we need a slash in between CarbonHomeDirectory and conf/security/.That
> can be seen in the exception as well, I have highlighted the problem in the
> execption as /Users/irham/workspace/carbon-uuf/carbon-uuf/product/target/
> wso2uuf-1.0.0-SNAPSHOTconf/security/claim-store.yml.
>
> [1] [2016-10-19 11:59:19,909] INFO {org.wso2.carbon.transport.
> http.netty.internal.NettyTransportServiceComponent} - All
> CarbonNettyServerInitializers are available
>
> [2016-10-19 11:59:19,921] ERROR
> {org.wso2.carbon.security.caas.internal.CarbonSecurityComponent}
> - Error initializing claim store from file java.io.IOException: Claim Store
> file /Users/irham/workspace/carbon-uuf/carbon-uuf/product/target/
> wso2uuf-1.0.0-SNAPSHOTconf/security/claim-store.yml' is not available.
>
> at org.wso2.carbon.security.caas.user.core.claim.
> FileBasedMetaClaimStore.<init>(FileBasedMetaClaimStore.java:46)
>
> at org.wso2.carbon.security.caas.internal.CarbonSecurityComponent.
> onAllRequiredCapabilitiesAvailable(CarbonSecurityComponent.java:330)
>
> at org.wso2.carbon.kernel.internal.startupresolver.
> StartupComponentManager.lambda$notifySatisfiableComponents$
> 27(StartupComponentManager.java:237)
>
> at java.util.ArrayList.forEach(ArrayList.java:1249)
>
> at org.wso2.carbon.kernel.internal.startupresolver.
> StartupComponentManager.notifySatisfiableComponents(
> StartupComponentManager.java:225)
>
> at org.wso2.carbon.kernel.internal.startupresolver.
> StartupOrderResolver$1.run(StartupOrderResolver.java:186)
>
> at java.util.TimerThread.mainLoop(Timer.java:555)
>
> at java.util.TimerThread.run(Timer.java:505)
>
>
> [2] https://github.com/wso2/carbon-uuf
>
> [3] MetaClaimStore metaClaimStore = new FileBasedMetaClaimStore(
> CarbonSecurityConstants.getCarbonHomeDirectory().toString() +
> "conf/security/" + CarbonSecurityConstants.CLAIM_STORE_FILE);
>
> [4] carbon-security/components/org.wso2.carbon.security.caas/
> src/main/java/org/wso2/carbon/security/caas/internal/
> CarbonSecurityComponent.java
>
> [4] https://github.com/wso2/carbon-security
> Thanks,
> Iqbal
>
> --
> Irham Iqbal
> Software Engineer
> WSO2
> phone: +94 777888452
> <http://wso2.com/signature>
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev