Versions Compared

Key

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

...

  1. Download the newest Tomcat 7 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 newest rice standalone distribution from the http://kuali.org web site.  Unzip the file and copy the kr-dev.war 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 and port 8080 to port 8081.
  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. 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-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-config.xml
     

Running Standalone Rice

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

...