Dracoyodan edited a comment on issue #511:
URL: 
https://github.com/apache/couchdb-documentation/issues/511#issuecomment-626327559


   I added the classpath line in bpluly's comment above and still receive this 
error.  My command is
   
   ```
   java -server \
        -Xmx2G \
        -Dsun.net.inetaddr.ttl=30 \
        -Dsun.net.inetaddr.negative.ttl=30 \
        -Dlog4j.configuration=file:/opt/clouseau/log4j.properties \
        -XX:OnOutOfMemoryError="kill -9 %p" \
        -XX:+UseConcMarkSweepGC \
        -XX:+CMSParallelRemarkEnabled \
        -classpath '/opt/clouseau/*' \
        com.cloudant.clouseau.Main \
        /opt/clouseau/clouseau.ini
   ```
   
   I installed clouseau in /opt/clouseau, which is also the folder that 
contains the clouseau.ini and log4j.properties files I created according to the 
documentation.  I list their contents below.
   
   ```
   cloudeau.ini:
   ; the name of the Erlang node created by the service, leave this unchanged
   [email protected]
   
   ; set this to the same distributed Erlang cookie used by the CouchDB nodes
   cookie=monster
   
   ; the path where you would like to store the search index files
   dir=/opt/couchdb/share/
   
   ; the number of search indexes that can be open simultaneously
   max_indexes_open=500
   
   ```
   
   
   log4j.properties:
   ```
   log4j.rootLogger=debug, CONSOLE
   log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
   log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
   log4j.appender.CONSOLE.layout.ConversionPattern=%d{ISO8601} %c [%p] %m%n
   ```
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to