|
From: Lars S. <Lar...@if...> - 2009-07-16 13:15:26
|
Hi
I am using the wrapper version 3.2.3 on Windows 7.
I installed it using the batch files without problems. I can start and
stop it without problems using Services. I need however to restart it
from a Java application, I tried Runtime.exec("net stop servicename")
from my application, but it does not work. When I try "net stop
servicename" from a Command Prompt I get the following error message:
System error 5 has occurred.
Access is denied
I read the post about getfacl, but getfacl does not seem to be part of
Windows 7. I assume that the problem also exists on Windows Vista, I
haven't had problems on my Windows XP. If there are other options to
restart the service than calling Runtime.exec("net stop servicename") I
would be happy to hear about them.
Lars
|