- I used Kafka producer node to send message to a kafka topic secured with TLS mutual authentication.
-Policy for kafka created with details:
Bootstrap server
Security protocol- SSL TLSv1.2
keystore location and password
truststore location and password
Hostname checking =set to false
-Used this policy in the kafka producer node
-Properties set on Integration server:
mqsichangeproperties node -e test_01 -o ComIbmJVMManager -n keystoreFile -v /data/KeyStore/user.p12
mqsichangeproperties node -e test_01 -o ComIbmJVMManager -n keystoreType -v PKCS12
mqsichangeproperties node -e test_01 -o ComIbmJVMManager -n keystorePass -v test_01Keystore:password
mqsichangeproperties node -e test_01 -o ComIbmJVMManager -n truststoreFile -v /data/TrustStore/truststore.p12
mqsichangeproperties node -e test_01 -o ComIbmJVMManager -n truststoreType -v PKCS12
mqsichangeproperties node -e test_01 -o ComIbmJVMManager -n truststorePass -v test_01Truststore:password
mqsisetdbparms node -n test_01Keystore:password -u ignore -p abcdef
mqsisetdbparms node -n test_01Truststore:password -u ignore -p abcdef
Error is while deploying the flow to Integration server:
Unexpected java exception thrown from the Connector method ''JavaOutputConnector::initialize''.
The Connector threw an unexpected type of exception. See previous errors for the detail of the java exception thrown.
The Connector provider is throwing a type of exception that can not be handled by integration node. Contact the supplier of the Connector.
Java exception: ''java.lang.NullPointerException''; thrown from class name: ''java.lang.String'', method name: ''valueOf'', file: ''String.java'', line: '3322'
The message contains that data associated with a Java exception.
No user action required.
------------------------------
Amrita Singh
------------------------------
Original Message:
Sent: Tue May 12, 2020 02:08 AM
From: Pierre Richelle
Subject: Deploying kafka node in ACE V11.0.0.7/8 , null pointer exception error.
Hello,
can you provide more information on what you exactly did?
- What message flow did you implement ?
- What properties (SecurityProtocol, SSL protocol, ...) did you set on the node ?
- What security did you set on the integration server (mqsisetdbparms) ?
- Can you share the whole errors ?
------------------------------
Pierre Richelle
IBM Hybrid Cloud Integration Specialists
IBM
bruxelles
0474681892
Original Message:
Sent: Thu May 07, 2020 05:13 AM
From: Amrita Singh
Subject: Deploying kafka node in ACE V11.0.0.7/8 , null pointer exception error.
Hi,
Deploying the Kafka node message flows using ssl tlsv1.2(truststore, keystore), setting the properties at EG level. Kafka policy with all the details.
Error:
BIP4395E
Java exception: 'java.lang.NullPointerException'; thrown from class name: 'java.lang.String', method name: 'valueOf', file: 'String.java', line: '3322'
Any suggestions please?
------------------------------
Amrita Singh
------------------------------