Troubleshooting 4

wbem.indications.keyStorePassword=SSLindication

2.Modify the CLASSPATH environment variable to reference this file. The CLASSPATH should contain only the path to the directory where the file is present and not the path to the file itself. For example, if the WbemClient.properties file is located at C:\SMIAgent\agent, then the CLASSPATH environment variable should be:

C:\SMIAgent\agent

Configuring a client for default SSL indications using system property values

Pass the required system properties as jvm parameters on the command line, using the -D option as follows.

java -classpath <SMIAgent>/agent/wbem.jar

-Dwbem.indications.keyStore=<SMIAgent>/agent/client/.client.ind.keystore -Dwbem.indications.keyStorePassword=SSLindication

clientprogram

Do not pass the truststore information in the command line.

Configuring a client for default SSL indications using client listener program

Set the required system properties within the client listener program. For example:

public class clientlistener {

private static final String KS = "indication.keyStore";

private static final String KSPWD = "indications.keyStorePassword"; System.setProperty(clientlistener.KS) = "<SMIAgent>/agent/client/.client.ind.keystore"; System.setProperty(clientlistener.KSPWD) = "SSLindication";

}

Do not include the truststore information in the client listener program.

Troubleshooting

If the keystore and truststore information is not set up correctly, the following errors are expected on the client side, depending on the WBEM client configuration:

If the WBM client is configured with no keystore or truststore information, the following error is issued on the client side:

XMLERROR:

enumerateInstances,java.net.ConnectException: java.net.SocketException -

Software caused connection abort: recv failed

at javax.wbem.client.adapter.http.CIMClientXML.enumerateInstances(Unknown Source)

at javax.wbem.client.CIMClient.enumerateInstances(Unknown Source) at javax.wbem.client.CIMClient.enumerateInstances(Unknown Source)

Brocade SMI Agent User’s Guide

51

53-1001778-01

 

Page 67
Image 67
Brocade Communications Systems 53-1001778-01 manual Troubleshooting, Xmlerror