|
From: Suo A. <And...@sw...> - 2003-05-14 10:41:08
|
YES! Problem solved! I'm no expert at NT, users and domains but it seems my = problem was that the UNIX server (from which I mapped a directory) was = not part of the same domain as the user that run the service. Now we've = created a new user in the same domain (active directory) as the unix = server, and given that user the "log on as service" and "act as = operating system" privilegies. I still have no idea why it worked = earlier when running in debugger and console mode. For now, I don't = think I'll dig deeper into that, though. =20 Cheers, Anders =20 =20 -----Ursprungligt meddelande----- Fr=E5n: Ben Dolman [mailto:bd...@by...] Skickat: den 13 maj 2003 16:41 Till: wra...@li... =C4mne: RE: [Wrapper-user] Re: SV: Access network directories from NT = service! Anders, It does indeed seem that way. The problem is that I cannot figure out = what the problem is. Could you perhaps tell me exactly what steps you = took to make your shared network drive accessible to the java wrapper = service? I have tried mapping the shared directory to a drive on the = console, I have tried using AutoExNT to map the drive on startup, and I = have just tried connecting directly using UNC (//server/share). I have = tried multiple users, all with permission to log on as a service, and = all with permissions to access the shared drive. =20 Did you do anything differently? I appreciate your help. =20 Cheers, Ben =20 -----Original Message----- From: wra...@li... = [mailto:wra...@li...] On Behalf Of Suo = Anders Sent: Tuesday, May 13, 2003 5:22 AM To: wra...@li... Subject: SV: [Wrapper-user] Re: SV: Access network directories from NT = service! =20 Ben, I've successfully installed and run the service on my Win2K machine! = Wouldn't this indicate that somehow the priviligies of the user are not = correct, or that the user that runs the service in some way is not = treated equal as if run through e.g. console? =20 Regards, Anders -----Ursprungligt meddelande----- Fr=E5n: Ben Dolman [mailto:bd...@by...] Skickat: den 12 maj 2003 18:52 Till: wra...@li... =C4mne: [Wrapper-user] Re: SV: Access network directories from NT = service! I don't think it is just an NT problem, since I am having exactly the = same problem on a Win2k machine. I have verified, using procexp, that = the wrapper and the JVM processes are both running as the correct user. = I have tried accessing the network drive as both X:/ and //server/share, = but to no avail. When I log in to the console as the same user, I can = see the network drive, but for some reason my java program can't. =20 Thanks for the help, Ben Dolman =20 Leif Mortenson wrote: > Suo, > If the same settings are working on your Win2k box, that makes me > wonder if it is a problem with NT. I'm not sure if there are any = differences > in the way NT handles account privileges. > > Could you give the program that David posted a try and verify that = both > the Wrapper and JVM processes are both running as the intended user? > Most likely they are but it would be nice to confirm. =20 > Cheers, > Leif =20 |