You attempt to change the CEI distribution mode of a newly installed or previous version of a monitor model and specify new credentials. As a result, authentication with the remote cell or server fails and results in a failure of the CEI distribution mode change. This situation occurs if the following conditions are met:
Multiple versions of a monitor model are installed.
The CEI target is remote.
The CEI distribution mode of at least one version is not Inactive.
The credentials (user name and/or password) for the administrative user on the cell or server hosting the remote CEI instance have changed since the last version of the model was installed.
The error messages that are displayed in the administrative console vary based on the scenario:
If you change the CEI distribution mode for a new monitor model version in the Select Monitor model CEI options panel during its installation, messages similar to the following text are displayed. These messages are visible when you click Error displayed in the Deployment column within the Monitor Models panel after the installation is complete.
000009d1 LTPAServerObj E SECJ0369E: Authentication failed when using LTPA. The exception is <null>.
000009d1 ServletWrappe E SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: action. Exception thrown : java.lang.NullPointerException
If you change the CEI distribution mode for an existing monitor model version (in the Change CEI Configuration panel), messages similar to the following text are displayed:
0000002a LTPAServerObj E SECJ0369E: Authentication failed when using LTPA. The exception is <null>.
0000002a LifecycleServ E com.ibm.wbimonitor.lifecycle.LifecycleServices listTargetStates( String, long ) CWMLC0107E: Model [ClaimProcessingTracker] version [2011-05-05T12:00:00] integration invalid. Cause: [com.ibm.wbimonitor.observationmgr.spi.MMManagementException: com.ibm.websphere.management.exception.ConnectorException: ADMC0017E: Could not create an RMI connector to connect to host 126.96.36.199 at port 9810].
The administrative console allows you to change the CEI configuration information on the Select Monitor model CEI options panel when a new model version is being installed. However, IBM Business Monitor and WebSphere Business Monitor ignores that information unless all previous versions of the model have a CEI distribution mode of Inactive. In the administrative console model install wizard, after you click Finish but before you click Save, you will see a warning message that is similar to the following text:
CWMLC0257W: Model [ClaimProcessingTracker] CEI server configuration ignored.
In conjunction, a message similar to the following text exists in the SystemOut.log file for the deployment manager (or stand-alone) profile:
LifecycleServ E com.ibm.wbimonitor.lifecycle.LifecycleServices applyCEIConfig( LifecycleCEIConfigBean ) CWMLC0112E: Model [ClaimProcessingTracker] version [*] step [applyCEIConfig] not allowed. Reason: [isActive=true].
Note that these messages do not indicate that the installation of the model is blocked; they simply mean that the existing CEI configuration for the model will be used instead of the new information that is provided in the wizard.
To resolve the problem, if any version of the model has a CEI distribution mode other than Inactive, the only way to change the CEI user ID or password (for all versions of the model) is to use the applyCEICredentials() method of the LifecycleServices MBean.
The following code is a sample Jython script that illustrates the use of this method:
from com.ibm.wbimonitor.lifecycle.spi.beans import LifecycleCEIConfigBean
from com.ibm.wbimonitor.lifecycle.spi.mbeans import LifecycleServicesMBeanFactory
# *** Change these values ***
modelID = 'ClaimProcessingTracker'
newCEIUserID = 'myUserID'
newCEIPassword = 'myPassword'
# get the MBean which will do the work
ls_mbean = LifecycleServicesMBeanFactory.getMBean( AdminControl.getAdminClient() )
# create a LifecycleCEIConfigBean that will contain the userid and password
ceiConfig2 = LifecycleCEIConfigBean(modelID)
# set the userid and password
ls_mbean.applyCEICredentials( ceiConfig2 )
# read the userid and password after the change
ceiConfig3 = ls_mbean.readCEIConfig( modelID )
if ceiConfig3 == None:
print 'no CEI config'
Note the following information concerning the script:
The modelID, newCEIUserID, and newCEIPassword variables near the beginning of the script need to be modified to the desired values.
Setting the CEI user name or password to an empty string ("") using the script will effectively "disable" security in the CEI configuration; security is only considered "enabled" if there is a non-empty value for both user name and password. If either value is empty, credentials are not submitted by Monitor when the RMI connection to CEI is established.
The script should be executed from the "bin" directory of the appropriate profile. In a stand-alone environment, this directory is the Monitor server profile. In a network deployment environment, this directory is the deployment manager profile for the cell hosting Monitor. Use the appropriate command for your version of Monitor:
For IBM Business Monitor V8.0.x and 7.5.x and WebSphere Business Monitor V7.0.x:
wsadmin -wsadmin_classpath "../../../plugins/com.ibm.wbimonitor.lifecycle.spi.jar" -lang jython -f updateCEICredentials.jy,/span>
For WebSphere Business Monitor V6.2.x:
wsadmin -wsadmin_classpath "../../../plugins/com.ibm.wbimonitor.lifecycle.spi_6.2.0.jar" -lang jython -f updateCEICredentials.jy
For WebSphere Business Monitor V6.1.x:
wsadmin -wsadmin_classpath "../../../plugins/com.ibm.wbimonitor.lifecycle.spi_6.1.0.jar" -lang jython -f updateCEICredentials.jy
Sucess Failure Street Sign Shield (modified) credit: (cc) Some rights reserved by geralt