Thanks for your response. Part of the problem has been solved by giving a
domain account to tomcat service.

The second access problem, quite strange is with a virtual directory in IIS.
The domain account should cover this location. Tomcat and IIS communicate
through ISAPI Tomcat Redirector.

The problem:
- A servlet receives a request,
- then it forwards it to the application which writes files to this virtual
directory using a network address. It seems to work ok when I use a local
path (d:\) as opposed to network address, but it's not very useful.
- Finally the http opens the file in the browser.

The problem seems to start in the actual writing of the file to the virtual
directory. Why does it work with a local path and not a network path?
Is there any configuration either in IIS or Tomcat which I'm missing?

Many thanks in advance


----- Original Message -----
From: "Chong Yu Meng" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, March 14, 2003 2:29 AM
Subject: Re: Linux denies access to Tomcat


> If you're using RH7.3, take a look inside /etc/hosts.allow. If it is
> blank, it means that it does not accept  remote connections from
> anywhere. Add your Win2K server's IP address inside the list and try
again.
>
> Cinzia S wrote:
>
> >Hello people,
> >
> >I'm not familiar with Linux but I'm trying to solve an access problem we
are
> >having with Tomcat.
> >
> >I'm running Tomcat as a service on Windows 2000pro. It runs as in-process
> >with IIS. A java application requires to access some directories on a
Linux
> >box (Red Hat 7.3 running Samba server) and I'm having some problems with
> >getting the right permission for Tomcat.
> >
> >Tomcat is set up with a local user rights. Drives are mapped so that
Tomcat
> >has access to these locations. Tomcat user/password is also set up on the
> >Linux.
> >
> >Also if it is of some help, the java application doesn't work when Tomcat
is
> >given a domain user in the Services.
> >
> >Can anyone help?
> >Thanks
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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

Reply via email to