Versions Compared

Key

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

...

Declare the UCD-implemented Rice services using either of the following methods:

...

Code Block
borderStylesolid
title/usr/local/rice/rice-config.xml

    <param name="rice.kr.additionalSpringFiles">classpath:edu/ucdavis/kuali/rice/

...

krad/config/ucd-

...

krad-service.

...

Code Block
borderStylesolid
titleclasspath:edu/ucdavis/myapp/config/rice-common.xml

<bean id="rice" class="org.kuali.rice.core.config.RiceConfigurer">
...
    <property name="additionalSpringFiles">
        <value>${rice.additionalSpringFiles}</value>
    </property>
...
</bean>

...

borderStylesolid
titleclasspath:edu/ucdavis/myapp/config/rice-common.xml

...

xml</param>
    <param name="rice.kew.additionalSpringFiles">classpath:edu/ucdavis/kuali/rice/kew/config/ucd-kew-service.xml</param>
  1. If you're using Spring's ContextLoaderListener, declare them in web.xml
    Code Block
    borderStylesolid
    titlesrc/main/webapp/WEB-INF/web.xml
    <listener>
        <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>
    
    <context-param>
        <param-name>contextConfigLocation</param-name>
        <param-value>
            ...
            classpath:edu/ucdavis/kuali/rice/kim/config/ucd-kimkrad-service.xml
            classpath:edu/ucdavis/kuali/rice/kew/config/ucd-kew-service.xml
            classpath:edu/ucdavis/kuali/rice/kns/config/ucd-kns-service.xml
            ...
        </param-value>
    </context-param>
    

...