Open falixchong opened 2 years ago
apparently it was cause by java run time version
java jdk version
openjdk version "1.8.0_282"
OpenJDK Runtime Environment (build 1.8.0_282-bre_2021_01_20_16_06-b00)
OpenJDK 64-Bit Server VM (build 25.282-b00, mixed mode)
I updated my java minor version from 1.8.0_282 to 1.8.0_312 and it works as intended.
Bug
Issue Summary
Trying out CP4I Event Stream starter application. Been getting
parseAlgParameters failed: ObjectIdentifier() -- data isn't an object ID (tag = 48)
error when running demo-all.jar with the generated properties from the starter application.Access event stream starter application via
Toolbox -> Starter Application -> Get Started
Environment
How To Reproduce This Issue
Download the JAR You'll need to go to GitHub and download the latest JAR for the starter application. https://github.com/ibm-messaging/kafka-java-vertx-starter/releases
Generate properties file, then download and unzip Download and unzip the file which will contain a properties file (containing credentials and configuration) and the certificates the application requires to connect to your chosen Event Streams topic.
Navigate to the JAR file downloaded from GitHub, and run it Run the following command replacing with the full filepath to the kafka.properties file and certificates downloaded in step 2
java -Dproperties_path=<path-to-properties> -jar demo-all.jar
Expected Behaviour
Application started in X ms
Relevant Logs