Jun 30, 2016 4:42:22 PMjava.util.prefs.FileSystemPreferences$7 run
WARNING: Prefs file removed in background/export/home/username/.java/.userPrefs/com/ibm/crypto/pkcs11impl/provider/prefs.xml
Plug-in com.ibm.istools.cli.commands was unable to loadclass com.ibm.istools.cli.commands.CommandSets.Import.
internal error: can't find command set: import
Information Server istool command fails for a user with 'cannot find command set: import' error
Problem(Abstract)
Information Server istool command fails for a user with the following errors:
'unable to load class com.ibm.istools.cli.commands.CommandSets.Import.internal error: can't find command set: import ' or
'org.osgi.framework.BundleException: The bundle could not be resolved'
but runs for dsadmin user.
Symptom
The simple istool command will complete successfully for some users, but not for others
Cause
InfoSphere Information Server istool is an Eclipse-based application.
When an application is run, Eclipse caches runtime configuration in the configuration area. In a shared installation, which is used for istool, each user has its own configuration folder, which defaults to $HOME/.eclipse directory.
Diagnosing the problem
Check the Eclipse configuration folder for the .fileTableLock (0 size) file. The example path: /opt/IBM/InformationServer/Clients/istools/cli/configuration/org.eclipse.osgi
Resolving the problem
Clear the cached runtime configuration by cleaning up the Eclipse configuration folder. The runtime configuration will be recalculated the next time the istool is run from /opt/IBM/InformationServer/Clients/istools/cli/configuration/config.ini.
To clean up:
1. Go to the folder .../IBM/InformationServer/Clients/istools/cli/configuration
2. Do not delete the file config.ini, but delete everything else in the folder.
3. If the private user has the user configuration area in his home directory:
/home/userid/.eclipse/com.ibm.istools.cli.istoolCli_1.0.0_nn/configuration, clean up the user configuration area by going to the folder. Delete everything in the folder, but the file config.ini.
Note: The default location for a private user configuration area is:<user-home-dir>/.eclipse/<product-id>_<product-version>/configuration. The user home dir is determined by the user.home Java system property. The product id and version are obtained from the product marker file .eclipseproduct under the Eclipse install.