Some of the documentation in this guide has not been updated to reflect changes for 2.1.7. If you find a problem, please report in Jira and set the component to Documentation. Indicate the guide and section that has the problem in the Jira. Thanks for your help in improving the documentation!
Table of Contents
List of Figures
List of Tables
Table of Contents
Kuali Rice has the potential to run on most platforms that support a Java development environment (not simply a runtime environment), a servlet container, and an Oracle or MySQL relational database management system (RDBMS).
Only platforms and configurations that have been tested and are known to work with Rice are described within this guide. Other platforms and configurations may work, but have not been tested. Please share any configurations that you have gotten to work with us by joining our collaboration list.
Since Kuali Rice is written in Java, it should in theory be able to run on any operating system that supports the required version of the Java runtime. However, it has been most actively tested on:
Windows (XP, Vista, and 7)
Mac OS X (10.6 and 10.7)
Linux (Ubuntu)
Note that while Ubuntu Linux is the distribution most frequently used for testing, other Linux distributions such as Fedora, Red Hat Enterprise Linux, CentOS, Gentoo, and others should also be able to run Kuali Rice.
Additionally, Kuali Rice will likely work on other Unix operating systems such as Sun Microsystems Solaris and IBM AIX, although the software has not been tested here.
The Kuali Rice software is available through three different distributions:
Table 1.1. Rice Software Distribution Types
Distribution | Description |
---|---|
Binary | This distribution consists of all the necessary binaries, supporting files and database schemas and data for running Kuali Rice as a web application or within an embedded client application. |
Source | The source code and build scripts necessary for compiling and building Rice, a process described in the appendices. |
Server | Rice in the form of a web application archive (WAR) along with database schemas and data. |
Download: The Rice software can be downloaded from http://kuali.org/rice/download
Maven Repository - http://nexus.kuali.org/content/groups/public/
Subversion Repository - http://svn.kuali.org/repos/rice/tags/rice-2.1.7
All Kuali Rice 2.1.7 installations follow the same core steps:
Install a database and JDBC drivers.
Install and configure a JDK, Rice, and other required software.
Set up ImpEx process to create the database schema and populate it.
Configure Rice software.
Test the installation
This Guide will provide installation instructions for the Rice standalone server as well as instructions on how to set up Eclipse to create a client application with Rice.
Table of Contents
This chapter is designed to provide simple step-by-step instructions on how to set up a Kuali Rice standalone server intended for enterprise deployment. The same steps can be used to set up a standalone server locally for development purposes, you would just install the database on the same machine.
The steps to install and setup a standalone server with Kuali Rice are:
Determine your expected load and storage needs and consult the Suggested Server Hardware section for guidance. Install OS.
Install & configure the database management system.
Install & configure required software
Install and configure Tomcat.
Install and configure Rice.
Launch the sample application.
Set up a Keystore.
Rather than install and setup as the root user on systems designed for production, you may want to create a non-privileged user named something like 'rice' to use for this purpose.
Note that hardware needs may vary depending on the amount of expected load, the operating system being used, and the number of applications that are integrated with Kuali Rice. Kuali Rice is typically deployed as a standalone server with the database server separate from the application server.
The recommended minimum requirements are as follows:
Processor 1.5 GHz or faster (2 GHz preferred)
1024 MB (1 GB) of RAM or more
100 Mbit/s network card (gigabit preferred)
200 MB of hard disk space (for Tomcat server and web application)
Additional space needed if storing attachments.
See Example Server Configurations in the appendix for examples of hardware and software configurations of Kuali Rice servers.
Kuali Rice was developed using two relational database management systems: MySQL and Oracle. The typical production install involves running the Rice server separate from the database server, however both can be run on the same machine for development purposes.
Rice runs, and has been tested with the following versions:
Oracle
Oracle Database 10g
Oracle Database 11g
Oracle Express Edition (XE)
Use the Oracle JDBC Driver to connect to these databases.
Ensure that the Oracle database you intend to use encodes character data in a UTF variant by default. For Oracle XE, this entails downloading the "Universal" flavor of the binary, which uses AL32UTF8.
MySQL
MySQL 5.1.+
Use the MySQL Connector/J (5.1.+) to connect to MySQL databases.
You should be able to adapt Rice to other standard relational databases (e.g., Sybase, Microsoft SQL Server, DB2, etc.). However, this Installation Guide does not provide information for running Rice with these products.
Below are locations from which Oracle and MySQL could be downloaded at the time of release of Rice 2.1.7.
Table 2.1. Locations for Database Software
Software | Download Location |
---|---|
Oracle Standard and Enterprise Editions | http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html |
Oracle Express Edition | http://www.oracle.com/technetwork/database/express-edition/downloads/index.html |
Oracle JDBC DB Driver | http://www.oracle.com/technetwork/database/features/jdbc/index-091264.html |
MySQL | http://www.mysql.com/downloads/ |
MySQL Connector/J JDBC Driver | http://www.mysql.com/products/connector/j/ |
Kuali Rice supports both MySQL and Oracle databases. However, MySQL is easier to install than Oracle and uses less machine resources so many developers prefer to use that when getting started with Rice.
The installation steps for MySQL are going to be different for each platform. Please download the latest version MySQL Server from the location listed in the Locations for Database Software section of this document and follow the installation instructions for your platform.
You may be required to create an account on the MySQL site in order to download the software.
Please be sure to follow the instructions for installing MySQL on your platform very carefully. If downloading for Mac OS X, be careful to download the appropriate version for your platform (32-bit vs. 64-bit and 10.6 vs 10.7)
There are a few MySQL database configuration options that are required in order for Kuali Rice to work properly. These will need to be set in either your my.cnf or my.ini file. The location and names of these files will differ depending on which platform you are working on. For details on where these files can be found, see the following document:
http://dev.mysql.com/doc/refman/5.1/en/option-files.html
Once you have located this file, please add the following options, paying special attention to the line that needs to be commented out:
[mysqld] transaction-isolation=READ-COMMITTED max_connections=1000 ... # Be sure to comment this out if it's in the file!!! #log-bin=mysql-bin
Leaving the max_connections at the default value of 151 may result in a "too many connections" error. Please see this link for more information. |
Note that the [mysqld] section may already be in your my.cnf file. If so, you can just add the options listed above underneath that section.
Before verifying your mysql installation you will need to ensure that MySQL is running. Some of the platform-specific packages will set this up automatically (or allow you to install yourself in the case of Mac OS X). If MySQL is not starting automatically you can start it using a command like the following example from Mac OS X:
sudo /usr/local/mysql/bin/mysqld_safe
This will start the MySQL server.
To verify that you can actually connect to the server, execute the following at the command line:
mysql -u root -p
This should bring you to a command line client interface for the MySQL server. Type "show databases;" and press return. You should see output similar to the following.
Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 Server version: 5.1.50-log MySQL Community Server (GPL) Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to modify and redistribute it under the GPL v2 license Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | mysql | | test | +--------------------+ 3 rows in set (0.13 sec) mysql>
Kuali Rice uses the MySQL Connector/J product as the native JDBC driver. Please download this driver from the location specified in the Locations for Database Software section of this Guide.
Once you have downloaded the JDBC driver that corresponds to your version of MySQL, copy it to /java/drivers. /java/drivers is a hard coded directory that the Rice scripts use as a default directory in which to search for drivers when the installation scripts are running.
The installation steps for Oracle are going to be different for each platform and version of Oracle. Please download from the location listed in the Locations for Database Software section of this document and follow the installation instructions for your platform.
To run the database completely on your local machine, we recommend installing Oracle Express (XE). Please refer to the Locations for Database Software section of this Installation Guide to find the download location for this software.
By default, OracleXE registers a web user interface on port 8080. This is the same port that the standalone version of Rice is preconfigured to use. To avoid a port conflict, you must change the port that the OracleXE web user interface uses with the Oracle XE admin webapp:
If you prefer, you can use the Oracle SQL tool described here to change the OracleXE web user interface port: http://daust.blogspot.com/2006/01/xe-changing-default-http-port.html
Please edit your hosts file with an entry to refer to your Oracle database. When this Installation Guide refers to the Oracle database host server, it will be referred to in the examples as koracle.
Now edit the hosts file and add this:
<ip address of mysql server> koracle
To connect to the supporting Oracle database (i.e., run scripts, view database tables, etc.), we recommend installing the Squirrel SQL client. Please see the section on Squirrel SQL for more information.
Kuali Rice uses the standard Oracle JDBC driver as the native JDBC driver.
Please download this driver from the location specified in the Locations for Database Software section of this Guide.
Once you have downloaded the JDBC driver that corresponds to your version of Oracle, copy it to /java/drivers. /java/drivers is a hard coded directory that the Rice scripts use as a default directory in which to search for drivers when the installation scripts are running.
Use the maven-install-plugin to copy ojdbc14.jar into your local maven repository.
mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=10.2.0.3.0 -Dpackaging=jar -Dfile=ojdbc14.jar
You should see output similar to this if the jar gets installed correctly.
[INFO] Installing ojdbc14.jar to /.m2/repository/com/oracle/ojdbc14/10.2.0.3.0/ojdbc14-10.2.0.3.0.jar
To examine and test your database setup, SQL client software is useful. Any SQL client software that will connect to a MySQL or Oracle database will work. Two tools used by the development team are the mysql command-line client and SQuirrel SQL.
The mysql command-line client only works with MySQL and is usually installed with the MySQL Server software. An example of connection to MySQL as root and then switching to a database named test can be found below:
Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 2 Server version: 5.1.50-log MySQL Community Server (GPL) Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to modify and redistribute it under the GPL v2 license Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> use test; Database changed
Tools like SQuirrel SQL use JDBC to access the database and will work with both MySQL and Oracle databases. You can download and install it from the following URL:
Connecting to a MySQL database with the name test would have a JDBC URL like the following: jdbc:mysql://localhost:3306/test.
Connecting to an Oracle database would have a JDBC URL like the following: jdbc:oracle:thin:@localhost:1521:XE.
The Rice SQL files use slash ‘/‘ as the statement delimiter. You may have to configure your SQL client appropriately so it can run the Rice SQL. In SQuirreL, you do this in Session->Session Properties->SQL->Statement Separator.
Kuali Rice requires the following software to be setup and configured:
Sun Microsystems Java Development Kit (JDK 1.6.x)
You must use a JDK and not a Java runtime environment (JRE); the JDK you use must be version 1.6.x. Additionally, Rice has not been tested on JDKs other than Sun. So alternative implementations like OpenJDK should be used at your own risk.
Maven 3
First, some environment variables need to be configured.
Environment variables in Mac OS X can be set in a number of ways, but here we will show how to modify or create the .profile files in your user home directory. On OS X your user home directory is typically located at /Users/<username>,
An example .profile can be found below:
M2_HOME=/usr/local/maven MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=768m" GROOVY_HOME=/usr/local/groovy JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home CATALINA_HOME=/usr/local/tomcat MYSQL_HOME=/usr/local/mysql PATH="$ANT_HOME/bin:$M2_HOME/bin:$GROOVY_HOME/bin:$CATALINA_HOME:$MYSQL_HOME/bin:$PATH" export PATH ANT_HOME ANT_OPTS M2_HOME MAVEN_OPTS GROOVY_HOME JAVA_HOME CATALINA_HOME MYSQL_HOME
It is important to export your environment variables once they are defined as the file above does.
To get to the screen where you can define environment variables on Windows XP follow these steps:
Click on the "Start" button in the bottom left-hand corner.
On the resulting screen, right click on "My Computer".
In the context menu, click on "Properties".
This will open up the "System Properties" dialog window.
Click on the "Advanced" tab.
Click on the "Environment Variables" button.
You will see the screen where you can edit existing environment variables or define new ones.
To get to the screen where you can define environment variables on Windows Vista or Windows 7 follow these steps:
Click on the "Start" button in the bottom left-hand corner.
On the resulting screen, right click on "Computer".
In the context menu, click on "Properties".
This will open up the Control Panel "System" dialog.
Click on the "Advanced system settings".
In the resulting window, click on the "Environment Variables..." button.
You will see the screen where you can edit existing environment variables or define new ones.
The windows command line console must be closed and reopened in order for environment variable changes to be effective.
You should download and install the latest version of JDK 6. If you are on Windows, you can download it from the following URL: http://www.oracle.com/technetwork/java/javase/downloads/index.html.
If you are on a Mac, then Java 6 should already be installed if you are up to date with the latest updates from Apple.
You will also want to set up your JAVA_HOME environment variable to point to the installation directory of your JDK. In both Windows and Mac environments, the java executable program should already be on your path. But if it is not, you will want to include JAVA_HOME/bin in your PATH environment variable.
If you do not know how to do this, see the Environment Variables section above for your platform.
In order to verify that your JDK has been installed successfully, open a command prompt and type the following:
java -version
You should see output similar to the following:
java version "1.6.0_26" Java(TM) SE Runtime Environment (build 1.6.0_26-b03-383-11A511) Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-383, mixed mode)
If you receive an error indicating that the "java" command could not be found, please ensure that the java command is on your machine's PATH environment variable.
To prevent potential out of memory errors when running Rice, you should set your JAVA_OPTS environment to a value like the following:
JAVA_OPTS="-Xmx1024m -XX:MaxPermSize=768m"
If you do not know how to do this, see the Environment Variables section above for your platform.
Maven is the primary build tool used by the Kuali Rice project. Maven is based on a project object model (POM) that defines various standards and conventions surrounding the organization of a project. This facilitates a set of standard build goals and lifecycle phases (such as compile, test, package, etc.)
To download version 3 of Maven, use the following link: http://maven.apache.org/download.html
Once you have downloaded the zip file, unzip it to a location of your choosing.
You will want to set your M2_HOME environment variable to point to the location where you unzipped Maven. You will additionally want to include M2_HOME/bin in your PATH environment variable so that maven can be executed from the command line without having to specify the full path.
Finally, to prevent potential out of memory errors when compiling Rice with Maven, you should set your MAVEN_OPTS environment to a value like the following:
MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=768m"
If you do not know how to do this, see the Environment Variables section above for your platform.
In order to verify that Maven has been installed successfully and is available on the path, open a command prompt and type the following:
mvn -version
You should see output like the following:
Apache Maven 3.0.3 (r1075438; 2011-02-28 10:31:09-0700) Maven home: /usr/local/maven Java version: 1.6.0_26, vendor: Apple Inc. Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home Default locale: en_US, platform encoding: MacRoman OS name: "mac os x", version: "10.7.2", arch: "x86_64", family: "mac"
If you receive an error indicating hat the "mvn" command could not be found, please ensure that the directory that includes the mvn executable (M2_HOME/bin) is on your machine's PATH environment variable.
Kuali Rice 2.1.7 supports the following Tomcat versions:
Tomcat 6 (Servlet API 2.5, JSP 2.1)
Tomcat 7 (Servlet API 3.0, JSP 2.2)
Please visit the Apache Tomcat site for information on how to install and configure Tomcat.
Other servlet containers can be used with Kuali Rice, but this guide will focus on Tomcat.
The quickest way to get Rice installed on a standalone server is to download the Standalone Server distribution from the kuali.org download site. Once downloaded, decompress the software.
Change to the directory db/demo located where you decompressed the software.
Verify that Maven can connect to your database instance.
Running Locally:
MySQL
mvn validate -Pdb,mysql -Dimpex.dba.password=[dbapassword]
If the 'root' user does not have a password (which is the default on a new MySQL install), drop the '-Dimpex.dba.password' parameter from all MySQL commands or use 'NONE' for the password:
mvn validate -Pdb,mysql
or
mvn validate -Pdb,mysql -Dimpex.dba.password=NONE
Oracle
mvn validate -Pdb,oracle -Dimpex.dba.password=[dbapassword]
Connecting to a remote database:
MySQL
mvn validate -Pdb,mysql -Dimpex.dba.url=jdbc:mysql://[your-mysql-instance]/ -Dimpex.dba.password=[dbapassword]
Oracle
mvn validate -Pdb,oracle -Dimpex.url=jdbc:oracle:thin:@[your-oracle-server]:1521:XE -Dimpex.dba.password=[dbapassword]
Load the data set.
Running Locally:
MySQL
mvn clean install -Pdb,mysql -Dimpex.dba.password=[dbapassword]
Oracle
mvn clean install -Pdb,oracle -Dimpex.dba.password=[dbapassword]
Connecting to a remote database:
MySQL
mvn clean install -Pdb,mysql -Dimpex.dba.url=jdbc:mysql://[your-mysql-instance]/ -Dimpex.dba.password=[dbapassword]
Oracle
mvn clean install -Pdb,oracle -Dimpex.url=jdbc:oracle:thin:@[your-oracle-server]:1521:XE -Dimpex.dba.password=[dbapassword]
Wait for the maven process to build your database (it may take a little while, especially if this is the first time you've done it and maven has to download impex and other plugins).
You should get the following message at the end of the process.
[INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------
Copy the kr-dev.war file from the base directory of the server distribution to the directory that contains web applications in your servlet container. For Tomcat, this is [Tomcat-root-directory]/webapps.
Copy the database-specific JDBC driver to the [Tomcat-root-directory]/lib. Examples:
MySQL
cp -p /java/drivers/mysql-connector-java-5.1.5-bin.jar /usr/local/tomcat/lib
Oracle
cp -p /java/drivers/ojdbc14.jar /usr/local/tomcat/lib
Configure the rice-config.xml File. By default when it starts, Rice attempts to read the rice-config.xml configuration file from the paths in this order:
/usr/local/rice/rice-config.xml
${rice.base}../../../conf/rice-config.xml
${rice.base}../../conf/rice-config.xml
${additional.config.locations}
The value for rice.base is calculated using different locations until a valid location is found. Kuali calculates it using these locations in this sequence:
ServletContext.getRealPath("/")
catalina.base system property
The current working directory
On Windows it also checks the following location:
%USERPROFILE%\kuali\main\dev
An example rice-config.xml file is included in the server distribution under config/web/src/main/config/example-config.
For MySQL, just modify the following database parameters in the rice-config.xml file. The values should conform to the values you will use with the ImpEx tool via the impex-build.properties file. ImpEx is set up in the Installing and Configuring the Database Management System section of this guide.
datasource.url=jdbc:mysql://localhost:3306/rice datasource.username=rice datasource.password=kualirice datasource.url=jdbc:mysql://remoteMySQLServerComputerName:3306/rice datasource.username=rice datasource.password=kualirice
If you are using Oracle, the JDBC URL will have this general form:
datasource.url=jdbc:oracle:thin:@remoteMySQLServerComputerName:1521:ORACLE_SID
Additional configuration parameters are described in the Parameters section of this guide.
At this point, you are ready to try to bring up the Tomcat server with the Rice web application:
cd /usr/local/tomcat/bin ./startup.sh
Check if Tomcat and Rice started successfully:
cd /usr/local/tomcat/logs tail -n 500 -f catalina.out
If your Rice server started up successfully, browse to the site http://yourlocalip:8080/kr-dev. You should see the Rice portal screen which will look something like this:
The tables below have the basic set of parameters for rice-config.xml that you need to get an instance of Rice running. Please use these tables as a beginning reference to modify your rice-config.xml file.
Make sure the application.url and database user name and password are set correctly.
Table 2.2. Core
Parameter | Description | Examples or Values |
---|---|---|
application.url | The external URL used to access the Rice web interface; edit only the fully-qualified domain name and port of the server | http://yourlocalip:8080/kuali-rice-url |
app.context.name | Context name of the web application
| kuali-rice-url (This value should not be changed) |
context.names._____ *See note below | The context name of each web application, including Rice, needs to be specified when the supplied portal is used. The parameter must start with "context.names." and may have a suffix of your choice (i.e. context.names.rice, context.names.kfs, context.names.kc)
| kuali-rice-web-app-url |
log4j.settings.path | Path to log4j.properties file. If the file does not exist, you must create it. | /usr/local/rice/log4j.properties |
log4j.settings.reloadInterval | interval (in minutes) to check for changes to the log4j.properties file | 5 |
mail.smtp.host | SMTP host name or IP (This param is not in the default config.) | localhost |
config.location | Location of configuration file to load environment-specific configuration parameters (This param is not in the default config.) | /usr/local/rice/rice-config-${environment}.xml |
sample.enabled | Enable the sample application | boolean |
*context.names.____: Each content source that is served from an application server that uses a context name will need a context.names.<webappcontext> parameter. Replace the <webappcontext> with a unique suffix of your choosing. Specify the context name of the web application server as the value of this parameter.
By default context.names.app is set to app.context.name. This allows bundled mode usage without additional configuration. With standalone mode, the server that hosts the portal also doesn’t need any additional configurations thanks to context.names.app.
Example: KFS is used with a standalone Rice server.
KFS URL:http://www.example.com:8080/kfs-test/portal.do
Rice URL:http://www.example.com:8080/rice-test/portal.do
The following additional configuration is needed in the kfs-config.xml:
<param name="context.names.rice">rice-test</param>
A <param name="context.names.kfs">kfs-test</param>
is not needed since
"kfs-test" is specified as the app.context.name.
Example: KFS is used with a standalone Rice server.
KFS URL:http://www.example.com:8080/kfs-test/portal.do
Rice URL:http://www.example.com:8080/portal.do
No additional configuration is needed.
Specifying <param name="context.names.rice"></param>
would be acceptable as well.
Example: KFS is used with bundled Rice server. No additional configuration is needed.
Table 2.3. Database
Parameter | Description | Examples or Values |
---|---|---|
datasource.ojb.platform | Name of OJB platform to use for the database | Oracle9i or MySQL |
datasource.platform | Rice platform implementation for the database |
|
datasource.driver.name | JDBC driver for the database |
|
datasource.username | User name for connecting to the server database | rice |
datasource.password | Password for connecting to the server database | |
datasource.url | JDBC URL of database to connect to |
|
datasource.pool.minSize | Minimum number of connections to hold in the pool | an integer value suitable for your environment |
datasource.pool.maxSize | Maximum number of connections to allocate in the pool | an integer value suitable for your environment |
datasource.pool.maxWait | Maximum amount of time (in ms) to wait for a connection from the pool | 10000 |
datasource.pool.validationQuery | Query to validate connections from the database | select 1 from dual |
Table 2.4. KSB
Parameter | Description | Examples or Values |
---|---|---|
serviceServletUrl | URL that maps to the KSBDispatcherServlet (include a trailing slash); This param is not in the default config. | |
keystore.file | Path to the keystore file to use for security | /usr/local/rice/rice.keystore |
keystore.alias | Alias of the standalone server's key | see section entitled Generating the Keystore |
keystore.password | Password to access the keystore and the server's key | see section entitled Generating the Keystore |
Table 2.5. KEN
Parameter | Description | Examples or Values |
---|---|---|
notification.basewebappurl | Base URL of the KEN web application (This param is not in the default config.) |
Table 2.6. KEW
Parameter | Description | Examples or Values |
---|---|---|
workflow.url | URL to the KEW web module | ${application.url}/kew |
plugin.dir | Directory from which plugins will be loaded | /usr/local/rice/plugins |
attachment.dir.location | Directory where attachments will be stored (This param is not in the default config.) |
For client applications to consume secured services hosted from a Rice server, you must generate a keystore. As an initial setup, you can use the keystore provided by Rice. Once a keystore is generated, you must configure the KSB to use the keystore.
There are three ways to get this keystore:
If you are doing a source code build of Rice, it is in the directory <source root>/security and it has a file name of rice.keystore
The keystore is also located in the server distribution under the security directory.
You can generate the keystore yourself. Please refer to the Security and Keystores section in the KSB chapter of the Technical Reference Guide for the steps to accomplish this.
You must have these params in the xml config to allow KSB to use the keystore:
<param name="keystore.file">/usr/local/rice/rice.keystore</param> <param name="keystore.alias">rice</param> <param name="keystore.password">r1c3pw</param>
keystore.file - The location of the keystore
keystore.alias - The alias used in creating the keystore above
keystore.password - This is the password of the alias AND the keystore. This assumes that the keystore is set up so that these are the same.
Table of Contents
Performance tuning is an art form in and of itself, and tuning Kuali Rice is no exception. Here are some items we've found that may help with your tuning issues. Additionally, we are collecting performance tuning information in the Kuali Rice wiki at https://wiki.kuali.org/x/2hOeEg.
Table of Contents
There is a number of additional configurations that Rice supports. We've collected a few of them here and provided setup instructions below.
See Example Server Configurations in the appendix for examples of hardware and software configurations of Kuali Rice servers.
In some cases it may be desirable to only use the KNS without KRAD. For example if you're timelines push a conversion to KRAD out into the future, you may see some benefits with startup performance and with memory usage. You can override the kradApplicationModuleConfiguration bean to not include any of the files in the UIF folder. That is, you only need to include these files:
<property name="dataDictionaryPackages"> <list> <value>classpath:org/kuali/rice/krad/bo/datadictionary/AdHocRoutePerson.xml</value> <value>classpath:org/kuali/rice/krad/bo/datadictionary/AdHocRouteWorkgroup.xml</value> <value>classpath:org/kuali/rice/krad/bo/datadictionary/Attachment.xml</value> <value>classpath:org/kuali/rice/krad/bo/datadictionary/AttributeReferenceDummy.xml</value> <value>classpath:org/kuali/rice/krad/bo/datadictionary/AttributeReferenceElements.xml</value> <value>classpath:org/kuali/rice/krad/bo/datadictionary/BusinessObjectAttributeEntry.xml</value> <value>classpath:org/kuali/rice/krad/bo/datadictionary/DataDictionaryBaseTypes.xml</value> <value>classpath:org/kuali/rice/krad/bo/datadictionary/DocumentHeader.xml</value> <value>classpath:org/kuali/rice/krad/bo/datadictionary/Note.xml</value> <value>classpath:org/kuali/rice/krad/bo/datadictionary/NoteType.xml</value> <value>classpath:org/kuali/rice/krad/bo/datadictionary/PessimisticLock.xml</value> </list> </property>
This describes how to set up Rice instances for a load-balanced production environment across multiple servers.
The configuration parameter ${environment} must be set to the text: prd
When the configuration parameter ${environment} is set to prd, the code triggers:
Sending email to specified individuals
Turning off some of the Rice “back doors”
The high-level process for creating multiple Rice instances:
Ensure that these are set up properly so no additional configuration is needed during installation:
Quartz is configured properly for clustering (there are various settings that make this possible).
The initial software setup has the proper configuration to support a clustered production environment.
Rice’s initial settings are in the file, common-config-defaults.xml.
Here are some of the parameters in the common-config-defaults.xml that setup Quartz for clustering:
<param name="useQuartzDatabase" override="false">true</param> <param name="ksb.org.quartz.scheduler.instanceId” override="false">AUTO</param> <param name="ksb.org.quartz.scheduler.instanceName" override="false">KSBScheduler</param> <param name="ksb.org.quartz.jobStore.isClustered" override="false">true</param> <param name="ksb.org.quartz.jobStore.tablePrefix" override="false">KRSB_QRTZ_</param>
If it becomes necessary to pass additional parameters to Quartz during rice startup, just add parameters in the rice-config.xml file prefixed with ksb.org.quartz.*
The parameter useQuartzDatabase MUST be set to true for Quartz clustering to work. (This is required because it uses the database to accomplish coordination between the different scheduler instances in the cluster.)
Ensure that all service bus endpoint URLs are unique on each machine: Make sure that each Rice server in the cluster has a unique serviceServletUrl parameter in the rice-config.xml configuration file.
One way to accomplish this is to modify the serviceServletUrl in the rice-config.xml on each machine in the cluster.
For example, if one of your endpoint url's was 129.79.216.156:8806, you would change your serviceServletUrl in the rice-config.xml to use that IP and port number as follows.
<param name="serviceServletUrl">http://129.79.216.156:8806/${app.context.name}/remoting/</param>
You could have different values for serviceServletUrl in the rice-config.xml on each machine in the cluster.
If you are using notes and attachments in workflow, then the attachment.dir.location parameter must point to a shared file system mount (one that is mounted by all machines in the cluster).
The specifics of setting up and configuring a shared file system location are part of how you set up your infrastructure environment. Those are beyond the scope of this Guide.
In general, to accomplish a load-balanced clustered environment, you must implement some type of load balancing technology with session affinity (i.e., it keeps the browser client associated with the specific machine in the cluster that it authenticated with). An example of a load balancing appliance-software is the open source product, Zeus.
There are two different structural methods to run multiple instances of Rice within a single Tomcat instance. You can use either method:
Run a staging and a test environment. This requires a rebuild of the source code.
Run multiple instances of a production environment. This requires modification of the Tomcat WEB-INF/web.xml.
To show you how to set up a staging and a test environment within one Tomcat instance, this section presents the configuration recipe as though it were a Quick Start Best Practices section. This means that this section will be laid out using the Quick Start Best Practices section format and system directory structure. It presents a basic process, method, and guide to what you need to do to get a staging and test environment up within a single Tomcat instance. You could accomplish this functionality many different ways; these sections present one of those ways.
This describes how to set up the Rice instances of kualirice-stg and kualirice-tst instances pointing to the same database. However, you could set up two different databases, one for staging and one for testing. How you configure Rice for the scenario of a database for the “stg” instance and a separate database for the “tst” instance depends on how you want to set up Rice. That scenario is not documented here.
We are assuming that you performed all the installation steps above to compile the software from source and deploy the example kualirice.war file. This example begins with rebuilding the source to create a test and staging instance compilation.
You must compile the source code with a different environment variable. To add the environment variable, environment, to the WAR file’s WEB-INF/web.xml file, recompile the source code with this parameter:
ant -Drice.environment=some-environment-variable dist-war
To begin: Log in as the rice user.
Shut down your Tomcat server.
cd /usr/local/tomcat/bin ./shutdown.sh Using CATALINA_BASE: /usr/local/tomcat Using CATALINA_HOME: /usr/local/tomcat Using CATALINA_TMPDIR: /usr/local/tomcat/temp Using JRE_HOME: /usr/java/jdk1.6.0_16
Recompile your WAR files with the specific environment variables:
cd /opt/software/kuali/src/rice-release-1-0-2-br ant -Drice.environment=stg dist-war cd target/ cp -p kr-stg.war /usr/local/tomcat/webapps/kualirice-stg.war cd /opt/software/kuali/src/rice-release-1-0-2-br ant -Drice.environment=tst dist-war cp -p rice-tst.war /usr/local/tomcat/webapps/kualirice-tst.war
Adding an environment variable to the application config variable will setup Rice to point to the two different instances. To allow each instance to point to the same database, edit the rice-config.xml and modify the application.url to correctly point your Rice to load the correct setup:
<param name="application.url">http://yourlocalip:8080/kualirice-${environment}</param>
Now start up your Tomcat server:
cd /usr/local/tomcat/bin ./startup.sh Using CATALINA_BASE: /usr/local/tomcat Using CATALINA_HOME: /usr/local/tomcat Using CATALINA_TMPDIR: /usr/local/tomcat/temp Using JRE_HOME: /usr/java/jdk1.6.0_16
If your Rice instances started up successfully, browse to the sites http://yourlocalip:8080/kualirice-stg and http://yourlocalip:8080/kualirice-tst. You should see the Rice sample application for each site.
Next, shut down your Tomcat server:
cd /usr/local/tomcat/bin ./shutdown.sh Using CATALINA_BASE: /usr/local/tomcat Using CATALINA_HOME: /usr/local/tomcat Using CATALINA_TMPDIR: /usr/local/tomcat/temp Using JRE_HOME: /usr/java/jdk1.6.0_16
To create specific configuration parameters for the specific instances of Rice, add this to the rice-config.xml.
<param name="config.location">/usr/local/rice/rice-config-${environment}.xml</param>
Next, copy the rice-config.xml to both staging and test to enter instance-specific configuration into each of the resulting xml files:
cd /usr/local/rice cp -p rice-config.xml rice-config-stg.xml cp -p rice-config.xml rice-config-tst.xml
Remove anything from rice-config.xml that is specific to the stg or tst implementation. Put those specific stg or tst parameters in the rice-config-stg.xml or rice-config-tst.xml file, respectively.
Now start up your Tomcat server:
cd /usr/local/tomcat/bin ./startup.sh Using CATALINA_BASE: /usr/local/tomcat Using CATALINA_HOME: /usr/local/tomcat Using CATALINA_TMPDIR: /usr/local/tomcat/temp Using JRE_HOME: /usr/java/jdk1.6.0_16
If your Rice instances started up successfully, browse to the sites http://yourlocalip:8080/kualirice-stg and http://yourlocalip:8080/kualirice-tst. You should see the Rice sample application for each site.
As a best practice:
Put all common properties and settings across all Rice instances in the rice-config.xml.
Put instance-specific settings in rice-config-stg.xml and rice-config-tst.xml.
This describes how to set up two production Rice instances running side by side.
The configuration parameter ${environment} must be set to the text: prd
When the configuration parameter ${environment} is set to prd, the code:
Sends email to specified individuals
Turns off some of the Rice “back doors”
This assumes that you performed all the installation steps above to compile the software from source and deploy the example kualirice.war file. This example starts from rebuilding the source to accomplish a test and staging instance compilation.
Create a riceprd1 and riceprd2 database for the first production and second production instance, respectively.
Build the WAR file from the source code.
Unzip the WAR file in a temporary work directory.
Add an environment variable, prd1, to the WEB-INF/web.xml in the unzipped-war-file-directory.
Re-zip the WAR file into kualirice-prd1.war.
Copy kualirice-prd1.war to /usr/local/tomcat/webapps.
Change the environment variable from prd1 to prd2 in the WEB-INF/web.xml in the unzipped-war-file-directory.
Re-zip the WAR file into kualirice-prd2.war.
Copy kualirice-prd2.war to /usr/local/tomcat/webapps.
In /usr/local/rice, copy rice-config.xml to rice-config-prd1.xml.
In /usr/local/rice, copy rice-config.xml to rice-config-prd2.xml.
In rice-config.xml, remove any instance-specific parameters.
Modify rice-config-prd1.xml for instance-specific parameters.
Modify rice-config-prd2.xml for instance-specific parameters.
Start up Tomcat.
Here are the details:
Start by logging in as the rice user.
Shut down your Tomcat server.
cd /usr/local/tomcat/bin ./shutdown.sh Using CATALINA_BASE: /usr/local/tomcat Using CATALINA_HOME: /usr/local/tomcat Using CATALINA_TMPDIR: /usr/local/tomcat/temp Using JRE_HOME: /usr/java/jdk1.6.0_16
Set Up the ImpEx Process to Build the Database for the process to create the riceprd1 and riceprd2 databases.
Set your directory to the rice home directory:
cd ~ vi impex-build.properties
For the rice-prd1 database, modify this in the ImpEx file:
# # Uncomment these for a local MySQL database # import.torque.database = mysql import.torque.database.driver = com.mysql.jdbc.Driver import.torque.database.url = jdbc:mysql://kmysql:3306/riceprd1 import.torque.database.user=riceprd1 import.torque.database.schema=riceprd1 import.torque.database.password=kualirice
Save the file, change directory to the folder where the ImpEx build.xml is, and create the database:
cd /opt/software/kuali/db/trunk/impex ant create-schema ant satellite-update
You may receive this error because the ANT and SVN processes cannot write to a directory on the hard drive:
Buildfile: build.xml Warning: Reference torque-classpath has not been set at runtime, but was found during build file parsing, attempting to resolve. Future versions of Ant may support referencing ids defined in non-executed targets. satellite-update: Warning: Reference torque-classpath has not been set at runtime, but was found during build file parsing, attempting to resolve. Future versions of Ant may support referencing ids defined in non-executed targets. satellite-init: [echo] Running SVN update in /opt/software/kuali/devdb/rice-cfg-dbs [svn] <Update> started ... [svn] svn: '/opt/software/kuali/devdb/rice-cfg-dbs' is not a working copy [svn] svn: Cannot read from '/opt/software/kuali/devdb/rice-cfg-dbs/.svn/format': /opt/software/kuali/devdb/rice-cfg-dbs/.svn/format (No such file or directory) [svn] <Update> failed ! BUILD FAILED /opt/software/kuali/db/trunk/impex/build.xml:825: Cannot update dir /opt/software/kuali/devdb/rice-cfg-dbs Total time: 3 seconds
If you received the error above, go to the window where the root user is logged in and execute this command:
rm -rf /opt/software/kuali/devdb/rice-cfg-dbs
Then return to where you have the rice user logged in and re-execute the command:
ant satellite-update
The creation of the Rice riceprd1 database should begin at this time.
For the rice-prd2 database, modify this in the ImpEx file:
# # Uncomment these for a local MySQL database # import.torque.database = mysql import.torque.database.driver = com.mysql.jdbc.Driver import.torque.database.url = jdbc:mysql://kmysql:3306/riceprd2 import.torque.database.user=riceprd2 import.torque.database.schema=riceprd2 import.torque.database.password=kualirice
Save the file, change directory to the folder where the ImpEx build.xml is, and create the database:
cd /opt/software/kuali/db/trunk/impex ant create-schema ant satellite-update
You may get this error because the ANT and SVN processes cannot write to a directory on the hard drive:
Buildfile: build.xml Warning: Reference torque-classpath has not been set at runtime, but was found during build file parsing, attempting to resolve. Future versions of Ant may support referencing ids defined in non-executed targets. satellite-update: Warning: Reference torque-classpath has not been set at runtime, but was found during build file parsing, attempting to resolve. Future versions of Ant may support referencing ids defined in non-executed targets. satellite-init: [echo] Running SVN update in /opt/software/kuali/devdb/rice-cfg-dbs [svn] <Update> started ... [svn] svn: '/opt/software/kuali/devdb/rice-cfg-dbs' is not a working copy [svn] svn: Cannot read from '/opt/software/kuali/devdb/rice-cfg-dbs/.svn/format': /opt/software/kuali/devdb/rice-cfg-dbs/.svn/format (No such file or directory) [svn] <Update> failed ! BUILD FAILED /opt/software/kuali/db/trunk/impex/build.xml:825: Cannot update dir /opt/software/kuali/devdb/rice-cfg-dbs Total time: 3 seconds
If you received the error above, go to the window where the root user is logged in and execute this command:
rm -rf /opt/software/kuali/devdb/rice-cfg-dbs
Then return to where you have the rice user logged in and re-execute the command:
ant satellite-update
The creation of the Rice riceprd2 database should begin at this time.
Create a temporary work directory where you can unzip the WAR file, once it has finished building. Recompile your WAR files with the specific environment variable:
Execute this as root:
cd /opt/software/kuali mkdir work chmod –R 777 /opt/software/kuali/work
Execute this as the rice user to create the kualirice-prd1.war file:
cd /opt/software/kuali/src/rice-release-1-0-2-br ant -Drice.environment=prd dist-war cd target/ cp -p kr-prd.war /opt/software/kuali/work cd /opt/software/kuali/work mkdir files unzip kr-prd.war -d files cd files/WEB-INF/
Edit the web.xml with VI and change the top parameters to these:
<context-param> <param-name>environment</param-name> <param-value>prd</param-value> </context-param> <context-param> <param-name>rice-prd-instance-name</param-name> <param-value>prd1</param-value> </context-param>
Zip the kualirice-prd1.war file and deploy it:
cd .. zip -9 -r kualirice-prd1.war * mv kualirice-prd1.war /usr/local/tomcat/webapps/
Execute this as the rice user to create the kualirice-prd2.war file:
cd WEB-INF
Edit the web.xml with VI and change the top parameters to these:
<context-param> <param-name>environment</param-name> <param-value>prd</param-value> </context-param> <context-param> <param-name>rice-prd-instance-name</param-name> <param-value>prd2</param-value> </context-param>
Zip the kualirice-prd2.war file and deploy it:
cd .. zip -9 -r kualirice-prd2.war * mv kualirice-prd2.war /usr/local/tomcat/webapps
Remove the work directory:
cd ../.. rm -rf work
Create a Rice-specific set of configuration files:
cd /usr/local/rice cp -p rice-config.xml rice-config-prd1.xml cp -p rice-config.xml rice-config-prd2.xml
Set the following in the rice-config.xml
Set the config.location for each Rice instance-specific setting
Set the settings for all instances in the rice-config.xml
A minimal rice-config.xml might look like this:
<config> <param name="config.location">/usr/local/rice/rice-config-${rice-prd-instance-name}.xml</param> <!-- Please fill in a value for this parameter! --> <param name="application.url">http://10.93.94.206:8080/kualirice-${rice-prd-instance-name}</param> <param name="notification.basewebappurl">${application.url}/ken</param> <param name="workflow.url">${application.url}/en</param> <param name="plugin.dir">/usr/local/rice/plugins</param> <param name="attachment.dir.location">/usr/local/rice/kew_attachments</param> <!-- log4j settings --> <param name="log4j.settings.path">/usr/local/rice/log4j.properties</param> <param name="log4j.settings.reloadInterval">5</param> <!-- Keystore Configuration --> <param name="keystore.file">/usr/local/rice/rice.keystore</param> <param name="keystore.alias">rice</param> <param name="keystore.password">kualirice</param> <!-- Dummy Login Filter - use if you don't want to go through CAS --> <param name="filter.login.class">org.kuali.rice.kew.web.DummyLoginFilter</param> <param name="filtermapping.login.1">/*</param> </config>
A minimal rice-config-prd1.xml might look this:
<config> <!-- set some datasource defaults --> <!-- MySQL example --> <param name="datasource.ojb.platform">MySQL</param> <param name="datasource.platform">org.kuali.rice.core.database.platform.MySQLDatabasePlatform</param> <param name="datasource.url">jdbc:mysql://mysql:3306/riceprd1</param> <param name="datasource.username">riceprd1</param> <param name="datasource.password">kualirice</param> <param name="datasource.driver.name">com.mysql.jdbc.Driver</param> <param name="datasource.pool.maxWait">10000</param> <param name="datasource.pool.validationQuery">select 1</param> <!-- Oracle example <param name="datasource.ojb.platform">Oracle9i</param> <param name="datasource.platform">org.kuali.rice.core.database.platform.OracleDatabasePlatform</param> <param name="datasource.url">jdbc:oracle:thin:@localhost:1521:XE</param> <param name="datasource.username">rice</param> <param name="datasource.password">*** password ***</param> <param name="datasource.driver.name">oracle.jdbc.driver.OracleDriver</param> <param name="datasource.pool.maxWait">10000</param> <param name="datasource.pool.validationQuery">select 1 from dual</param> --> </config>
A minimal rice-config-prd2.xml might look like this:
<config> <!-- set some datasource defaults --> <!-- MySQL example --> <param name="datasource.ojb.platform">MySQL</param> <param name="datasource.platform">org.kuali.rice.core.database.platform.MySQLDatabasePlatform</param> <param name="datasource.url">jdbc:mysql://mysql:3306/riceprd2</param> <param name="datasource.username">riceprd1</param> <param name="datasource.password">kualirice</param> <param name="datasource.driver.name">com.mysql.jdbc.Driver</param> <param name="datasource.pool.maxWait">10000</param> <param name="datasource.pool.validationQuery">select 1</param> <!-- Oracle example <param name="datasource.ojb.platform">Oracle9i</param> <param name="datasource.platform">org.kuali.rice.core.database.platform.OracleDatabasePlatform</param> <param name="datasource.url">jdbc:oracle:thin:@localhost:1521:XE</param> <param name="datasource.username">rice</param> <param name="datasource.password">*** password ***</param> <param name="datasource.driver.name">oracle.jdbc.driver.OracleDriver</param> <param name="datasource.pool.maxWait">10000</param> <param name="datasource.pool.validationQuery">select 1 from dual</param> --> </config>
Now start up your Tomcat server:
cd /usr/local/tomcat/bin ./startup.sh Using CATALINA_BASE: /usr/local/tomcat Using CATALINA_HOME: /usr/local/tomcat Using CATALINA_TMPDIR: /usr/local/tomcat/temp Using JRE_HOME: /usr/java/jdk1.6.0_16
If your Rice instances started up successfully, browse to the sites http://yourlocalip:8080/kualirice-prd1 and http://yourlocalip:8080/kualirice-prd2. You should see the Rice sample application for each site.
If multiple instances of Rice are running under the same Tomcat instance, they can use the same keystore. You can set up multiple keystores for multiple instances, but you must insert a parameter for each instance in the WEB-INF/web.xml to point to the different keystores. Beyond this, the set up depends on how you want your Tomcat instance configured and your implementation-specific parameter settings.
The SessionDocumentService, which was part of the default configuration for Rice before versions 2.1.4 for the 2.1 line and 2.2.2 for the 2.2 line, provided session failover in certain limited cases, but was disabled as part of KULRICE-9148. This service was problematic for performance when dealing with larger documents, and it is not recommended that it be re-enabled. It is possible to do so however.
To enable it again, a bean definition overriding the knsSessionDocumentService bean needs to be created and configured to load into the correct Spring context. Create a file such as the following which we'll name KNSOverrideSpringBeans.xml:
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"> <bean id="knsSessionDocumentService" class="org.kuali.rice.kns.service.impl.SessionDocumentServiceImpl"> <property name="maxCacheSize" value="${session.document.cache.size}" /> <property name="businessObjectService"> <ref bean="businessObjectService" /> </property> <property name="sessionDocumentDao"> <ref bean="sessionDocumentDao" /> </property> </bean> </beans>
This file needs to be added to your web project so that it can be accessed from the classpath. For this example, it has been added to src/main/resources/edu/sampleu within our web project. With that in place, the following (adjusting for the actual path) should be added to your rice-config.xml file:
<param name="rice.kr.additionalSpringFiles">classpath:edu/sampleu/KNSOverrideSpringBeans.xml</param>
Note that if you already have a rice.kr.additionalSpringFiles
configuration parameter specified, the value is treated as a comma separated list, so you can add a comma at the end of the present value and append on the configuration for the KNSOverrideSpringBeans.xml file.
Table of Contents
Developing a Rice application is essentially no different than other J2EE applications. Any tool that can be used for creating J2EE apps can be used for a Rice app. Essentially Rice is a set of libraries that are used with your project (like many other libraries a J2EE app includes) and configured for your needs.
The essential tools for developing a project are documented in the next section.
This is the tool you will use to developer the source code and resources for your project. It can be a simple text editor if you want, however it is recommended to use one of the Java IDE tools available. Of these Eclipse, Intellij, and NetBeans are the most popular in today’s market. Any of these will be fine for developing a Rice project. However, as we will learn about next, Rice provides its own tooling to help getting started with Eclipse. Eclipse is chosen due to its high use and that it is a free open source tool. The latest release is ‘Indigo’ and can be downloaded here:
http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/indigosr1
Rice applications can use a MySql or Oracle database for persisting application data. Rice itself will use the database for supporting the various Rice modules (workflow, identity management, and so on). With each Rice distribution datasets are provided that can be used to create the initial database schema. You can choose to load the ‘bootstrap’ dataset, which provides the baseline data needed to run Rice, or the ‘demo’ dataset which adds additional demo data (such as example KIM data and workflow doc types). Although it is possible to provide a shared database for development, it is recommended for productivity reasons for each developer to have a local database installed. Both MySql and Oracle provide freely available databases for development. Currently Rice has been tested with the following versions:
Oracle
Oracle Database 10g
Oracle Database 11g
Oracle Express Edition (XE)
Use the Oracle JDBC Driver to connect to these databases.
Ensure that the Oracle database you intend to use encodes character data in a UTF variant by default. For Oracle XE, this entails downloading the "Universal" flavor of the binary, which uses AL32UTF8.
MySQL
MySQL 5.1.+
Use the MySQL Connector/J (5.1.+) to connect to MySQL databases.
Note for our chosen database we must also download the corresponding database driver. This is a jar file we will need to make available to our web container for connecting to the database.
These supported databases can be downloaded with the following URLs.
Table 5.1. Locations for Database Software
Software | Download Location |
---|---|
Oracle Standard and Enterprise Editions | http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html |
Oracle Express Edition | http://www.oracle.com/technetwork/database/express-edition/downloads/index.html |
Oracle JDBC DB Driver | http://www.oracle.com/technetwork/database/features/jdbc/index-091264.html |
MySQL | http://www.mysql.com/downloads/ |
MySQL Connector/J JDBC Driver | http://www.mysql.com/products/connector/j/ |
Note for working with a MySql database the MySql Workbench (available for free download) is very useful and can save time for those new to MySql.
Once the database provider is installed, we can then load one of the provided datasets using the Kuali ImpEx tool. The ImpEx tool is a Kuali-developed application which is based on Apache Torque. It reads in database structure and data from XML files in a platform independent way and then creates the resulting database in either Oracle or MySQL. To use this tool we simply provide configuration about the location of the source dataset, along with connectivity information for our target database. This is done by creating a properties file named ‘impex-build.properties’ in the user home directory. Once the configuration is complete, we can invoke the tool using ant or maven and our database will be created.
In order to support compilation of the application source code a JDK must be installed (Note this must be the JDK and not a Java Runtime Environment – JRE). Rice requires a JDK version of 1.6.x. Additionally, Rice has only been tested with the Sun JDK implementation. Therefore use of other implementations such as OpenJDK may have problems.
For machines running Windows, JDK 6 can be downloaded at the following URL:
http://www.oracle.com/technetwork/java/javase/downloads/index.html
If you are on a Mac, then Java 6 should already be installed if you are up to date with the latest updates from Apple.
You will also want to set up your JAVA_HOME environment variable to point to the installation directory of your JDK. In both Windows and Mac environments, the java executable program should already be on your path. But if it is not, you will want to include JAVA_HOME/bin in your PATH environment variable.
In order to verify that your JDK has been installed successfully, open a command prompt and type the following:
java -version
You should see output similar to the following:
java version "1.6.0_26" Java(TM) SE Runtime Environment (build 1.6.0_26-b03-383-11A511) Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-383, mixed mode)
If you receive an error indicating that the "java" command could not be found, please ensure that the java command is on your machine's PATH environment variable.
Maven is the primary build tool used by the Kuali Rice project. Maven is based on a project object model (POM) that defines various standards and conventions surrounding the organization of a project. This facilitates a set of standard build goals and lifecycle phases (such as compile, test, package, etc.). Maven is particularly helpful in terms of dependency management. When building a Rice application using Maven, all of the dependent libraries will be pulled in automatically.
It is not a required for Rice enabled applications to be Maven projects. Again, Rice is essentially a set of jars that can be used with an application. However using Maven simplifies the setup process greatly. For example applications not using Rice must pull in and manage all of the third party libraries that are needed by Rice. That has an impact not only on initial project setup, but also each time that application is upgraded to a new Rice version.
To download version 3 of Maven, use the following link:
http://maven.apache.org/download.html
You will want to set your M2_HOME environment variable to point to the location where you unzipped Maven. You will additionally want to include M2_HOME/bin in your PATH environment variable so that maven can be executed from the command line without having to specify the full path.
In order to verify that Maven has been installed successfully and is available on the path, open a command prompt and type the following:
mvn -version
You should see output like the following:
Apache Maven 3.0.3 (r1075438; 2011-02-28 10:31:09-0700) Maven home: /usr/local/maven Java version: 1.6.0_26, vendor: Apple Inc. Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home Default locale: en_US, platform encoding: MacRoman OS name: "mac os x", version: "10.7.2", arch: "x86_64", family: "mac"
If you receive an error indicating hat the "mvn" command could not be found, please ensure that the directory that includes the mvn executable (M2_HOME/bin) is on your machine's PATH environment variable.
In order to run our Rice application we need have a servlet container. The servlet container serves the web requests for a J2EE application. There are many containers available for use, but Tomcat is most commonly used. Kuali Rice 2.0 supports the following Tomcat version:
Tomcat 6 (Servlet API 2.5, JSP 2.1)
Tomcat 7 (Servlet API 3.0, JSP 2.2)
For downloading and install instructions visit the Apache Tomcat site:
For development purposes you can also choose to use an embedded application container such as Jetty. The Rice project provides a sample Jetty Server that can be used for your project. The next section will cover this in more detail.
The org.kuali.rice:rice-archetype-quickstart:2.1.7 Maven Archetype is used to build the rice application skeleton. Eclipse and Maven are required and the database needs to be setup.
Below are the instruction for Maven CLI, Eclipse, and Intellij.
Run the mvn archetype:generate command either in interactive or the automated mode to create the project.
Interactive mode:
C:\project> mvn archetype:generate -DarchetypeGroupId=org.kuali.rice -DarchetypeArtifactId=rice-archetype-quickstart -DarchetypeVersion=2.1.7
Automated mode:
C:\project> mvn archetype:generate -DarchetypeGroupId=org.kuali.rice -DarchetypeArtifactId=rice-archetype-quickstart -DarchetypeVersion=2.1.7 -DgroupId=org.foo -DartifactId=bar -Dversion=1.0-SNAPSHOT -Dpackage=org.foo.bar -Ddatasource_ojb_platform=Oracle -Ddatasource_url=jdbc:oracle:thin:@localhost:1521:XE -Ddatasource_username=RICE -Ddatasource_password=RICE
Enter the project path and build the project.
C:\project> cd bar C:\project\bar> mvn clean install -Dmaven.failsafe.skip=false jetty:run
This will clean, compile, run unit and integration tests and startup the project in jetty.
Navigate to http://localhost:8080/bar
The following plugins are required:
m2e - this is the core maven plugin for eclipse.
>m2e - connector for the buildhelper plugin. It is not necessary to install this plugin ahead of time. m2e will show an error and give the option to install it via the Eclipse Market Place.
Maven Integration for WTP - this allows maven to integrate with WTP (Eclipse Web Tools Platform). To install this plugin search for m2e-wtp on the Eclipse Market Place (help -> Market Place).
Procedure 5.1. Eclipse 3.7.2 JEE Edition
Follow the New Project window choose → and press the button twice to get to the Select an Archtype window.
→ → menu choices. On the
Add Archetype if org.kuali.rice:rice-archetype-quickstart:2.1.7 does not exist in the list.
Click the
button.Fill in:
Archetype Group Id: org.kuali.rice
Archetype Artifact Id: rice-archetype-quickstart
Archetype Version: 2.1.7
Archetype Group Id: org.kuali.rice
Click the
button.If needed check the Include snapshot archetypes check box.
Select org.kuali.rice:rice-archetype-quickstart:2.1.7 and click the button.
Fill in your project specific information:
Group Id: org.foo
Artifact Id: bar
Version: 1.0-SNAPSHOT
package: org.foo.bar
And your database specific information:
Oracle
datasource_ojb_platform: Oracle
datasource_url: jdbc:oracle:thin:@localhost:1421:XE
datasource_username: RICE
datasource_password: RICE
MySQL
datasource_ojb_platform: MySQL
datasource_url: jdbc:mysql://localhost:3306/rice
datasource_username: rice
datasource_password: rice
Click the
button.If the project's pom.xml contains an error related to the buildhelper plugin:
Open the pom in eclipse.
On the overview tab click on the error. This will find the required plugin in the eclipse marketplace to resolve this error. The plugin needed is the m2e connector for buildhelper plugin.
After installing restart eclipse.
You may get JSP, JavaScript or other validation errors. Just ignore them. Eclipse's various validations creates many false positives. They can be disabled within eclipse.
At this point it is a good idea to rebuild the entire project and make sure there are no errors. Then run all the unit and integration tests through eclipse.
Follow the Clean all projects or your specific project bar is selected and click the button.
→ menu choices. Make sure thatRun the BasicApplicationIT.java integration test by right clicking on src/it/java/org/foo/bar/BasicApplicationIT.java in the Project Explorer and choosing → from the menu.
Run the three unit tests (AbstractproductServiceImplTest, AdditionProductServiceImplTest, MultiplicationProductServiceTest) by right clicking on src/test/java/org/foo/bar in the Project Explorer and choosing → from the menu.
Setup the Application server through the Eclipse WTP plugin:
From the JEE perspective select the Servers tab and click the new server wizard link.
Select Apache Tomcat 6 (or the app server of your choice) and click the
button.Point to a local install of tomcat and click the
button.Select bar and click the button to move bar to the configured side. Click the button.
Double click on the newly created server under the Servers tab.
Select the Arguments tab and add more more memory by adding the following VM Arguments:
-Xms512m -Xmx2g -XX:MaxPermSize=512m
Click the
button.Right click on the server under the Servers tab and choose .
After the application has started navigate to http://localhost:8080/bar.
Follow the
→ menu choices.Select Create project from scratch and click the button. menu choices.
Fill in the project information:
Project Name: bar
Module Name: bar
Select Maven Module and click the button.
Fill in module information:
GroupId: org.foo
ArtifactId: bar
Version: 1.0-SNAPSHOT
Check the Create from archetypecheckbox.
Add the org.kuali.rice:rice-archetype-quickstart:2.1.7 archetype if it does not exist in the archetype list.
Click the
button.Fill in module information:
GroupId: org.kuali.rice
ArtifactId: rice-archetype-quickstart
Version: 2.1.7
Click the
button.Select the org.kuali.rice:rice-archetype-quickstart:2.1.7 archetype and click the button.
And your database specific information:
Oracle
datasource_ojb_platform: Oracle
datasource_url: jdbc:oracle:thin:@localhost:1421:XE
datasource_username: RICE
datasource_password: RICE
MySQL
datasource_ojb_platform: MySQL
datasource_url: jdbc:mysql://localhost:3306/rice
datasource_username: rice
datasource_password: rice
Click the
button.Force a reimport of the project. Right click on the project and select
→ from the menu.Add the integration test folder as a source folder.
Right click on the project and select
.Navigate to src/it/java folder.
Select Test Sources.
Click the
button.At this point it is a good idea to rebuild the entire project and make sure there are no errors. Then run all the unit and integration tests through Intellij.
From the menu choose
→ to rebuild the project.Right click on src/it/java/org/foo/BasicApplicationIT.java and choose from the menu to run the integration test.
Right click on src/test/java/org/foo/ folder and choose from the menu to run the unit tests.
Setup the Application server in Intellij:
Choose
→ from the menu.Click the
icon on the top left and select → from the menu.Specify the server name in the Name field (e.g. "Local Tomcat 6"). Choose the tomcat server in the Application server drop down. Add more memory by specifying "-Xms512m -Xmx2g -XX:MaxPermSize=512m" in the VM options field.
Switch to the Deployment tab. Click the icon and select from the menu. Select bar:war (exploded) and click the button.
Specify "/bar" as the Application context. Click the button.
Choose
→ from the menuAfter the application has started navigate to http://localhost:8080/bar.
The result of running the create project script is a new maven based Rice client project. This includes the directory structures for building out your application, along with the necessary configuration files. Let’s start by looking the directories that were created.
Project Root (eg ‘/java/projects/myapp’) – This is the root folder that was created to hold all the project contents. Within this folder you will find three sub-folders, a ‘.classpath’, ‘.project’, ‘instructions.txt’, and ‘pom.xml’ file.
.settings – This folder contains settings configuration for the Eclipse IDE
src – This folder is for the application source files and resources. Within this folder is the standard maven directory breakdown:
src/main/java – Contains Java source code
src/main/resources – Contains resource files (XML and other resources)
src/main/webapp – Contains the application web content (JSP, tags, images, CSS, Script)
target – This folder holds the build output such as generated classes and wars.
Along with the directories several files are created. These are as follows:
Table 5.2. Generated Files
File | Description | |
---|---|---|
.classpath | Eclipse file for managing the application classpath | |
.project | Eclipse project file | |
pom.xml | Maven Project File | |
{project}-RiceDataSourceSpringBeans.xml* | Spring XML file containing Rice datasource configurations | |
{project}-RiceJTASpringBeans.xml* | Spring XML file containing JTA transaction configuration | |
{project}-RiceSpringBeans.xml* | Spring XML file containing the Rice module Configurers | |
SpringBeans.xml* | Spring XML file for Application beans | |
{project}-SampleAppModuleBeans.xml* | Spring XML file for Sample App beans (only created if –sampleapp option was given) | |
OJB-repository-sampleapp.xml* | OJB configuration file for the Sample App (only created if –sampleapp option was given) | |
META-INF/{project}-config.xml* | Default Rice configuration properties | |
src/main/webapp/WEB-INF/web.xml | Standard web deployment descriptor for J2EE applications |
All of these files are located within the src/main/resources directory
In addition to the files created within the project, two files are created in the ‘{user home}/kuali/main/dev’ folder. These include:
{project}-config.xml – Configuration file for application. This is where the settings for the database and other configurations are given.
rice.keystore – Provides a secure key for consuming secured services running on a Rice server
Next we need to provide some configuration for our application that is custom to our environment (for example database connectivity). We can do this by modifying the properties available in {project}-config.xml (located in the /kuali/main/dev folder in user home).
Although there are many configuration properties available for customization, the following are required for getting started:
Table 5.3. Configuration Parameters
Parameter | Description | Example |
---|---|---|
datasource.url | JDBC URL of database to connect to | jdbc:oracle:thin:@localhost:1521:XE jdbc:mysql://localhost:3306/kuldemo |
datasource.username | User name for connecting to the server database | rice |
datasource.password | Password for connecting to the server database | |
datasource.ojb.platform | Name of OJB platform to use for the database | Oracle9i or MySQL |
datasource.platform | Rice platform implementation for the database | org.kuali.rice.core.database.platform.OraclePlatform org.kuali.rice.core.database.platform.MySQLPlatform |
datasource.driver.name | JDBC driver for the database | oracle.jdbc.driver.OracleDriver com.mysql.jdbc.Driver |
Now we have our project setup and are ready to begin development. Note at this point the application is completely runnable. We could do a maven deploy, copy the generated war to our tomcat server, and start up the application. However we are going to first import our project to Eclipse so that we will be ready to develop further application code.
Navigate to the Eclipse installation directory. There you should find an executable named ‘eclipse.exe’. Once this file is found double click to start the IDE. When Eclipse starts up for the first time it will ask you to choose a workspace. This is a directory that Eclipse place newly created projects and will also read current projects from. A standard within the community is to use ‘/java/projects’ for your working space. Note you can select the checkbox to use the directory as your default and Eclipse will not prompt on the next startup.
Eclipse Memory: It is generally needed and recommended to allocate additional JVM memory for the Eclipse runtime. This can be done by opening up the file named ‘eclipse.ini’ that exists in the root installation directory. At the end of the file you specify VM arguments as follows:
-vmargs -Xms128m -Xmx1024m -XX:MaxPermSize=512m
The amount of memory allocated depends on the host machine. The above settings are for a machine with 4g of memory.
When working with Eclipse for the first time, there are additional plugins you will likely want to get. None of these are required by Rice and depend on your institutional development environment and how you plan to create your project. However, most projects today use SVN or GIT for source code control. Therefore an additional Eclipse plugin is needed for communicating with the repository. Also if you have chosen to use Maven (or used the create project script) the Eclipse Maven plugin will be very useful as well.
To bring a new project into eclipse, select the File-Import menu option. This should bring up a dialog as show in next figure.
For the import source select ‘Existing Projects info Workspace’. This should bring up a dialog that looks like the following figure.
Here click the ‘Browse’ button to locate the directory for the project. After selecting the project location click the ‘Finish’ button. Eclipse will then import the project contents and you are ready to begin coding!
Table of Contents
An example setup of a single Tomcat server running MySQL server:
CentOS v5.3 x64
4 GB Ram
Intel Q6600 Quad Core Processor or better
1 TB RAID 1 configuration – SATA II 3.0 Gbps
Apache
Tomcat
MySQL 5.1.x
An example of a multiple server configuration:
CentOS v5.3 x64
Intel (64 bit architecture)
1 GB Ram
80 GB RAID 1 configuration - SATA II 3.0 Gbps
Apache
Tomcat connector
CentOS v5.3 x64
Intel Q6600 Quad Core Processor or better
4 GB Ram
80 GB RAID 1 configuration – SATA II 3.0 Gbps
Tomcat
A list of the user's notification and workflow items. Also called the user's Notification List. Clicking an item in the Action List displays details about that notification, if the item is a notification, or displays that document, if it is a workflow item. The user will usually load the document from their Action List in order to take the requested action against it, such as approving or acknowledging the document.
This tells you if the Action List item is a notification or a more specific workflow request item. When the Action List item is a notification, the Action List Type is "Notification."
A request to a user or Workgroup to take action on a document. It designates the type of action that is requested, which includes:
Approve: requests an approve or disapprove action.
Complete: requests a completion of the contents of a document. This action request is displayed in the Action List after the user saves an incomplete document.
Acknowledge: requests an acknowledgment by the user that the document has been opened - the doc will not leave the Action List until acknowledgment has occurred; however, the document routing will not be held up and the document will be permitted to transaction into the processed state if neccessary.
FYI: a notification to the user regarding the document. Documents requesting FYI can be cleared directly from the Action List. Even if a document has FYI requests remaining, it will still be permitted to transition into the FINAL state.
Action requests are hierarchical in nature and can have one parent and multiple children.
The action one needs to take on a document; also the type of action that is requested by an Action Request. Actions that may be requested of a user are:
Acknowledge: requests that the users states he or she has reviewed the document.
Approve: requests that the user either Approve or Disapprove a document.
Complete: requests the user to enter additional information in a document so that the content of the document is complete.
FYI: intended to simply makes a user aware of the document.
An action taken on a document by a Reviewer in response to an Action Request. The Action Taken may be:
Acknowledged: Reviewer has viewed and acknowledged document.
Approved: Reviewer has approved the action requested on document.
Blanket Approved: Reviewer has requested a blanket approval up to a specified point in the route path on the document.
Canceled: Reviewer has canceled the document. The document will not be routed to any more reviewers.
Cleared FYI: Reviewer has viewed the document and cleared all of his or her pending FYI(s) on this document.
Completed: Reviewer has completed and supplied all data requested on document.
Created Document: User has created a document
Disapproved: Reviewer has disapproved the document. The document will not being routed to any subsequent reviewers for approval. Acknowledge Requests are sent to previous approvers to inform them of the disapproval.
Logged Document: Reviewer has added a message to the Route Log of the document.
Moved Document: Reviewer has moved the document either backward or forward in its routing path.
Returned to Previous Node: Reviewer has returned the document to a previous routing node. When a Reviewer does this, all the actions taken between the current node and the return node are removed and all the pending requests on the document are deactivated.
Routed Document: Reviewer has submitted the document to the workflow engine for routing.
Saved: Reviewer has saved the document for later completion and routing.
Superuser Approved Document: Superuser has approved the entire document, any remaining routing is cancelled.
Superuser Approved Node: Superuser has approved the document through all nodes up to (but not including) a specific node. When the document gets to that node, the normal Action Requests will be created.
Superuser Approved Request: Superuser has approved a single pending Approve or Complete Action Request. The document then goes to the next routing node.
Superuser Cancelled: Superuser has canceled the document. A Superuser can cancel a document without a pending Action Request to him/her on the document.
Superuser Disapproved: Superuser has disapproved the document. A Superuser can disapprove a document without a pending Action Request to him/her on the document.
Superuser Returned to Previous Node: Superuser has returned the document to a previous routing node. A Superuser can do this without a pending Action Request to him/her on the document.
The state of an action request when it is has been sent to a user’s Action List.
The process by which requests appear in a user's Action List
Defines how a route node handles activation of Action Requests. There are two standard activation types:
Sequential: Action Requests are activated one at a time based on routing priority. The next Action Request isn't activated until the previous request is satisfied.
Parallel: All Action Requests at the route node are activated immediately, regardless of priority
An indicator specifying whether an object in the system is active or not. Used as an alternative to complete removal of an object.
A type of routing used to route a document to users or groups that are not in the Routing path for that Document Type. When the Ad Hoc Routing is complete, the routing returns to its normal path.
Optional comments added by a Reviewer when taking action. Intended to explain or clarify the action taken or to advise subsequent Reviewers.
A type of workflow action button. Signifies that the document represents a valid business transaction in accordance with institutional needs and policies in the user's judgment. A single document may require approval from several users, at multiple route levels, before it moves to final status.
The user who approves the document. As a document moves through Workflow, it moves one route level at a time. An Approver operates at a particular route level of the document.
The pathname of a related file to attach to a Note. Use the "Browse..." button to open the file dialog, select the file and automatically fill in the pathname.
Used to strongly type or categorize the values that can be stored for the various attributes in the system (e.g., the value of the arbitrary key/value pairs that can be defined and associated with a given parent object in the system).
The act of logging into the system. The Out of the box (OOTB) authenticaton implementation in Rice does not require a password as it is intended for testing puposes only. This is something that must be enabled as part of an implementation. Various authentication solutions exist, such as CAS or Shibboleth, that an implementer may want to use depending on their needs.
Authorization is the permissions that an authenticated user has for performing actions in the system.
A free-form text field for the full name of the Author of the Note, expressed as "Lastname, Firstname Initial"
The standard fields that are defined and collected for every Routing Rule These include:
Active: A true/false flag to indicate if the Routing Rule is active. If false, then the rule will not be evaluated during routing.
Document Type: The Document Type to which the Routing Rule applies.
From Date: The inclusive start date from which the Routing Rule will be considered for a match.
Force Action: a true/false flag to indicate if the review should be forced to take action again for the requests generated by this rule, even if they had taken action on the document previously.
Name: the name of the rule, this serves as a unique identifier for the rule. If one is not specified when the rule is created, then it will be generated.
Rule Template: The Rule Template used to create the Routing Rule.
To Date: The inclusive end date to which the Routing Rule will be considered for a match.
Authority that is given to designated Reviewers who can approve a document to a chosen route point. A Blanket Approval bypasses approvals that would otherwise be required in the Routing For an authorized Reviewer, the Doc Handler typically displays the Blanket Approval button along with the other options. When a Blanket Approval is used, the Reviewers who are skipped are sent Acknowledge requests to notify them that they were bypassed.
A workgroup that has the authority to Blanket Approve a document.
A path containing one or more Route Nodes that a document traverses during routing. When a document enters a Split Node multiple branches can be created. A Join Node joins multiple branches together.
Describes the operations, definitions and constraints that apply to an organization in achieving its goals.
A restriction to a function for a business reason (such as making a specific object code unavailable for a particular type of disbursement). Customizable business rules are controlled by Parameters.
Identifies the different fiscal and physical operating entities of an institution.
Designates a campus as physical only, fiscal only or both.
A workflow action available to document initiators on documents that have not yet been routed for approval. Denotes that the document is void and should be disregarded. Canceled documents cannot be modified in any way and do not route for approval.
A routing status. The document is denoted as void and should be disregarded.
http://www.jasig.org/cas - An open source authentication framework. Kuali Rice provides support for integrating with CAS as an authentication provider (among other authentication solutions) and also provides an implementation of a CAS server that integrates with Kuali Identity Management.
A Java Application Program Interface (API) for interfacing with the Kuali Enterprise Workflow Engine.
The use of one computer to request the services of another computer over a network. The workstation in an organization will be used to initiate a business transaction (e.g., a budget transfer). This workstation needs to gather information from a remote database to process the transaction, and will eventually be used to post new or changed information back onto that remote database. The workstation is thus a Client and the remote computer that houses the database is the Server.
A workflow action available on documents in most statuses. Signifies that the user wishes to exit the document. No changes to Action Requests, Route Logs or document status occur as a result of a Close action. If you initiate a document and close it without saving, it is the same as canceling that document.
A file format using commas as delimiters utilized in import and export functionality.
A pending action request to a user to submit a saved document.
The action taken by a user or group in response to a request in order to finish populating a document with information, as evidenced in the Document Route Log.
Field used to indicate if a country is restricted from use in procurement. If there is no value then there is no restriction.
The date on which a document is created.
The date on which a document was most recently approved.
The date on which a document enters the FINAL state. At this point, all approvals and acknowledgments are complete for the document.
The process by which requests are removed from a user's Action List
A user who has been registered to act on behalf of another user. The Delegate acts with the full authority of the Delegator. Delegation may be either Primary Delegation or Secondary Delegation.
A separate Action List for Delegate actions. When a Delegate selects a Delegator for whom to act, an Action List of all documents sent to the Delegator is displayed.
For both Primary and Secondary Delegation the Delegate may act on any of the entries with the full authority of the Delegator.
A workflow action that allows a user to indicate that a document does not represent a valid business transaction in that user's judgment. The initiator and previous approvers will receive Acknowledgment requests indicating the document was disapproved.
A status that indicates the document has been disapproved by an approver as a valid transaction and it will not generate the originally intended transaction.
The Doc Handler is a web interface that a Client uses for the appropriate display of a document. When a user opens a document from the Action List or Document Search, the Doc Handler manages access permissions, content format, and user options according to the requirements of the Client.
The URL for the Doc Handler.
See Document Number.
Also see E-Doc.
An electronic document containing information for a business transaction that is routed for Actions in KEW. It includes information such as Document ID, Type, Title, Route Status, Initiator, Date Created, etc. In KEW, a document typically has XML content attached to it that is used to make routing decisions.
See Document Number.
A unique, sequential, system-assigned number for a document
A workflow screen that provides an interface for authorized users to manipulate the XML and other data that defines a document in workflow. It allows you to access and open a document by Document ID for the purpose of performing operations on the document.
A web interface in which users can search for documents. Users may search by a combination of document properties such as Document Type or Document ID, or by more specialized properties using the Detailed Search. Search results are displayed in a list similar to an Action List.
See also Route Status.
The title given to the document when it was created. Depending on the Document Type, this title may have been assigned by the Initiator or built automatically based on the contents of the document. The Document Title is displayed in both the Action List and Document Search.
The Document Type defines the routing definition and other properties for a set of documents. Each document is an instance of a Document Type and conducts the same type of business transaction as other instances of that Document Type.
Document Types have the following characteristics:
They are specifications for a document that can be created in KEW
They contain identifying information as well as policies and other attributes
They defines the Route Path executed for a document of that type (Process Definition)
They are hierarchical in nature may be part of a hierarchy of Document Types, each of which inherits certain properties of its Parent Document Type.
They are typically defined in XML, but certain properties can be maintained from a graphical interface
A hierarchy of Document Type definitions. Document Types inherit certain attributes from their parent Document Types. This hierarchy is also leveraged by various pieces of the system, including the Rules engine when evaluating rule sets and KIM when evaluating certain Document Type-based permissions.
The human-readable label assigned to a Document Type.
The assigned name of the document type. It must be unique.
These advise various checks and authorizations for instances of a Document Type during the routing process.
A link that allows a user to access more detailed information about the current data. These links typically take the user through a series of inquiries on different business objects.
An advanced type of Route Node that can be used to generate complex routing paths on the fly. Typically used whenever the route path of a document cannot be statically defined and must be completely derived from document data.
An acronym for Educational Community License.
All Kuali software and material is available under the Educational Community License and may be adopted by colleges and universities without licensing fees. The open licensing approach also provides opportunities for support and implementation assistance from commercial affiliates.
An abbreviation for electronic documents, also a shorthand reference to documents created with eDocLite.
A framework for quickly building workflow-enabled documents. Allows you to define document screens in XML and render them using XSL style sheets.
A type of client that runs an embedded workflow engine.
Found on the Person Document; defines the employee's current employment classification (for example, "A" for Active).
Found on the Person Document; defines the employee's position classification (for example, "P" for Professional).
An Entity record houses identity information for a given Person, Process, System, etc. Each Entity is categorized by its association with an Entity Type.
Entities have directory-like information called Entity Attributes that are associated with them
Entity Attributes make up the identity information for an Entity record.
Provides categorization to Entities. For example, a “System” could be considered an Entity Type because something like a batch process may need to interfact with the application.
A workflow routing status indicating that the document routed to an exception queue because workflow has encountered a system error when trying to process the document.
The set of services and configuration options that are responsible for handling messages when they cannot be successfully delivered. Exception Messaging is set up when you configure KSB using the properties outlined in KSB Module Configuration.
A type of routing used to handle error conditions that occur during the routing of a document. A document goes into Exception Routing when the workflow engine encounters an error or a situation where it cannot proceed, such as a violation of a Document Type Policy or an error contacting external services. When this occurs, the document is routed to the parties responsible for handling these exception cases. This can be a group configured on the document or a responsibility configured in KIM. Once one of these responsible parties has reviewed the situation and approved the document, it will be resubmitted to the workflow engine to attempt the processing again.
Custom, table-driven business object attributes that can be established by implementing institutions.
One of the rule attributes added in the definition of a rule template that extends beyond the base rule attributes to differentiate the routing rule. A Required Extension Attribute has its "Required" field set to True in the rule template. Otherwise, it is an Optional Extension Attribute. Extension attributes are typically used to add additional fields that can be collected on a rule. They also define the logic for how those fields will be processed during rule evaluation.
The round magnifying glass icon found next to fields throughout the GUI that allow the user to look up reference table information and display (and select from) a list of valid values for that field.
A workflow routing status indicating that the document has been routed and has no pending approval or acknowledgement requests.
A standard KEW routing scheme based on rules rather than dedicated table-based routing.
The Route Module that performs the Routing for any Routing Rule is defined through FlexRM. FlexRM generates Action Requests when a Rule matches the data value contained in a document. An abbreviation of "Flexible Route Module." A standard KEW routing scheme that is based on rules rather than dedicated table-based routing.
A true/false flag that indicates if previous Routing for approval will be ignored when an Action Request is generated. The flag is used in multiple contexts where requests are generated (e.g., rules, ad hoc routing). If Force Action is False, then prior Actions taken by a user can satisfy newly generated requests. If it is True, then the user needs to take another Action to satisfy the request.
A workflow action request that can be cleared from a user's Action List with or without opening and viewing the document. A document with no pending approval requests but with pending Acknowledge requests is in Processed status. A document with no pending approval requests but with pending FYI requests is in Final status. See also Ad Hoc Routing and Action Request.
A Group has members that can be either Principals or other Groups (nested). Groups essentially become a way to organize Entities (via Principal relationships) and other Groups within logical categories.
Groups can be given authorization to perform actions within applications by assigning them as members of Roles.
Groups can also have arbitrary identity information (i.e., Group Attributes hanging from them. Group Attributes might be values for "Office Address," "Group Leader," etc.
Groups can be maintained at runtime through a user interface that is capable of workflow.
Groups have directory-like information called Group Attributes hanging from them. "Group Phone Number" and "Team Leader" are examples of Group Attributes.
Group Attributes make up the identity information for a Group record.
Group Attributes can be maintained at runtime through a user interface that is capable of workflow.
The state of an Action Request when it is first created but has not yet been Activated (sent to a user’s Action List).
A workflow routing status indicating a document has been created but has not yet been saved or routed. A Document Number is automatically assigned by the system.
A user role for a person who creates (initiates or authors) a new document for routing. Depending on the permissions associated with the Document Type, only certain users may be able to initiate documents of that type.
A screen that allows a user to view information about a business object.
The point in the routing path where multiple branches are joined together. A Join Node typically has a corresponding Split Node for which it joins the branches.
TODO
A designation provided to commercial affiliates who become part of the Kuali Partners Program to provide for-fee guidance, support, implementation, and integration services related to the Kuali software. Affiliates hold no ownership of Kuali intellectual property, but are full KPP participants. Affiliates may provide packaged versions of Kuali that provide value for installation or integration beyond the basic Kuali software. Affiliates may also offer other types of training, documentation, or hosting services.
KCB is logically related to KEN. It handles dispatching messages based on user preferences (email, SMS, etc.).
A key component of the Enterprise Integration layer of the architecture framework. Its features include:
Automatic Message Generation and Logging
Message integrity and delivery standards
Delivery of notifications to a user’s Action List
Kuali Enterprise Workflow is a general-purpose electronic routing infrastructure, or workflow engine. It manages the creation, routing, and processing of electronic documents (eDocs) necessary to complete a transaction. Other applications can also use Kuali Enterprise Workflow to automate and regulate the approval process for the transactions or documents they create.
Delivers a comprehensive suite of functionality to serve the financial system needs of all Carnegie-Class institutions. An enhancement of the proven functionality of Indiana University's Financial Information System (FIS), KFS meets GASB and FASB standards while providing a strong control environment to keep pace with advances in both technology and business. Modules include financial transactions, general ledger, chart of accounts, contracts and grants, purchasing/accounts payable, labor distribution, budget, accounts receivable and capital assets.
A Kuali Rice module, Kuali Identity Management provides a standard API for persons, groups, roles and permissions that can be implemented by an institution. It also provdies an out of the box reference implementation that allows for a university to use Kuali as their Identity Management solution.
A core technical module composed of reusable code components that provide the common, underlying infrastructure code and functionality that any module may employ to perform its functions (for example, creating custom attributes, attaching electronic images, uploading data from desktop applications, lookup/search routines, and database interaction).
The Kuali Partners Program (KPP) is the means for organizations to get involved in the Kuali software community and influence its future through voting rights to determine software development priorities. Membership dues pay staff to perform Quality Assurance (QA) work, release engineering, packaging, documentation, and other work to coordinate the timely enhancement and release of quality software and other services valuable to the members. Partners are also encouraged to tender functional, technical, support or administrative staff members to the Kuali Foundation for specific periods of time.
TODO
TODO
Delivers a means to support students and other users with a student-centric system that provides real-time, cost-effective, scalable support to help them identify and achieve their goals while simplifying or eliminating administrative tasks. The high-level entities of person (evolving roles-student, instructor, etc.), time (nested units of time - semesters, terms, classes), learning unit (assigned to any learning activity), learning result (grades, assessments, evaluations), learning plan (intentions, activities, major, degree), and learning resources (instructors, classrooms, equipment). The concierge function is a self-service information sharing system that aligns information with needs and tasks to accomplish goals. The support for integration of locally-developed processes provides flexibility for any institution's needs.
Provides an out-of-the-box service architecture and runtime environment for Kuali Applications. It is the cornerstone of the Service Oriented Architecture layer of the architectural reference framework. The Kuali Service Bus consists of:
A services registry and repository for identifying and instantiating services
Run time monitoring of messages
Support for synchronous and asynchronous service and message paradigms
Pronounced "ku-wah-lee". A partnership organization that produces a suite of community-source, modular administrative software for Carnegie-class higher education institutions. See also Kuali Foundation
(n.) A humble kitchen wok that plays an important role in a successful kitchen.
Employs staff to coordinate partner efforts and to manage and protect the Foundation's intellectual property. The Kuali Foundation manages a growing portfolio of enterprise software applications for colleges and universities. A lightweight Foundation staff coordinates the activities of Foundation members for critical software development and coordination activities such as source code control, release engineering, packaging, documentation, project management, software testing and quality assurance, conference planning, and educating and assisting members of the Kuali Partners program.
Provides an enterprise-class middleware suite of integrated products that allow both Kuali and non-Kuali applications to be built in an agile fashion, such that developers are able to react to end-user business requirements in an efficient manner to produce high-quality business applications. Built with Service Oriented Architecture (SOA) concepts in mind, KR enables developers to build robust systems with common enterprise workflow functionality, customizable and configurable user interfaces with a clean and universal look and feel, and general notification features to allow for a consolidated list of work "action items." All of this adds up to providing a re-usable development framework that encourages a simplified approach to developing true business functionality as modular applications.
An e-doc used to establish and maintain a table record.
The full description of a notification message. This is a specific field that can be filled out as part of the Simple Message or Event Message form. This can also be set by the programmatic interfaces when sending notifications from a client system.
Allows administrators to monitor messages that are flowing through the Service Bus. Messages can be edited, deleted or forwarded to other machines for processing from this screen.
A Namespace is a way to scope both Permissions and Entity Attributes Each Namespace instance is one level of scoping and is one record in the system. For example, "KRA" or "KC" or "KFS" could be a Namespace. Or you could further break those up into finer-grained Namespaces such that they would roughly correlate to functional modules within each application. Examples could be "KRA Rolodex", "KC Grants", "KFS Chart of Accounts".
Out of the box, the system is bootstrapped with numerous Rice namespaces which correspond to the different modules. There is also a default namespace of “KUALI”.
Namespaces can be maintained at runtime through a maintenance document.
A free-form text field for the text of a Note
This section of a notification message which displays the actual full message for the notification along with any other content-type-specific fields.
The overall Notification item or Notification Message that a user sees when she views the details of a notification in her Action List. A Notification Message contains not only common elements such as Sender, Channel, and Title, but also content-type-specific fields.
Stands for "out of the box" and refers to the base deliverable of a given feature in the system.
A type of “locking” that is placed on a database row by a process to prevent other processes from updating that row before the first process is complete. A characteristic of this locking technique is that another user who wants to make modifications at the same time as another user is permitted to, but the first one who submits their changes will have them applied. Any subsequent changes will result in the user being notified of the optimistic lock and their changes will not be applied. This technique assumes that another update is unlikely.
An Extension Attribute that is not required in a Rule Template. It may or may not be present in a Routing Rule created from the Template. It can be used as a conditional element to aid in deciding if a Rule matches. These Attributes are simply additional criteria for the Rule matching process.
The originating document number.
Refers to a unit within the institution such as department, responsibility center, campus, etc.
Represents a unique identifier assigned to units at many different levels within the institution (for example, department, responsibility center, and campus).
Code identifying the parameter Component.
This field houses the purpose of this parameter.
This will be used as the identifier for the parameter. Parameter values will be accessed using this field and the namespace as the key.
Code identifying the parameter type. Parameter Type Code is the primary key for its’ table.
This field houses the actual value associated with the parameter.
A Document Type from which another Document Type derives. The child type can inherit certain properties of the parent type, any of which it may override. A Parent Document Type may have a parent as part of a hierarchy of document types.
A Routing Rule in KEW from which another Routing Rule derives. The child Rule can inherit certain properties of the parent Rule, any of which it may override. A Parent Rule may have a parent as part of a hierarchy of Rules.
Permissions represent fine grained actions that can be mapped to functionality within a given system. Permissions are scoped to Namespace which roughly correlate to modules or sections of functionality within a given system.
A developer would code authorization checks in their application against these permissions.
Some examples would be: "canSave", "canView", "canEdit", etc.
Permissions are aggregated by Roles.
Permissions can be maintained at runtime through a user interface that is capable of workflow; however, developers still need to code authorization checks against them in their code, once they are set up in the system.
Attributes
Id - a system generated unique identifier that is the primary key for any Permission record in the system
Name - the name of the permission; also a human understandable unique identifier
Description - a full description of the purpose of the Permission record
Namespace - the reference to the associated Namespace
Relationships
Permission to Role - many to many; this relationship ties a Permission record to a Role that is authorized for the Permission
Permission to Namespace - many to one; this relationship allows for scoping of a Permission to a Namespace that contains functionality which keys its authorization checking off of said
The username of an individual user who receives the document ad hoc for the Action Requested
Creates or maintains the list used in selection of personnel when preparing the Routing Form document.
A type of lock placed on a database row by a process to prevent other processes from reading or updating that row until the first process is finished. This technique assumes that another update is likely.
A plugin is a packaged set of code providing essential services that can be deployed into the Rice standalone server. Plugins usually contains only classes used in routing such as custom rules or searchable attributes, but can contain client application specific services. They are usually used only by clients being implemented by the ‘Thin Client’ method
A routing component that is notified by the workflow engine about various events pertaining to the routing of a specific document (e.g., node transition, status change, action taken). The implementation of a Post Processor is typically specific to a particular set of Document Types. When all required approvals are completed, the engine notifies the Post Processor accordingly. At this point, the Post Processor is responsible for completing the business transaction in the manner appropriate to its Document Type.
A free-form text field that identifies the time and date at which the Notes is posted.
Defines zip code to city and state cross-references.
User options in an Action List for displaying the list of documents. Users can click the Preferences button in the top margin of the Action List to display the Action List Preferences screen. On the Preferences screen, users may change the columns displayed, the background colors by Route Status, and the number of documents displayed per page.
The Delegator turns over full authority to the Delegate. The Action Requests for the Delegator only appear in the Action List of the Primary Delegate. The Delegation must be registered in KEW or KIM to be in effect.
A Principal represents an Entity that can authenticate into the system. One can roughly correlate a Principal to a login username. Entities can exist in KIM without having permissions or authorization to do anything; therefore, a Principal must exist and must be associated with an Entity in order for it to have access privileges. All authorization that is not specific to Groups is tied to a Principal.
In other words, an Entity is for identity while a Principal is for access management.
Also note that an Entity is allowed to have multiple Principals associated with it. The use case typically given here is that a person may apply to a school and receive one log in for the application system; however, once accepted, they may receive their official login, but use the same identity information set up for their Entity record.
A routing status indicating that the document has no pending approval requests but still has one or more pending acknowledgement requests.
The type of entity that is receiving an Action Request. Can be a user, workgroup, or role.
An Extension Attribute that is required in a Rule Template. It will be present in every Routing Rule created from the Template.
See Responsible Party.
A unique identifier representing a particular responsibility on a rule (or from a route module This identifier stays the same for a particular responsibility no matter how many times a rule is modified.
The Reviewer defined on a routing rule that receives requests when the rule is successfully executed. Each routing rule has one or more responsible parties defined.
A user acting on a document in his/her Action List and who has received an Action Request for the document.
An abbreviation for Kuali Rice.
Roles aggregate Permissions When Roles are given to Entities (via their relationship with Principals) or Groups an authorization for all associated Permissions is granted.
Another name for the Document Id.
Displays information about the routing of a document. The Route Log is usually accessed from either the Action List or a Document Search. It displays general document information about the document and a detailed list of Actions Taken and pending Action Requests for the document. The Route Log can be considered an audit trail for a document.
A routing component that the engine uses to generate action requests at a particular Route Node. FlexRM (Flexible Route Module) is a general Route Module that is rule-based. Clients can define their own Route Modules that can conduct specialized Routing based on routing tables or any other desired implementation.
Represents a step in the routing process of a document type. Route node "instances" are created dynamically as a document goes through its routing process and can be defined to perform any function. The most common functions are to generate Action Requests or to split or join the route path.
Simple: do some arbitrary work
Requests: generate action requests using a Route Module or the Rules engine
Split: split the route path into one or more parallel branches
Join: join one or more branches back together
Sub Process: execute another route path inline
Dynamic: generate a dynamic route path
The path a document follows during the routing process. Consists of a set of route nodes and branches. The route path is defined as part of the document type definition.
The status of a document in the course of its routing:
Approved: These documents have been approved by all required reviewers and are waiting additional postprocessing.
Cancelled: These documents have been stopped. The document’s initiator can ‘Cancel’ it before routing begins or a reviewer of the document can cancel it after routing begins. When a document is cancelled, routing stops; it is not sent to another Action List.
Disapproved: These documents have been disapproved by at least one reviewer. Routing has stopped for these documents.
Enroute: Routing is in progress on these documents and an action request is waiting for someone to take action.
Exception: A routing exception has occurred on this document. Someone from the Exception Workgroup for this Document Type must take action on this document, and it has been sent to the Action List of this workgroup.
Final: All required approvals and all acknowledgements have been received on these documents. No changes are allowed to a document that is in Final status.
Initiated: A user or a process has created this document, but it has not yet been routed to anyone’s Action List.
Processed: These documents have been approved by all required users, and is completed on them. They may be waiting for Acknowledgements. No further action is needed on these documents.
Saved: These documents have been saved for later work. An author (initiator) can save a document before routing begins or a reviewer can save a document before he or she takes action on it. When someone saves a document, the document goes on that person’s Action List.
The user who submits the document into routing. This is often the same as the Initiator. However, for some types of documents they may be different.
The process of moving a document through its route path as defined in its Document Type. Routing is executed and administered by the workflow engine. This process will typically include generating Action Requests and processing actions from the users who receive those requests. In addition, the Routing process includes callbacks to the Post Processor when there are changes in document state.
A number that indicates the routing priority; a smaller number has a higher routing priority. Routing priority is used to determine the order that requests are activated on a route node with sequential activation type.
A record that contains the data for the Rule Attributes specified in a Rule Template It is an instance of a Rule Template populated to determine the appropriate Routing. The Rule includes the Base Attributes, Required Extension Attributes, Responsible Party Attributes, and any Optional Extension Attributes that are declared in the Rule Template. Rules are evaluated at certain points in the routing process and, when they fire, can generate Action Requests to the responsible parties that are defined on them.
Technical considerations for a Routing Rules are:
Configured via a GUI (or imported from XML)
Created against a Rule Template and a Document Type
The Rule Template and it’s list of Rule Attributes define what fields will be collected in the Rule GUI
Rules define the users, groups and/or roles who should receive action requests
Available Action Request Types that Rules can route
Complete
Approve
Acknowledge
FYI
During routing, Rule Evaluation Sets are “selected” at each node. Default is to select by Document Type and Rule Template defined on the Route Node
Rules match (or ‘fire’) based on the evaluation of data on the document and data contained on the individual rule
Examples
If dollar amount is greater than $10,000 then send an Approval request to Joe.
If department is “HR” request an Acknowledgment from the HR.Acknowledgers workgroup.
Rule attributes are a core KEW data element contained in a document that controls its Routing. It participates in routing as part of a Rule Template and is responsible for defining custom fields that can be rendered on a routing rule. It also defines the logic for how rules that contain the attribute data are evaluated.
Technical considerations for a Rule Attribute are:
They might be backed by a Java class to provide lookups and validations of appropriate values.
Define how a Routing Rule evaluates document data to determine whether or not the rule data matches the document data.
Define what data is collected on a rule.
An attribute typically corresponds to one piece of data on a document (i.e dollar amount, department, organization, account, etc.).
Can be written in Java or defined using XML (with matching done by XPath).
Can have multiple GUI fields defined in a single attribute.
A list of document groups with their document hierarchies and actions that can be selected. For specific document types, you can create the rule delegate.
A Rule Template serves as a pattern or design for the routing rules. All of the Rule Attributes that include both Required and _Optional_ are contained in the Rule Template; it defines the structure of the routing rule of FlexRM. The Rule Template is also used to associate certain Route Nodes on a document type to routing rules.
Technical considerations for a Rule Templates are:
They are a composition of Rule Attributes
Adding a ‘Role’ attribute to a template allows for the use of the Role on any rules created against the template
When rule attributes are used for matching on rules, each attribute is associated with the other attributes on the template using an implicit ‘and’ logic attributes
Can be used to define various other aspects to be used by the rule creation GUI such as rule data defaults (effective dates, ignore previous, available request types, etc)
A workflow action button that allows the Initiator of a document to save their work and close the document. The document may be retrieved from the initiator's Action List for completion and routing at a later time.
A routing status indicating the document has been started but not yet completed or routed. The Save action allows the initiator of a document to save their work and close the document. The document may be retrieved from the initiator's action list for completion and routing at a later time.
Attributes that can be defined to index certain pieces of data on a document so that it can be searched from the Document Search screen.
Technical considerations for a Searchable Attributes are:
They are responsible for extracting and indexing document data for searching
They allow for custom fields to be added to Document Search for documents of a particular type
They are configured as an attribute of a Document Type
They can be written in Java or defined in XML by using Xpath to facilitate matching
The Secondary Delegate acts as a temporary backup Delegator who acts with the same authority as the primary Approver/the Delegator when the Delegator is not available. Documents appear in the Action Lists of both the Delegator and the Delegate. When either acts on the document, it disappears from both Action Lists.
Secondary Delegation is often configured for a range of dates and it must be registered in KEW or KIM to be in effect.
Displays a read-only view of all of the services that are exposed on the Service Bus and includes information about them (for example, IP Address, or Endpoint URL).
A type of node that can perform any function desired by the implementer. An example implementation of a simple node is the node that generates Action Requests from route modules.
An acronym for Service Oriented Architecture.
This is a generic term for additional route levels that might be triggered by various attributes of a transaction. They can be based on the type of document, attributes of the accounts being used, or other attributes of the transaction. They often represent special administrative approvals that may be required.
A node in the routing path that can split the route path into multiple branches.
The Spring Framework is an open source application framework for the Java platform.
Defines U.S. Postal Service codes used to identify states.
On an Action List; also known as Route Status. The current location of the document in its routing path.
A workflow action button used by the initiator of a document to begin workflow routing for that transaction. It moves the document (through workflow) to the next level of approval. Once a document is submitted, it remains in 'ENROUTE' status until all approvals have taken place.
A user who has been given special permission to perform Superuser Approvals and other Superuser actions on documents of a certain Document Type.
Authority given Superusers to approve a document of a chosen Route Node. A Superuser Approval action bypasses approvals that would otherwise be required in the Routing. It is available in Superuser Document Search. In most cases, reviewers who are skipped are not sent Acknowledge Action Requests.
A special mode of Document Search that allows Superusers to access documents in a special Superuser mode and perform administrative functions on those documents. Access to these documents is governed by the user's membership in the Superuser Workgroup as defined on a particular Document Type.
A technique that improves overall system performance by creating a pool of threads to execute multiple tasks at the same time. A task can execute immediately if a thread in the pool is available or else the task waits for a thread to become available from the pool before executing.
A short summary of the notification message. This field can be filled out as part of the Simple Message or Event Message form. In addition, this can be set by the programmatic interfaces when sending notifications from a client system.
This field is equivalent to the "Subject" field in an email.
A type of client that connects to a standalone KEW server using Web Services.
A character that may be substituted for any of a defined subset of all possible characters.
Electronic document routing, approval and tracking. Also known as Workflow Services or Kuali Enterprise Workflow (KEW). The Kuali infrastructure service that electronically routes an e-doc to its approvers in a prescribed sequence, according to established business rules based on the e-doc content. See also Kuali Enterprise Workflow.
The component of KEW that handles initiating and executing the route path of a document.
A web interface that provides quick navigation to various functions in KEW. These include:
Quick EDoc Watch: The last five Actions taken by this user. The user can select and repeat these actions.
Quick EDoc Search: The last five EDocs searched for by this user. The user can select one and repeat that search.
Quick Action List: The last five document types the user took action with. The user can select one and repeat that action.
See also XML Ingester.
An acronym for Extensible Markup Language.
Used for data import/export.
A workflow function that allows you to browse for and upload XML data.
Similar in functionality to a RuleAttribute but built using XML only