Can you say more about how to define my tomcat server as a user ?

Have a nice day
Tomer A


-----Original Message-----
From: Peter Crowther [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 23, 2004 12:26 PM
To: Tomcat Users List
Subject: RE: Access is denied while open file from NT server

> From: Tomer Avitzur [mailto:[EMAIL PROTECTED]
> I try to read a file in my jsp which locate in an NT server.
>
> I as a NT user have an access to this NT server , but while
> running the jsp it throw an exception of
>
>
> Exception java.io.FileNotFoundException:
> //bdsrv02/bac/environment/1.txt
> (Access is denied)
>
> Any idea ?

You may have access to the file, but what NT user is the Tomcat server
running as?  If it's running as a service, it may very well be running
as
LocalSystem, which has no network identity.

Make sure your Tomcat server is running as a user that has access to the
file, and (of course) the share on which the file resides.

Best of luck,

                - Peter
--
Peter Crowther, Director, Melandra Limited
John Dalton House, 121 Deansgate, Manchester M3 2AB
t: +44 (0)161 828 8736  f: +44 (0)161 832 5683

The information contained in this message is proprietary of Amdocs,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated recipient(s)
of the message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or copying of
this communication is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you.

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

Reply via email to