Recompiling the RMI Stub Files
The RMI (Remote Method Invocation) 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.
Copy the file UpdateRMIStubs-[ ver ].bat, where [ ver ] represents the version of Maximo, from the DotNetProxy folder into the root Maximo directory (default is C:\MAXIMO). Open the file with a text editor and you should see:
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 it needs to recompile the stub files for hundreds of classes. 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 2005-08-23 10:02 AM