[daemon] Problems with commons-daemon, The data area passed to a system call is too small.

2012-10-01 Thread Jehova Witness
I am using Commons Daemon procrun (1.0.10.0 32-bit) on Windows 7 64bit (need to deliver a solution to customers that will work with 32bit and 64bit). Here is my install.bat file ( Server.exe was formerly named prunsrv.exe ) .\Server.exe //IS//MyServiceName ^ --Install=Server.exe ^ --Startu

Re: [daemon] Problems with commons-daemon, The data area passed to a system call is too small.

2012-10-03 Thread Spico Florin
Hi! I have two hints for your issues: 1. For 64 bit try to install the service with the prunsrv located in amd64 folder 2. Try to replace all "\" char with the "/" 3. Try to use the jdk 64 bit version and the jvm.dll located in %JAVA_HOME% the jre/bin/server/jvm.dll 4. Try do not mix 64 bit procr

Re: [daemon] Problems with commons-daemon, The data area passed to a system call is too small.

2012-10-05 Thread Mladen Turk
On 10/01/2012 10:03 PM, Jehova Witness wrote: --Install=Server.exe ^ This must be absolute path --Startup=auto ^ --DisplayName="MyServer" ^ --Description="MyServer" ^ --StartMode=jvm ^ --Classpath="C:\Program Files\prod\Server-3.1.0-distribution.jar;C:\Program Files\p