|
From: Dejan P. <dp...@pt...> - 2007-06-05 19:04:51
|
Hi,
I write some service in Java. I mapped network disk with net use z: =
\\192.168.121.46\myresource test /user:test with all the privilegies, =
and I use the same user test(groups are: Administrators, Users, =
PowerUsers) to log on service.
When I start service using Wrapper 3.2.3 on Windows XP or Windows 2003 =
(enterprise edition) it works OK, but Java code:
boolean lbSucces =3D (new File("z:\testfile.txt")).exist();
returns false to lbSuccess.=20
When I start the same service on Windows 2000 it returns true.
The same code from command prompt application returns true in all ways.
Is it problem with security setings in Windows?
Thanks for any help!
Dejan.
|