cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ChunFeng (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CLOUDSTACK-519) Cloudstack development environment on Windows using Cygwin references 'sudo' which is not available in Cygwin
Date Tue, 02 Dec 2014 11:36:13 GMT

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

ChunFeng closed CLOUDSTACK-519.
-------------------------------
    Resolution: Not a Problem
      Assignee: Animesh Chaturvedi

Hi  Animesh Chaturvedi,

https://issues.apache.org/jira/browse/CLOUDSTACK-519

is not cloudstack bug , so I close this issue .

ChunFeng


> Cloudstack development environment on Windows using Cygwin  references 'sudo' which is
not available in Cygwin
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-519
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-519
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Install and Setup
>    Affects Versions: 4.0.0
>         Environment: Windows 7, 64 bit
>            Reporter: Animesh Chaturvedi
>            Assignee: Animesh Chaturvedi
>            Priority: Minor
>
> I am trying to set up development environment on Windows following the steps outlined
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+a+CloudStack+dev+environment+on+Windows
> All worked fine until the last step  of running the server mvn -pl :cloud-client-ui jetty:run
> The logs reveal reference to "sudo" which is not available in Cygwin
> WARN  [utils.script.Script] (main:) Exception: sudo keytool -genkey -keystore C:\Users\....\cloudstack-oss\incubator-cloudstack\client\target\cloud-client-ui-4.1.0-SNAPSHOT\WEB-INF\classes/cloud.keystore
-storepass vmops.com -keypass vmops.com -keyalg RSA -validity 3650 -dname cn="Cloudstack User",ou="SJC**",o="SJC***",c="Unknown"

> java.io.IOException: Cannot run program "sudo": CreateProcess error=2, The system cannot
find the file specified
> 	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
> 	at com.cloud.utils.script.Script.execute(Script.java:183)
> 	at com.cloud.utils.script.Script.execute(Script.java:161)
> 	at com.cloud.server.ConfigurationServerImpl.generateDefaultKeystore(ConfigurationServerImpl.java:475)
> 	at com.cloud.server.ConfigurationServerImpl.updateSSLKeystore(ConfigurationServerImpl.java:498)
> 	at com.cloud.server.ConfigurationServerImpl.persistDefaultValues(ConfigurationServerImpl.java:265)
> 	at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34)
> 	at com.cloud.servlet.CloudStartupServlet.init(CloudStartupServlet.java:47)
> 	at javax.servlet.GenericServlet.init(GenericServlet.java:241)
> 	at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440)
> 	at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
> 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> 	at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:736)
> 	at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
> 	at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
> 	at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
> 	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
> 	at org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:115)
> 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> 	at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
> 	at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
> 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> 	at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
> 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> 	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
> 	at org.mortbay.jetty.Server.doStart(Server.java:224)
> 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> 	at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132)
> 	at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:454)
> 	at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:396)
> 	at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:210)
> 	at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:184)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file
specified
> 	at java.lang.ProcessImpl.create(Native Method)
> 	at java.lang.ProcessImpl.<init>(ProcessImpl.java:189)
> 	at java.lang.ProcessImpl.start(ProcessImpl.java:133)
> 	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1021)
> 	... 56 more



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

Mime
View raw message