I am running tomcat as a service. I have deployed webservice for my application. The web service implementation needs to access shared folder on remote PC. Using NetUse I have already mapped the network drive for the shared folder. I am able to open that shared folder using the network drive on windows explorer.when running tomcat as a service my webservice is not able to access the shared folder. However if I don't run tomcat as a service and run it from batch file it is able to access the same shared folder.Is there specific settings to be done for tomcat when it is executed as a service?