You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Jonathan Maron (JIRA)" <ji...@apache.org> on 2014/07/23 12:30:40 UTC

[jira] [Commented] (SLIDER-252) openssl support needs to handle file path differences between windows and linux

    [ https://issues.apache.org/jira/browse/SLIDER-252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14071579#comment-14071579 ] 

Jonathan Maron commented on SLIDER-252:
---------------------------------------

I don't think this is a path issue. Try removing the directory and restarting. For some reason the ca.config file is not generated, perhaps because the directory already exists and the code assumes the file was generated previously. That file is required for keystore.p12 to be generated. If that is the case then we probably need to make the code in SecurityUtils more resilient. If you have a test setup I can work with you on this. 

> openssl support needs to handle file path differences between windows and linux
> -------------------------------------------------------------------------------
>
>                 Key: SLIDER-252
>                 URL: https://issues.apache.org/jira/browse/SLIDER-252
>             Project: Slider
>          Issue Type: Bug
>          Components: appmaster
>    Affects Versions: Slider 0.50
>            Reporter: Sumit Mohanty
>            Assignee: Jonathan Maron
>             Fix For: Slider 0.50
>
>
> After openssl is installed ...
> {noformat}
> java.io.FileNotFoundException: C:\tmp\work\security\keystore.p12 (The system cannot find the file specified)
> 	at java.io.FileInputStream.open(Native Method)
> 	at java.io.FileInputStream.<init>(FileInputStream.java:146)
> 	at org.mortbay.resource.FileResource.getInputStream(FileResource.java:275)
> 	at org.mortbay.jetty.security.SslSelectChannelConnector.createSSLContext(SslSelectChannelConnector.java:624)
> 	at org.mortbay.jetty.security.SslSelectChannelConnector.doStart(SslSelectChannelConnector.java:598)
> 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> 	at org.mortbay.jetty.Server.doStart(Server.java:235)
> 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> 	at org.apache.slider.server.appmaster.web.rest.agent.AgentWebApp$Builder.start(AgentWebApp.java:102)
> 	at org.apache.slider.server.appmaster.SliderAppMaster.startAgentWebApp(SliderAppMaster.java:760)
> 	at org.apache.slider.server.appmaster.SliderAppMaster.createAndRunCluster(SliderAppMaster.java:605)
> 	at org.apache.slider.server.appmaster.SliderAppMaster.runService(SliderAppMaster.java:421)
> 	at org.apache.slider.core.main.ServiceLauncher.launchService(ServiceLauncher.java:186)
> 	at org.apache.slider.core.main.ServiceLauncher.launchServiceRobustly(ServiceLauncher.java:474)
> 	at org.apache.slider.core.main.ServiceLauncher.launchServiceAndExit(ServiceLauncher.java:405)
> 	at org.apache.slider.core.main.ServiceLauncher.serviceMain(ServiceLauncher.java:629)
> 	at org.apache.slider.server.appmaster.SliderAppMaster.main(SliderAppMaster.java:1618)
> {noformat}
> File path differences need to be handled
> ca.conf file still needs value where path separator is "/"



--
This message was sent by Atlassian JIRA
(v6.2#6252)