|
From: Earnie D. <ed...@vr...> - 2004-04-12 13:59:12
|
Yes, the URI format can be a little challenging. Glad it worked for you!!!
Earnie!
-----Original Message-----
From: Leif Mortenson [mailto:le...@ta...]
Sent: Monday, April 12, 2004 12:34 AM
To: wra...@li...
Subject: Re: [Wrapper-user] Question about W2k and network drives
Earnie,
Thank you!! You were correct. If I reference the drive using UNC format
then windows seems to locate the drive correctly. I'll put that one into the
FAQ as well.
On thing that took me a little while however was figuring out the URI
syntax.
A local or mapped network drive looks like this:
new URI("file://H/DATA");
The correct UNC format turned out to look like this:
new URI("file:////123.123.123.123/Drive/DATA");
Thanks for you help on this.
Cheers,
Leif
Earnie Dyke wrote:
>Have you tried refering to the "drive" as a URI rather than a dos drive?
>
>Earnie!
>
>-----Original Message-----
>From: Leif Mortenson [mailto:le...@ta...]
>Sent: Thursday, April 08, 2004 8:56 AM
>To: Wrapper User List
>Subject: [Wrapper-user] Question about W2k and network drives
>
>
>I am using the Wrapper at one of my customer sites and have run into a
>problem when the system is rebooted.
>
>The Java application makes use of resources stored on a network drive
>mapped to drive K: To accomplish this, a user account was created which
>has the drive mapped and configured to reestablish the mapping
>automatically.
>
>If I reboot the machine and log in as that user, the drive is mapped
>correctly without having to enter any passwords or anything.
>
>The problem is that if I install a service using that user and then reboot
>the machine, the application fails on startup because drive K is not found.
>Even if I place a long delay in the startup, the drive will never be mapped.
>
>If I logon to the machine, as another user which does not have the drive
>mapped and request that the service be restarted, it will still fail to map
>the drive.
>
>If however, I logon as a user which has that drive mapped, even if it is a
>different user, and then restart the service, everything will work
>correctly.
>
>For some reason, this machine is not actually mapping its network drives
>unless an actual user logs into the system and connects to the drive.
>Obviously this is not very good for automatic recovery...
>
>Anyone have any ideas what would be causing this? It is a windows 2000
>pro system.
>
>Thanks,
>Leif
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by: IBM Linux Tutorials
>Free Linux tutorial presented by Daniel Robbins, President and CEO of
>GenToo technologies. Learn everything from fundamentals to system
>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
>_______________________________________________
>Wrapper-user mailing list
>Wra...@li...
>https://lists.sourceforge.net/lists/listinfo/wrapper-user
>
>****************************************************************************
>NOTICE: This email (including any attachments) may include confidential
>information. It is intended solely for the individuals or entities to which
>it is addressed. If you have received this email in error, distribution or
>use of it is prohibited. Please notify the sender and permanently delete it
>from your email system. Also, given the nature of electronic mail and its
>potential to carry computer viruses, the Virginia Retirement System and the
>sender in no way warrant a virus free transmission. You and your
>organization should use appropriate means to check this email and any
>attachments for potential viruses and to prevent their execution.
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by: IBM Linux Tutorials
>Free Linux tutorial presented by Daniel Robbins, President and CEO of
>GenToo technologies. Learn everything from fundamentals to system
>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
>_______________________________________________
>Wrapper-user mailing list
>Wra...@li...
>https://lists.sourceforge.net/lists/listinfo/wrapper-user
>
>
>
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Wrapper-user mailing list
Wra...@li...
https://lists.sourceforge.net/lists/listinfo/wrapper-user
|