I switched from xml to programmatically cache creation and now I can’t retrieve my cache by name.
Here’s a code snippet that shows what I’m doing maybe you can spot an obvious error?
(I’m only showing the relevant lines here).
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Just found how to make it work, out of trial and error.
See the updated gist.
This ehcache behavior is as counter intuitive as it gets.