|
From: Frank F. <fra...@di...> - 2004-10-17 09:48:45
|
Hi Leif Thanks a lot for your answer. I tried both ways, granting "all rights" to the System account for the = Java installation dir and creating a new account (with admin privilegdes) and running the Wrapper under this account. Both didn't worked, means the error stays the same.=20 One thing that surprised me a little bit (althought this doesn't mean = it's an error) is the "path to exe" in the "common" tab of the service properties. This looks like: "D:\JavaNTServiceWrapper\bin\wrapper.exe -s D:\JavaNTServiceWrapper\bin\..\conf\wrapper.conf" Could the "\..\" in the path be a problem? If so, where do i change it = (it's read-only field in the tab)? Greetings Frank > -----Urspr=FCngliche Nachricht----- > Von: wra...@li...=20 > [mailto:wra...@li...] Im Auftrag=20 > von Leif Mortenson > Gesendet: Sonntag, 17. Oktober 2004 02:20 > An: wra...@li... > Betreff: Re: [Wrapper-user] FATAL | wrapper | 2004/10/16=20 > 21:35:32 | Unable to execute Java command. Zugriff verweigert=20 > (0x5) [Access denied] >=20 > Frank, > When you run as a console application, the Wrapper and=20 > its JVM are=20 > run as the user you > are logged in as at the time. When run as a service=20 > however, they are=20 > both run as the > SYSTEM user by default. > My guess is that you have your JVM installed in a directory which=20 > the SYSTEM user does > not have access to. The SYSTEM user is able to launch the Wrapper=20 > process without any > problems, but it is having problems launching the JVM. This came up=20 > once before, so I will > add a more descriptive message to the logs for the next release. >=20 > The are two ways to resolve this. > 1) Add the SYSTEM user to the list of applications that have=20 > access to=20 > the JVM install > directory. This would work, but it may loosed up security=20 > more than you=20 > want. >=20 > 2) Run the Wrapper as a user whic has the required access. You can=20 > configure the > Wrapper to run as a specifc user using the=20 > wrapper.ntservice.account and=20 > ..password > properties. Whenever you change these values, you must uninstall and=20 > then reinstall > the app as a service or the service configuration will not be updated. > http://wrapper.tanukisoftware.org/doc/english/prop-ntservice-a > ccount.html >=20 > Let me know if you have problems getting it working. >=20 > Cheers, > Leif |