Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to access a mapped network drive for a service[Java application]

807603Feb 18 2008 — edited Feb 18 2008
Hi,

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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 17 2008
Added on Feb 18 2008
1 comment
1,632 views