> From: Jiang, Peiyun [mailto:[EMAIL PROTECTED] 
> I'm running Tomcat 5.0 on Windows 2000. I logon to Windows as 
> user1 and I have a mapped drive G: that requires separate 
> login (I user the same user name and password, so it 
> automatically logs in). 
> (1) If I login as user1 and start Tomcat from the start 
> script, I can access drive G: from a servlet.
> (2) If I login as user1 and run Tomcat as a Windows service, 
> I don't have access to G: from a servlet. Even if I change 
> the service property using user1 to log on, I still don't 
> have access to G: from a servlet.

Processes that run as services don't load the user profile of the user,
they just take on the user's network identity.  Amongst other things,
the profile stores drive mappings.  This means that no service (to my
knowledge) gets any drive mappings.  A typical workaround is to use the
UNC name of the mapped drive.

                - Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to