Real Time Information Director User Documentation
RTID Extensibility
Hewlett-Packard Company 17 529618 - 001
3. Use the –schema option of the Management Client to reload the schema for any
tables whose schemas had to change. Use spaces to separate the table names.
Changes like adding or dropping a partition or an index don’t change the table
definition and therefore don’t require a schema reload. The following example
reloads the schema for two tables, SALES_ORDER and SERIAL_NUMBER.
java MBeanClient –url <ipaddress:port> -server <servername> -user <username>
-password <password> –schema SALES_ORDER SERIAL_NUMBER
The Director writes a message to the log, confirming that the schema for the table
was reloaded.
4. Reload the document definition (or definitions) affected by the change. If your
solution uses IDocs, reload only the base document definitions; the related alias
and variant document definitions will reload automatically. The following
example reloads the Orders05 document definition:
java MBeanClient –url <ipaddress:port> -server <servername> -user <username>
-password <password> –load com.hp.rtsc.documents.Orders05
5. Change the processing mode to OPEN each source system you deferred in step 1.
6. Replay the deferred documents in batch mode.
Compiling Metadata
You can modify metadata on a workstation, using a Java IDE or even Notepad. You can
use the Java IDE to compile the metadata. Alternatively, you can use a command-line
compiler as shown below:
1. Open a DOS window
2. Change directory to the RTID install directory, for example c:\rtid
3. Set up the environment by running the c:\rtid\setenv.bat file.
4. Compile the metadata source files. For example, to compile the class
Orders05.java, which is in com\hp\rtsc\documents, you would run the following
commands:
cd rtsc
javac com\hp\rtsc\documents\Orders05.java