Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Download the newest Tomcat 8+ core.  Unzip that to the folder where you would like to run rice.
  2. Download spring-instrument-tomcat-3.2.12.RELEASE.jar and put it in the tomcat lib folder.
  3. Copy the mysql driver to the tomcat lib folder.
  4. Delete everything under the webapps folder.
  5. Download the rice server file.  This this link was the most current version of Rice at the time this page was created.  Rename the file to kr-dev.war and copy the file to the webapps folder inside the tomcat folder.
  6. Edit the server.xml file in the tomcat conf folder.  Change port 8005 to 8006, port 8009 to 8010 and port 8080 to port 8081.  This is required so this version of tomcat will not interfere with the version of tomcat used to run financials.
  7. Create a folder inside tomcat named rice.  Under this folder make the folders pluginskew_attachmentsxml.
  8. Copy the rice-config.xml, log4j.properties and rice.keystore files into the rice folder.  Edit the rice-config.xml and make sure paths are correct.
  9. Run the SQL here (to update db for Rice 2.6 changes).
  10. If you are on Windows, edit the file bin/setclasspath.bat, otherwise bin/setclasspath.sh.  Add a line after the comment.  Adjust the path as necessary:

    Code Block
    bin/setclasspath.sh should have this line added:
     
    export JAVA_OPTS=-Dadditional.config.locations=/Users/user/rice/apache-tomcat-7.0.65/rice/rice$CATALINA_BASE/rice/rice-config.xml
    
    bin/setclasspath.bat should have this line added:
     
    set JAVA_OPTS=-Dadditional.config.locations=C:\rice\apache-tomcat-7.0.65\rice\rice$CATALINA_BASE/rice/rice-config.xml
     


Running Standalone Rice

Run catalina.bat run on Windows or catalina.sh run if not.

...