Cassandra as a service on Windows
Hi all,\ According to http://www.datastax.com/dev/blog/whats-new-in-cassandra-1-0-windows-service-new-cql-clients-and-more running cassandra.bat install should make cassandra run on a service on a windows box. However I'm getting the following when I try: C:\apache-cassandra-1.2.1\bincassandra.bat install trying to delete service if it has been created already The system cannot find the path specified. Installing cassandra. If you get registry warnings, re-run as an Administrator The system cannot find the path specified. Setting the parameters for cassandra The system cannot find the path specified. Installation of cassandra is complete no service is installed. Digging into cassandra.bat I notice: :doInstallOperation set SERVICE_JVM=cassandra rem location of Prunsrv set PATH_PRUNSRV=%CASSANDRA_HOME%\bin\daemon\ set PR_LOGPATH=%PATH_PRUNSRV% \bin\daemon does not exist. Is this a bug that it's missing ? Andy The University of Dundee is a registered Scottish Charity, No: SC015096
Re: running cassandra as a service on windows
Hi all, Had you tried with Tanuki's Java Wrapper? It's so easy to deploy in Windows... -aah 2010/4/23, Miguel Verde miguelitov...@gmail.com: https://issues.apache.org/jira/browse/CASSANDRA-292 points to http://commons.apache.org/daemon/procrun.html which is used by other Apache software to implement Windows services in Java. CassandraDaemon conforms to the Commons Daemon spec. On Fri, Apr 23, 2010 at 2:20 PM, Jonathan Ellis jbel...@gmail.com wrote: you could do it with standard techniques to run java apps as windows services. i understand it's a bit painful. On Fri, Apr 23, 2010 at 2:05 PM, S Ahmed sahmed1...@gmail.com wrote: Is it possible to have Cassandra run in the background on a windows server? i.e. as a service so if the server reboots, cassandra will automatically run? I really hate how windows handles services -- Enviado desde mi dispositivo móvil
Re: running cassandra as a service on windows
you could do it with standard techniques to run java apps as windows services. i understand it's a bit painful. On Fri, Apr 23, 2010 at 2:05 PM, S Ahmed sahmed1...@gmail.com wrote: Is it possible to have Cassandra run in the background on a windows server? i.e. as a service so if the server reboots, cassandra will automatically run? I really hate how windows handles services
Re: running cassandra as a service on windows
https://issues.apache.org/jira/browse/CASSANDRA-292 points to http://commons.apache.org/daemon/procrun.html which is used by other Apache software to implement Windows services in Java. CassandraDaemon conforms to the Commons Daemon spec. On Fri, Apr 23, 2010 at 2:20 PM, Jonathan Ellis jbel...@gmail.com wrote: you could do it with standard techniques to run java apps as windows services. i understand it's a bit painful. On Fri, Apr 23, 2010 at 2:05 PM, S Ahmed sahmed1...@gmail.com wrote: Is it possible to have Cassandra run in the background on a windows server? i.e. as a service so if the server reboots, cassandra will automatically run? I really hate how windows handles services