|
From: Frank F. <fra...@di...> - 2004-10-23 21:10:35
|
Hi Leif Thanks a lot for your reply. As you sure read in my email to Patrik - the conf file was the problem = and after i fixed it, i got the Wrapper running. Let me say, I think the Wrapper is a very cool piece of software, it = seems to be very well designed and also very well programmed. What i like most, besides a lot of usefull parameters that allow me to = make a very well fitting configuration, is the Intergration method III that = gives me very good control of the applicaton startup and shutdown management/tasks. We will go on using the Wrapper as a part of our application for the upcoming weeks and if it will still work that fine as it does at the = moment, we will of course send you a donation. Kind Regards, Frank > -----Urspr=FCngliche Nachricht----- > Von: wra...@li...=20 > [mailto:wra...@li...] Im Auftrag=20 > von Leif Mortenson > Gesendet: Mittwoch, 20. Oktober 2004 05:57 > An: wra...@li... > Betreff: Re: AW: [Wrapper-user] FATAL | wrapper | 2004/10/16=20 > 21:35:32 | Unable to execute Java command. Zugriff verweigert=20 > (0x5) [Access denied] >=20 > Frank, > I doubt very much that the "\..\" in the path is the cause of the=20 > problem. That is set in the > batch file used to install the Wrapper and has been used by=20 > all Wrapper=20 > users for a few years > now. > If you want you can play with the batch file to use a=20 > direct path,=20 > but I doubt that is the > problem. >=20 > I don't have any other specific ideas other than to keep looking=20 > along the lines of a security > issue with one or more of your directories. Try installing=20 > a JVM in a=20 > directory with full access > to all users and see how that works. I don't think so, but=20 > it may be=20 > possible that you are > running into problems loading one or more of the jars as=20 > well.. I would=20 > expect that failure to > come from the JVM as it was launching however. >=20 > Leif >=20 > Frank Fischer wrote: >=20 > >Hi Leif > > > >Thanks a lot for your answer. > >I tried both ways, granting "all rights" to the System=20 > account for the Java > >installation dir and creating a new account (with admin=20 > 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=20 > 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=20 > change it (it's > >read-only field in the tab)? > > > >Greetings > >Frank > > > > =20 > > > >>-----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] > >> > >>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=20 > 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. =20 > This came up=20 > >>once before, so I will > >>add a more descriptive message to the logs for the next release. > >> > >> 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. > >> > >>2) Run the Wrapper as a user whic has the required access. =20 > 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=20 > uninstall and=20 > >>then reinstall > >>the app as a service or the service configuration will not=20 > be updated. > >>http://wrapper.tanukisoftware.org/doc/english/prop-ntservice-a > >>ccount.html > >> > >>Let me know if you have problems getting it working. > >> > >>Cheers, > >>Leif > >> =20 > >> > > > > > > > > > >------------------------------------------------------- > >This SF.net email is sponsored by: IT Product Guide on=20 > ITManagersJournal > >Use IT products in your business? Tell us what you think of=20 > them. Give us > >Your Opinions, Get Free ThinkGeek Gift Certificates! Click=20 > to find out more > >http://productguide.itmanagersjournal.com/guidepromo.tmpl > >_______________________________________________ > >Wrapper-user mailing list > >Wra...@li... > >https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > > =20 > > >=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on=20 > ITManagersJournal > Use IT products in your business? Tell us what you think of=20 > them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to=20 > find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user >=20 >=20 |