Re: Servlet, Tomcat 3.3, IIS virtual directory access denied

2003-03-22 Thread Cinzia S
Thanks for confirming what I found out last night. I noticed that the
virtual directory had web sharing set with some permissions which did not
include tomcat service domain account.

- Original Message -
From: "Bill Barker" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 22, 2003 9:05 AM
Subject: Re: Servlet, Tomcat 3.3, IIS virtual directory access denied


> On W2K, by default, the service user doesn't have access to any remote
> shared drives.  IMHO, this is a good thing.
>
> "Cinzia S" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Hello people,
> >
> > I've set up Tomcat to run as a service with a domain log on usr/pswd.
IIS
> > works fine redirecting servlet requests to Tomcat via ISAPI redirector.
> All
> > on Windows 2000 Server.
> >
> > The problem:
> > The java application creates and reads files from a location which
> > corresponds to an IIS virtual directory and is also a local directory
with
> > respect to the Tomcat and IIS installation. The application is denied
> access
> > to this directory when submitting a network path
> (\\server/drive/directory/)
> > where to store and read files, but is happy when a local path is given
> > instead (E:/) Why? The domain user should have complete access to this.
Is
> > it Tomcat, IIS, or java restrictions?
> >
> > I appreciate any suggestion on this
> > 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]



Servlet, Tomcat 3.3, IIS virtual directory access denied

2003-03-21 Thread Cinzia S
Hello people,

I've set up Tomcat to run as a service with a domain log on usr/pswd. IIS
works fine redirecting servlet requests to Tomcat via ISAPI redirector. All
on Windows 2000 Server.

The problem:
The java application creates and reads files from a location which
corresponds to an IIS virtual directory and is also a local directory with
respect to the Tomcat and IIS installation. The application is denied access
to this directory when submitting a network path (\\server/drive/directory/)
where to store and read files, but is happy when a local path is given
instead (E:/) Why? The domain user should have complete access to this. Is
it Tomcat, IIS, or java restrictions?

I appreciate any suggestion on this
Thanks


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



Re: Linux denies access to Tomcat

2003-03-19 Thread Cinzia S
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]



Linux denies access to Tomcat

2003-03-13 Thread Cinzia S
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]



Re: DBMS access denied with Jakarta NT Service

2002-10-09 Thread Cinzia S

I've solved the problem. It was a setting in the Jakarta NT service, the
"LogOnAs" which limited access to the LocalSystem only.

Thanks

- Original Message -
From: "Sexton, George" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, October 08, 2002 1:42 PM
Subject: RE: DBMS access denied with Jakarta NT Service


> Don't you think the name and version number of the DBMS would be of the
> least bit help in solving your issue?
>
> -Original Message-
> From: Cinzia S [mailto:[EMAIL PROTECTED]]
> Sent: 08 October, 2002 2:10 AM
> To: [EMAIL PROTECTED]
> Subject: DBMS access denied with Jakarta NT Service
>
>
> Hi all,
>
> I'm having database "access denied" when running Jakarta as an NT Service,
> while no db access problems when running as a standalone program.
>
> This is the spec: Jakarta-Tomcat 3.3.1, servicing servlets and jsp
requested
> by IIS through isapi_redirect.dll, Windows 2000 Server.
>
> Thanks for any suggestion
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


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




Re: DBMS access denied with Jakarta NT Service

2002-10-08 Thread Cinzia S

just through a System DSN. The java application uses jdbc:odbc bridge.
Nothing specific in server.xml or web.xm

Thanks
- Original Message -
From: "CLAIRE Celine" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, October 08, 2002 9:09 AM
Subject: RE: DBMS access denied with Jakarta NT Service


excuse me but I would like to know how do you do to access a database with
tomcat 3.3.1
server.xml?
web.xml?
lookup?
Can you give me a complete exemple?

thanks for your help

> -Message d'origine-
> De: Cinzia S [SMTP:[EMAIL PROTECTED]]
> Date: mardi 8 octobre 2002 10:10
> À: [EMAIL PROTECTED]
> Objet: DBMS access denied with Jakarta NT Service
>
> Hi all,
>
> I'm having database "access denied" when running Jakarta as an NT Service,
> while no db access problems when running as a standalone program.
>
> This is the spec: Jakarta-Tomcat 3.3.1, servicing servlets and jsp
requested
> by IIS through isapi_redirect.dll, Windows 2000 Server.
>
> Thanks for any suggestion
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>



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




DBMS access denied with Jakarta NT Service

2002-10-08 Thread Cinzia S

Hi all,

I'm having database "access denied" when running Jakarta as an NT Service,
while no db access problems when running as a standalone program.

This is the spec: Jakarta-Tomcat 3.3.1, servicing servlets and jsp requested
by IIS through isapi_redirect.dll, Windows 2000 Server.

Thanks for any suggestion



--
To unsubscribe, e-mail:   
For additional commands, e-mail: