Sample rice-config.xml
/usr/local/rice-config.xml
<config> <!-- Embedded KEW and KIM-> <param name="kew.mode">EMBEDDED</param> <param name="kiw.mode">EMBEDDED</param> <!-- Core --> <!-- environment configuration (prd or dev) --> <param name="environment">dev</param> <!-- production environment code - should always be lower case "prd" --> <param name="production.environment.code">prd</param> <!--Both of the above codes should be "prd" in a production environment --> <param name="app.code" override="false">rc</param> <param name="module.name">rice-client</param> <param name="application.id">rice-client</param> <param name="app.context.name" override="false">${app.code}-${environment}</param> <!-- Client Application --> <param name="application.url">https://rice-dev.ucdavis.edu/rice-client</param> <param name="application.host">rice-dev.ucdavis.edu</param> <!-- Rice Server --> <param name="rice.server.url">http://rice-sandboxes.ucdavis.edu/dev-cb-2.1.0</param> <param name="rice.portal.allowed.regex">^${application.url}(/.*|)|^${rice.server.url}(/.*|)</param> <param name="rice.config.path">/usr/local/rice/</param> <param name="log4j.settings.path">${rice.config.path}/log4j.properties</param> <param name="log4j.settings.reloadInterval">5</param> <!-- UCD Implementation --> <param name="rice.kr.additionalSpringFiles">classpath:edu/ucdavis/kuali/rice/krad/config/ucd-krad-service.xml</param> <param name="rice.kew.additionalSpringFiles">classpath:edu/ucdavis/kuali/rice/kew/config/ucd-kew-service.xml</param> <!-- Client Application Database --> <param name="datasource.ojb.platform">MySQL</param> <param name="datasource.platform">org.kuali.rice.core.framework.persistence.platform.MySQLDatabasePlatform</param> <param name="datasource.url">jdbc:mysql://myserver.ucdavis.edu:3306/riceclientdb</param> <param name="datasource.driver.name">com.mysql.jdbc.Driver</param> <param name="datasource.pool.validationQuery">select 1</param> <param name="datasource.pool.maxWait">30000</param> <param name="datasource.pool.size">20</param> <param name="datasource.pool.maxActive">20</param> <param name="datasource.minIdle">0</param> <param name="datasource.initialSize">10</param> <param name="datasource.accessToUnderlyingConnectionAllowed">true</param> <param name="datasource.username"></param> <param name="datasource.password"></param> <!-- Rice Server DB --> <param name="standalone.datasource.ojb.platform">Oracle9i</param> <param name="standalone.datasource.platform">org.kuali.rice.core.framework.persistence.platform.OraclePlatform</param> <param name="standalone.datasource.url">jdbc:oracle:thin:@ldap://oraldap1.ucdavis.edu:389/rice_test,cn=OracleContext,dc=ucdavis,dc=edu ldap://oraldap2.ucdavis.edu:389/rice_test,cn=OracleContext,dc=ucdavis,dc=edu</param> <param name="standalone.datasource.driver.name">oracle.jdbc.driver.OracleDriver</param> <param name="standalone.datasource.pool.validationQuery">select 1 from dual</param> <param name="standalone.datasource.pool.maxWait">30000</param> <param name="standalone.datasource.pool.size">20</param> <param name="standalone.datasource.pool.maxActive">10</param> <param name="standalone.datasource.minIdle">0</param> <param name="standalone.datasource.initialSize">20</param> <param name="standalone.datasource.accessToUnderlyingConnectionAllowed">true</param> <param name="standalone.datasource.username"></param> <param name="standalone.datasource.password"></param> <!-- KSB --> <param name="rice.ksb.registry.serviceUrl">${rice.server.url}/remoting/soap/ksb/v2_0/serviceRegistry</param> <param name="rice.ksb.serviceRegistry.security">true</param> <param name="rice.ksb.config.allowSelfSignedSSL">false</param> <param name="rice.portal.allowed.regex">^${application.url}(/.*|)|^${rice.server.url}(/.*|)</param> <param name="keystore.alias">rice</param> <param name="keystore.file">/usr/local/rice/rice.keystore</param> <param name="keystore.password"></param> <param name="serviceServletUrl">${application.url}/remoting/</param> <!-- CAS Login Filter --> <param name="cas.url">https://cas.ucdavis.edu/cas</param> <param name="filter.login.class">org.jasig.cas.client.authentication.AuthenticationFilter</param> <param name="filter.login.casServerLoginUrl">${cas.url}/login</param> <param name="filter.login.serverName">${application.host}</param> <param name="filtermapping.login.1">/*</param> <param name="filter.validation.class">org.jasig.cas.client.validation.Cas20ProxyReceivingTicketValidationFilter</param> <param name="filter.validation.casServerUrlPrefix">${cas.url}</param> <param name="filter.validation.serverName">${application.host}</param> <param name="filtermapping.validation.2">/*</param> <param name="filter.caswrapper.class">org.jasig.cas.client.util.HttpServletRequestWrapperFilter</param> <param name="filtermapping.caswrapper.3">/*</param> <!-- External Document Handlers --> <param name="external.handler.url.1"></param> </config>