Versions Compared

Key

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

...

  1. A database account with access to the Rice database
  2. LDAP Service Accounts on ldap.ucdavis.edu for dc=ucdavis,dc=edu and {{dc=iet,dc=ucdavis,dc=edu} trees.
  3. Procure the UC Davis-specific rice-api and rice-impl JARs and all transitive dependencies using either of the following methods:
    • Download ucd-rice-standalone-server-impl WAR from Artifactory . This WAR contains all dependencies.
    • Maven users: Add ucd-rice-impl as a dependency in your project (most likely the root POM).
      Code Block
      borderStylesolid
      titlepom.xml
      <repositories>
          <repository>
              <id>ucd-maven</id>
              <name>UCD Maven Repository</name>
      	<url>http://maven.ucdavis.edu/repo</url>
          </repository>  
      </repositories>
      
      <properties>
          <ucd-rice-impl.version>[some UCD Rice Implementation version]</ucd-rice-impl.version>
      </properties>
      
      <dependencies>
          <dependency>
              <groupId>edu.ucdavis.kuali.rice</groupId>
              <artifactId>ucd-rice-impl</artifactId>
              <version>${ucd-rice-impl.version}</version>               
          </dependency>	
      </dependencies>
      

...

  1. Declare them as part of the rice.additionalSpringFiles property and pass that as a token into the rice bean
    Code Block
    borderStylesolid
    title/usr/local/rice/rice-config.xml
    <param name="rice.additionalSpringFiles">classpath:edu/ucdavis/kuali/rice/kim/config/ucd-kim-service.xml,classpath:edu/ucdavis/kuali/rice/kim/config/ucd-kew-service.xml,classpath:edu/ucdavis/kuali/rice/kim/config/ucd-kns-service.xml</param>
    
    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>
    
  2. Declare them directly in the rice bean using the additionalSpringFiles property (see Rice Bean Configuration)
    Code Block
    borderStylesolid
    titleclasspath:edu/ucdavis/myapp/config/rice-common.xml
    <bean id="rice" class="org.kuali.rice.core.config.RiceConfigurer">
    ...
        <property name="additionalSpringFiles">
            <list>
                ...
                <value>classpath:edu/ucdavis/kuali/rice/kim/config/ucd-kim-service.xml</value>
                <value>classpath:edu/ucdavis/kuali/rice/kimkew/config/ucd-kew-service.xml</value>
                <value>classpath:edu/ucdavis/kuali/rice/kimkns/config/ucd-kns-service.xml</value>
                ...
            </list>
        </property>
    ...
    </bean>
    
  3. 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-kim-service.xml
            classpath:edu/ucdavis/kuali/rice/kimkew/config/ucd-kew-service.xml
            classpath:edu/ucdavis/kuali/rice/kimkns/config/ucd-kns-service.xml
            ...
        </param-value>
    </context-param>
    

...