I am running a jar file that access a COM interface using a batch file. When I run the jar directly using the batch file it works fine. But when I use NSSM to setup a service using that batch file, I cannot call functions on that COM interface. The jar still loads when I start the service and does other stuff, including loading the DLL that's calling the COM interface. However when the actual COM calls are made then the jar freezes. Any idea why? Could it be a permissions issue? The service was created under Admin account, and it is running under the same account as well.
Thanks!