Hi,

The problem was caused by symbolic links used to address the SMBshare
directory.

Thanks for replying,

MG

> -----Original Message-----
> From: Goerke, Michael 
> Sent: Wednesday, 19 April, 2006 15:40
> To: Tomcat Users List
> Subject: RE: Cannot load files from a SMB share into Tomcat 5.5.12
> 
> Thanks, but I have been perhaps not clear about that.
> Everything is declared properly, i.e. with both an identical 
> setup and dir content http://localhost/all_local and 
> http://localhost:8080/all_local as well as 
> http://localhost/NFSshare and http://localhost:8080/NFSshare 
> work fine, and also http://localhost/SMBshare, but 
> http://localhost:8080/SMBshare doesn't.
> 
> :-(
> 
> > -----Original Message-----
> > From: Marc Farrow [mailto:[EMAIL PROTECTED] 
> > Sent: Wednesday, 19 April, 2006 15:25
> > To: Tomcat Users List
> > Subject: Re: Cannot load files from a SMB share into Tomcat 5.5.12
> > 
> > Not sure of what you are trying accomplish, but here is some 
> > info that might help.
> > 
> > You must have an Apache alias setup in order for you to 
> > access http://localhost/sambashare.  This seems to be the case.
> > 
> > However, when you are trying to do 
> > http://localhost:8080/sambashare.  Tomcat knows nothing about 
> > Apache's aliases.  It is expecting a context named 
> > sambashare.  Tomcat knows nothing about "shares" unless you 
> > explicitly tell it.
> > 
> > hth
> > 
> > 
> > On 4/19/06, Goerke, Michael <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi,
> > >
> > > I am pretty new to tomcat, and I apologise for possible 
> > > misunderstandings.
> > >
> > > I am using successfully on a RHEL (2.4.21-40.Elsmp) Linux 
> > box Apache 
> > > 2.0.46, Tomcat 5.5.12 and mod_jk 1.2.15, jdk is 1.5.0_05.
> > >
> > > Now I have copied everything onto a Windows share (where 
> > users should 
> > > deal with their documents), and tried to import the 
> directory tree 
> > > into Linux as a read-only share via SAMBA. But although all 
> > dirs/files 
> > > are world-readable I cannot 'see' them via tomcat. I.e., when 
> > > requesting http://myserver/sambashare/Index.html via apache 
> > everything 
> > > loads properly, but for tomcat 
> > > http://myserver:8080/sambashare/Index.html I get a 404 
> > error (requested resource ... is not available).
> > >
> > > Could perhaps someone explain why, and/or how to solve it?
> > >
> > > TIA,
> > >
> > > Michael Goerke
> > >
> > > PS: Doing it via NFS (exporting from Windows via SFU and 
> importing 
> > > into
> > > Linux) works well, but then I cannot set access permissions 
> > as desired.
> > > ---
> > > Michael Goerke, European University Institute, Computing Service
> > >                Via Boccaccio 121, 50133 Firenze, Italy
> > >                phone: +39 055 4685-531 (voice), 4685-205 (fax)
> > >                email: [EMAIL PROTECTED]
> > >
> > >
> > >
> > 
> > 
> > --
> > Marc Farrow
> > 
> > 
> 
> ---------------------------------------------------------------------
> 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