Overview
When reviewing the Jive application logs, you notice the following error message:
- ERROR com.jivesoftware.community.JiveHome - Overridden text extraction directory /mnt/jive_persist/jiveSearchText is not a valid directory. Falling back to the default search text extraction directory
Solution
To resolve the cause of this error message, follow these steps on each Jive web server:
- Log in to one of the Jive web servers through the command-line interface.
- Change your account to the jive user by running the command:
sudo su - jive
- Run the following command:
jive list -v | grep custom_jvm
- Copy the value of the webapp.custom_jvm_args property, and paste it into a text editor. This value will be similar to this example:
-
-Doracle.jdbc.implicitStatementCacheSize=0 -Djive.text.extract.dir=/usr/testpath
-
- The value of this property can contain several parameters. A parameter starts with -D, followed by the name of the parameter, and then an = sign to define the parameter's value. A space separates each parameter from the others. When this issue occurs, the value of the jive.text.extract.dir parameter is invalid.
- In the text editor, either remove the jive.text.extract.dir parameter or change the path that is specified in the value for it to one that the jive user has full access to. For the example in step 3, this is what the new property value would look like with this parameter removed:
-
-Doracle.jdbc.implicitStatementCacheSize=0
-
- Run the following command, replacing <new value> with the new property value that you modified in the text editor:
jive set webapp.custom_jvm_args "<new value>"
- Following the example that was given in Step 3, if the jive.text.extract.dir parameter was removed, this command would be:
jive set webapp.custom_jvm_args " -Doracle.jdbc.implicitStatementCacheSize=0"
- If there were no other parameters in this property, the command would be:
jive set webapp.custom_jvm_args ""
- Following the example that was given in Step 3, if the jive.text.extract.dir parameter was removed, this command would be:
- When you are ready to perform a restart of the web server (This should be done outside of business hours), run the following command:
jive restart
Testing
To confirm that the new value is in place, please follow these steps on each web server:
- Log in to the server through the command-line interface.
- Change your account to the jive user by running the command:
sudo su - jive
- Run the following command:
jive list -v | grep custom_jvm
- Confirm that the value of the webapp.custom_jvm_args property matches the new value that you set.
Comments
0 comments
Please sign in to leave a comment.