I have recently deployed my java spring boot app to the Azure app services. Everything is ok until I try to instantiate service class from the third party DLL rolled up in the spring boot up with jni4net (this works perfectly when deployed to standard win server).
Bridge.LoadAndRegisterAssemblyFrom - works ok
in the moment I try to create new instance of some object from DLL library I get:
org.springframework.beans.BeanInstantiationException: Failed to instantiate [xxx.Calculation]: Factory method 'XXXInitializator' threw exception; nested exception is System.ComponentModel.Win32Exception (0x80004005): Access is denied
Obviously some kind of permission issue. Any idea?