Recompiling the RMI Stub Files
The Remote Method Invocation (RMI) files shipped with MAXIMO® are often incomplete and thus can cause problems performing certain functions through DataSplice. Fortunately, these can be easily recompiled using a script provided by the plug-in installer.
From the C:\Program Files\DataSplice3\MaximoData\DotNetProxy directory, copy the UpdateRMIStubs-[ver].bat file, where [ver] represents the version of MAXIMO® in use. Paste the file directly into the root MAXIMO® directory (default is C:\MAXIMO). Open the file with a text editor to examine its contents:
set MAXIMO_PATH="C:\Maximo"
echo psdi.app.appsetup.AppFieldDefaultsSet rmic -classpath %MAXIMO_PATH% -d . psdi.app.appsetup.AppFieldDefaultsSet echo psdi.app.appsetup.AppFieldDefaults rmic -classpath %MAXIMO_PATH% -d . psdi.app.appsetup.AppFieldDefaults ...
Modify the MAXIMO_PATH variable if needed, and run the script. This may take quite awhile, because the stub files for hundreds of classes need to be recompiled. Allow the script to run to completion. If any errors occur, verify that the rmic executable is in the current path, and re-run the script.
Last modified 2006-04-03 04:07 PM