Project: usergrid
Issue USERGRID-316: Usergrid Launcher throws exception if "initialize database" unchecked
If you run the Launcher and you do not check the "Initialize Database On Start" button, then the first time you start the server the Launcher will exit with an error message like this: 2015-01-06 16:03:51,476 ERROR (pool-2-thread-1) [org.apache.cassandra.config.DatabaseDescriptor] - Fatal configuration error org.apache.cassandra.exceptions.ConfigurationException: Cannot locate file:tmp/cassandra.yaml org.apache.cassandra.config.DatabaseDescriptor.getStorageConfigURL(DatabaseDescriptor.java:123) org.apache.cassandra.config.DatabaseDescriptor.loadYaml(DatabaseDescriptor.java:140) org.apache.cassandra.config.DatabaseDescriptor.(DatabaseDescriptor.java:132) org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:216) org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:447) org.apache.usergrid.launcher.EmbeddedServerHelper$CassandraRunner.run(EmbeddedServerHelper.java:190) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) java.lang.Thread.run(Thread.java:745)
Story points: 3