Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29250

Hibernate Search on EC2, "Unable to create index directory"

$
0
0

I'm trying to implement Hibernate Search on my aws application. As usual, everything works great on localhost, but when upload to aws, I receive the following error:

org.hibernate.search.SearchException: Unable to create index directory: 
/usr/lucene/indexes for index com.myproject.domain.User

My Hibernate Search config:

<prop key="hibernate.search.default.directory_provider">filesystem</prop>
<prop key="hibernate.search.default.indexBase">/usr/lucene/indexes</prop>

I'm using EC2 + elastic beanstalk, linux with tomcat 7. I have windows on my local machine.

Should I create a directory named "/usr/lucene/indexes" on EC2 manually? Thanks.


Viewing all articles
Browse latest Browse all 29250

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>