Thanks for taking the time to reply back. I feel that this is likely going to be a very simple issue which I am missing because of my ignorance of Windows Services and JNA. Hopefully it ends up being something very simple to fix which is just escaping me at the moment.
To give some more detail, I am able to run my java program successfully using the following command lines
CD \LMPOutputManager\bin
"D:\Program Files (x86)\Java\jre7\bin\java.exe" -Djava.library.path=D:\LMPOutputManager\lib;D:\oracle\product\11.2.0.3\cli_2\bin -Xms256m -Xmx1024m -cp .;./RPOutputManager.jar;./LMPOutputManager.jar;./ojdbc6.jar;./registry.jar;./sapjco.jar;./jna-4.1.0.jar;./jna-platform-4.1.0.jar lmp.remoteprinting.LMPPrintingOutputManager
------------------------------------------------------------------------------------------------------------------------------------------------
When I've installed the program as a service using srvany, I've added the following service parameters
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LMPPrintingOutputMgr\Parameters]
"Application"="D:\\Program Files (x86)\\Java\\jre7\\bin\\java.exe"
"AppParameters"="-Djava.library.path=d:\\LMPOutputManager\\lib;d:\\oracle\\product\\11.2.0.3\\cli_2\\bin;c:\\Windows\\system32 -Xms256m -Xmx1024m -cp .;./RPOutputManager.jar;./LMPOutputManager.jar;./ojdbc6.jar;./registry.jar;./sapjco.jar;./jna-4.1.0.jar;./jna-platform-4.1.0.jar lmp.remoteprinting.LMPPrintingOutputManager"
"AppDirectory"="D:\\LMPOutputManager\\bin"
------------------------------------------------------------------------------------------------------------------------------------------------
The java program runs just fine when running from a command prompt but it doesn't seem to even start as a service. I feel that I am missing some dependency that the windows environment is giving me when running in a command prompt but is not available when running as a service.
I've tried running the service as both the local system account and my own account and it doesn't run under either. I've tried starting the service using the windbg utility and get the following screenshot (see attachment) but it doesn't seem to let me attach completely to the process.
As a test, I took another service that I have running using srvany which is also a java process which does not use JNA and just modified its classpath to add the JNA jar files and just doing that seems to stop that service from running as well.
I am sure that I am missing something fairly simple.