> From: Maarten Janssen [mailto:[EMAIL PROTECTED] 
> I have a servlet that create output files (txt) on the fly 
> (with File obj
> etc). I can write these files anywhere on the server (where 
> the apllication
> is running), so thats great.
> But if I want to write them to another computer in the netwok 
> (accessed by
> \\<name>) I receive an access denied error. I am using windows NT.
> I tried to set authorisation of all different types of users 
> but didn't
> help. What kind of "user" is Tomcat and anybody an solution?

Whatever it's running as on the computer.  I assume your Tomcat is
running as a service?  If so, look at the service's 'log on as'
information in Admin Tools>Services.  My guess is that it's running as
LocalSystem, which means you have all privilages locally but *none* on
the network - this is dangerous for the local system.  If you're looking
to create a file elsewhere on the network, I'd create a domain user
account for Tomcat, grant it Log On As A Service on the Tomcat server
and use that.

                - Peter

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

Reply via email to