Pull files from Azure blob container using EnsLib.CloudStorage.InboundAdapter
Hi,
I am trying to use the newly introduced adapter
The ultimate goal would be- more than one services running to pull the files from a blob container and process them further. I am not sure if there would be any concurrency issue on that. So working on a poc to pull the data from server and test it out.
For this I have created a service class which extends Ens.BusinessService and used Adapter class EnsLib.CloudStorage.InboundAdapter and upon providing the details I get error :
ERROR #8104: Gateway Exception: <GATEWAY> java.util.NoSuchElementException com.microsoft.azure.storage.core.LazySegmentedIterator.hasNext(LazySegmentedIterator.java:113) An error occurred while enumerating the result, check the original exception for details.
The error message says to check original exception for details, but I do not know where to check ?
I do not find documentation other than https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls....
Try enabling the log in the Java Gateway. In Management Portal:
System Administration > Configuration > Connectivity > External Language Servers > Edit External Language Server
Edit the "%Java Server" (you may need to stop it, if started) and in Advanced Settings specify a Log File.
Then reproduce the problem and check the log file.
The log file (in some case) can grow significantly, you may want to disable it when done.
Enrico
Thanks Enrico,
We were able to drill it and now able to successfully consume the messages from azure blob container.