Unable to access html/jsp lying in Tomcat Root directory

2003-11-11 Thread VISHAL SAXENA
I have created a symlink for Tomcat root directory
/home/vsaxena/jakarta-tomcat-5.0.12/webapps/ROOT to DSpace (Application that
I am working upon) directory containing all the JSP and required HTML.
(index.html is one of these)
However, as I try to access index.html from browser (accessing the URL
http://agate.mit.edu:8080/index.html) I get The page cannot be found
 kind of error. On the bottom of this error page, I get HTTP 400 - Bad
Request
Internet Explorer 

What does it mean? What might be the wrong?
Any suggestion, clue or feedback will be kindly appreciated.
Regards
~Vishal


VISHAL SAXENA
-Student, M.I.T. Cambridge
-Graduate Research Assistant, Sloan Business School, MIT
-CELL:1-617-308-1003 


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

RE: Login & Password for Tomcat Web Server Administration Screen

2003-11-10 Thread VISHAL SAXENA
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]




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



RE: Login & Password for Tomcat Web Server Administration Screen

2003-11-10 Thread VISHAL SAXENA
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]


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

Login & Password for Tomcat Web Server Administration Screen

2003-11-10 Thread VISHAL SAXENA
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]