incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruby Stevenson <ruby...@gmail.com>
Subject Re: Run configuration in Eclipse
Date Tue, 27 Sep 2011 10:38:58 GMT
yes, this solves the problem.

many thanks

Ruby

2011/9/26 Jérémy SEVELLEC <jsevellec@gmail.com>:
> Hi,
>
> try adding "file:" like that :
> -Dcassandra.config=file:${workspace_loc:cassandra}/test/conf/cassandra.yaml
>
> Regards
>
> Jérémy
>
> 2011/9/26 Ruby Stevenson <ruby185@gmail.com>
>
>> hi, all
>>
>> I am trying to set up run configuration in Eclipse, the VM argument I
>> passed in are as the following, I am pretty sure the path shown below
>> is valid, yet I am getting the exception - any help is appreciated.
>>
>> -Dcassandra.config=${workspace_loc:cassandra}/test/conf/cassandra.yaml
>> -Dcassandra-foreground
>>
>> org.apache.cassandra.config.ConfigurationException: Cannot locate
>> /Users/rstevenson/cassandra/test/conf/cassandra.yaml
>>        at
>> org.apache.cassandra.config.DatabaseDescriptor.getStorageConfigURL(DatabaseDescriptor.java:101)
>>        at
>> org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:111)
>>        at
>> org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:125)
>>        at
>> org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:337)
>>        at
>> org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:106)
>>
>> Thanks
>>
>> Ruby
>>
>
>
>
> --
> Jérémy
>

Mime
View raw message