How to access a mapped network drive for a service[Java application]
807603Feb 18 2008 — edited Feb 18 2008Hi,
I want to use a mapped network drive in a java application. But the application is not able to access the Mapped Network drive when i run it as a service. However it won't create any problem when i start the application thro' command prompt,
Scenario 1:
1. Create the mapped Network drive for the remote machine and configure the same[File location] in my Java application.
2. Starting my Java application thro' command prompt and found it's working.
Scenario 2:
1. Create the mapped Network drive for the remote machine and configure the same[File location] in my Java application.
2. Start the Java application as Windows Service using Java wrapper and found it's unable to access the mapped Network drive.
Kindly guide me to solve my above problem. ie., How to access a mapped network drive for a service[Java application]. Any help (or) guidance on this would be highly appreciated.
Thanks & Regards,
Saravanan.H