Question
· Dec 14, 2022

Pull files from Azure blob container using EnsLib.CloudStorage.InboundAdapter

Hi,

I am trying to use the newly introduced adapter  EnsLib.CloudStorage.InboundAdapter to pull files from azure blob container for the purpose of ECG scaling.

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....

Product version: IRIS 2022.1
$ZV: IRIS for Windows (x86-64) 2022.1.1 (Build 374U) Tue Oct 18 2022 17:37:34 EDT
Discussion (2)2
Log in or sign up to continue

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