...
- Download the newest Tomcat 7 core. Unzip that to the folder where you would like to run rice.
- Download spring-instrument-tomcat-3.2.12.RELEASE.jar and put it in the tomcat lib folder.
- Copy the mysql driver to the tomcat lib folder.
- Delete everything under the webapps folder.
- 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.
- 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.
- Create a folder inside tomcat named rice. Under this folder make the folders plugins, kew_attachments, xml.
- 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.
- Run the SQL here (to update db for Rice 2.6 changes).
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:
Run the SQL here (to update db for Rice 2.6 changes).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.
...