Patrick,
 you're right. I made the error gone after removing the prefix.
Thanks,
Emily

On Tuesday, March 29, 2016 at 3:07:07 PM UTC-5, Yan Pei wrote:
>
> Thank you Patrik.
>
> After removing akka.persistence prefix from 
> cassandra-journal.contact-points, I got the same error plus:
>
> Exception in thread "main" com.typesafe.config.ConfigException$Missing: No 
> configuration setting found for key 'akka.persistence.cassandra-journal'
>
> Regards,
>
> Emily
>
> On Tuesday, March 29, 2016 at 2:54:06 PM UTC-5, Patrik Nordwall wrote:
>>
>> Wrong config. Try 
>> cassandra-journal.contact-points
>> without the akka.persistence prefix
>>
>> /Patrik
>>
>> tis 29 mars 2016 kl. 21:19 skrev Yan Pei <yan...@gmail.com>:
>>
>>> Hello ALL,
>>>
>>>    I am on my wits end to get this issue figured out by myself. Any 
>>> suggestion would be appreciated.
>>>
>>>    The followings are information for what I am using:
>>>    
>>>    * AKKA 2.4.2*
>>> *    Cassendra 2.6*
>>> *   Akka-persistence-cassandra 0.11*
>>>
>>> applicaton.conf
>>>
>>>   akka.persistence.journal.plugin = "cassandra-journal"
>>>  akka.persistence.snapshot-store.plugin = "cassandra-snapshot-store"
>>>  akka.persistence.cassandra-journal.contact-points = [
>>> "ipaddressfordocker"]
>>>  akka.persistence.cassandra-journal.port = "9042"
>>>  akka.persistence.cassandra-journal.authentication.username = "usernmae"
>>>  akka.persistence.cassandra-journal.authentication.password = "password"
>>>
>>>   
>>> This is the error I got if I shutdown my local running cassandra.
>>>
>>> [WARN] [03/29/2016 14:13:27.542] 
>>> [example-cassandra-journal.default-dispatcher-6] 
>>> [akka://example/system/cassandra-journal] Failed to connect to Cassandra 
>>> and initialize. It will be retried on demand. Caused by: All host(s) tried 
>>> for query failed (tried: /127.0.0.1:9042 
>>> (com.datastax.driver.core.exceptions.TransportException: [/127.0.0.1] 
>>> Cannot connect))
>>> [WARN] [03/29/2016 14:13:34.689] 
>>> [example-cassandra-snapshot-store.default-dispatcher-7] 
>>> [akka://example/system/cassandra-snapshot-store] Failed to initialize. It 
>>> will be retried. Caused by: All host(s) tried for query failed (tried: /
>>> 127.0.0.1:9042 (com.datastax.driver.core.exceptions.TransportException: 
>>> [/127.0.0.1] Cannot connect))
>>>
>>>
>>> But it works well if I start up my local cassandra(127.0.0.1).
>>>
>>> Looks like  akka.persistence.cassandra-journal.contact-points doesn't 
>>> override the default 127.0.0.1.
>>>
>>> Any configuration I might miss?
>>>
>>> Thanks very much,
>>>
>>> Emily
>>>
>>> -- 
>>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>>> >>>>>>>>>> Check the FAQ: 
>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>> >>>>>>>>>> Search the archives: 
>>> https://groups.google.com/group/akka-user
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Akka User List" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to akka-user+...@googlegroups.com.
>>> To post to this group, send email to akka...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/akka-user.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to