Hi all,
i have Java programm that copies, archives files from 1 directory to another. This can all be configured in a properties file. When i start this programm from the command line or from the Windows Service window, all works fine when i use only locally drives and directories.
When i use directories on a shared folder (the shared folder is locally or on a remote PC) then my programm still works fine when started from the commandline. But when i start my programm as a service, the programm cant read/write on the shared folders.
Even when i start the service with my own local account, it still fails.
I am using Java 1.4 on a Windows XP PC. I have used the JavaService.exe from internet to install my Java programm as Windows service.
Does someone has an idea what is causing the problem and what the solution might be?
Thanks in advange.
Regards,
Madere.
i have Java programm that copies, archives files from 1 directory to another. This can all be configured in a properties file. When i start this programm from the command line or from the Windows Service window, all works fine when i use only locally drives and directories.
When i use directories on a shared folder (the shared folder is locally or on a remote PC) then my programm still works fine when started from the commandline. But when i start my programm as a service, the programm cant read/write on the shared folders.
Even when i start the service with my own local account, it still fails.
I am using Java 1.4 on a Windows XP PC. I have used the JavaService.exe from internet to install my Java programm as Windows service.
Does someone has an idea what is causing the problem and what the solution might be?
Thanks in advange.
Regards,
Madere.