I'm trying to create an ActiveMQSslConnection. I have the truststore file (.jks) as part of a distributed jar. However, ActiveMQ is not able to read the file and throws FileNotFoundException. I verified the jar file and I do see the corresponding file, as in below structure.
I ran the program in debug mode and see that ActiveMQ not able to find the file in jar. I changed the file path to outside jar and can read the file. To be precise it is at this below location in org.apache.activemq.ActiveMQSslConnectionFactory