Results 1 to 2 of 2

Thread: Shared folder not accessible when running tomcat as a service

  1. #1
    Join Date
    Aug 2012
    Posts
    3

    Default Shared folder not accessible when running tomcat as a service

    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?

  2. #2
    Join Date
    Oct 2008
    Location
    Melbourne, Florida
    Posts
    83

    Default

    When you run as a service, it is running as the system user. That mapped drive is most likely specific to the user you are logged in as. So the System user will not see the mapped drive.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •