If you created the directory and the files under the same user that tomcat is 
running, then tomcat should have sufficient privileges to access the files. 
You can always double check by running tomcat as root.

To test the symlink, cd to the directory that contains the symlink and type:
ls ROOT (assuming that the name of the symlink is "ROOT").
You should see the contents of the directory to which the link is pointing.

Have you checked the log files for errors?


On Monday 10 November 2003 01:57 pm, VISHAL SAXENA wrote:
> I restarted Tomcat number of times. I will do it again as well!
> Now, How do I know that user that tomcat is running under, have permissions
> to access that
> directory? I mean, I am a user say "dspace". I installed DSpace and even
> the Tomcat as "dspace" user. I did specify symlink from Tomcat webapp to
> DSpace jsp directory. While looged in solaris machine, As a "dspace" user,
> I can visit any of the file that lies in this jsp directory. I can also
> start and shutdown Tomcat. And I am not surprised as I installed both of
> these  as a "dspace" user.
> However to the outer world, when I try to access these file (from browser
> through internet), How do i know, who is going to access it. And how can I
> make sure that anybody can see it through a URL, if access is a problem?
>
> How can I test symlink?
> I am sorry to ask so many questions as I am fairly new to Solaris and quite
> unexperienced with Tomcat.
> Regards
> ~Vishal
>
>
> -----Original Message-----
> From: Ben Souther [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 10, 2003 1:54 PM
> To: Tomcat Users List
> Subject: Re: Login & Password for Tomcat Web Server Administration
> Screen
>
>
> Did you restart tomcat after making the symlink?
> Does the user that tomcat is running under have permissions to access that
> directory?
>
> Did you test your symlink?
>
> On Monday 10 November 2003 01:37 pm, VISHAL SAXENA wrote:
> > Cool !
> >
> > Now I am facing another problem:
> >
> > bash-2.05$ cd /home/vsaxena/jakarta-tomcat-5.0.12/webapps/ROOT : is my
>
> Root
>
> > directory of Tomcat.
> >
> > However since I want to run DSpace application on Tomcat, so as per the
> > documentation of DSpace ->
> > "Connect the DSpace webapps up to Tomcat. With many Web applications, the
> > convention is to put everything associated with the application under
> > Tomcat's directory. Since DSpace has many extra components, we instead
> > use symlinks. Go to the webapps directory in Tomcat, and make these
> > symlinks:"
> >
> > So I have Root pointing to jsp directory of DSpace:
> >
> > ROOT -> /home/vsaxena/dspace_Install/dspace-1.1/jsp
> >
> > Problem is that now if i try to look at
> > http://agate.mit.edu:8080/home.jsp I get page cannot be found error (HTTP
> > 400-Bad request). It says "The page you are looking for might have been
> > removed, had its name changed, or is temporarily unavailable"
> >
> > I verified home.jsp lies in the
>
> /home/vsaxena/dspace_Install/dspace-1.1/jsp
>
> > directory.
> > What might be the problem? How can I access this jsp.
> > Please note that I installed Tomcat and DSpace as the same user.
> >
> > I will appreciate any suggestion or solution in this regard.
> > Thanks and Regards
> > ~Vishal
> >
> > -----Original Message-----
> > From: Tim Funk [mailto:[EMAIL PROTECTED]
> > Sent: Monday, November 10, 2003 1:10 PM
> > To: Tomcat Users List
> > Subject: Re: Login & Password for Tomcat Web Server Administration
> > Screen
> >
> >
> > http://jakarta.apache.org/tomcat/faq/security.html#login
> >
> > -Tim
> >
> > VISHAL SAXENA wrote:
> > > On the TOMCAT web server asministration screen, I am being asked to
>
> enter
>
> > > user name and password. I was just wondering when i could have given
>
> this
>
> > > username and password.
> > > I installed Tomcat, PostGRESql, DSapce and Ant. I configured all these
> > > and in that process I entered information at several places,. I am kind
> > > of
> >
> > lost
> >
> > > about what i have to enter on this screen.
> > > ~Vishal
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Ben Souther
F.W. Davison & Company, Inc.



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

Reply via email to