Closed orubel closed 12 years ago
Searchable throws tomcat error when run in production. To fix this do the following:
from within environment run : grails install-searchable-config
This will create searchable config file in conf directory. Then change this for production:
compassConnection = new File( "/tmp/grails/projects/${appName}/searchable-index/${grailsEnv}" ).absolutePath
Keep in mind this is mostly for *NIX systems. You can also just require them to create the path:
${userHome}/.grails/projects/${appName}/searchable-index/
where user-home is their app-server home dir and give READ-WRITE access to app-server user.
Need to start README file to start putting installation instructions into like this.
Searchable throws tomcat error when run in production. To fix this do the following:
from within environment run : grails install-searchable-config
This will create searchable config file in conf directory. Then change this for production:
compassConnection = new File( "/tmp/grails/projects/${appName}/searchable-index/${grailsEnv}" ).absolutePath
Keep in mind this is mostly for *NIX systems. You can also just require them to create the path:
${userHome}/.grails/projects/${appName}/searchable-index/
where user-home is their app-server home dir and give READ-WRITE access to app-server user.