You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Tapas Mishra <mi...@gmail.com> on 2010/07/05 13:56:44 UTC

what is document root in Tomcat

I am not clear with Document Root for Tomcat which is some thing in
Apache only I have worked with.
I have an application named sakai
http://confluence.sakaiproject.org/display/DOC/Install+Guide+-+Binary+Install+(2.7)
I downloaded it
svn co https://source.sakaiproject.org/svn/sakai/tags/sakai-2.7.0 sakai
but in Tomcat 5.5.29 which folder should I keep it so that I can access it


-- 
Tapas

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: what is document root in Tomcat

Posted by André Warnier <aw...@ice-sa.com>.
Tapas Mishra wrote:
> On Mon, Jul 5, 2010 at 5:35 PM, Pid <pi...@pidster.com> wrote:
> 
>> What does it say in the installation documents for Sakai?  Does it
>> tell you where to install the files?
> That is the problem on this page
> http://confluence.sakaiproject.org/display/DOC/Install+Guide+-+Binary+Install+(2.7)
> section 3.0 It says
> "If you wish to configure a binary installation you'll need to
> manually create a /sakai folder in $CATALINA_HOME to hold your
> sakai.properties file."
> 
> Now I created /sakai in $CATALINIA_HOME
> 
> as the doc says in $CATALINIA_HOME/bin/startup.sh
> I execute this script and then check
> echo $CATALINA_HOME
> 
> I do not get any thing as output.
> 
Tapas,
I really think that you need first to have a look at the on-line documentation of Tomcat, 
at http://tomcat.apache.org.
This user's help list is not really a substitute for the online documentation, and nobody 
here really has the time to teach you the basics.
And nobody here knows confluence per se, so you should ask them for more help with the 
deployment of their applications under Tomcat.

As pid already mentioned, Tomcat is also a webserver, but it is quite different from 
Apache httpd, and the way pages and applications are organised under Tomcat is quite 
different from Apache httpd.  Tomcat is primarily a Java servlet engine, so its main 
function is to run Java servlets.

For just a bit more information :
go to the same directory where you executed "startup.sh", and run "version.sh".
You can then paste the result here, and someone may be able to help you a bit more.
But not much..



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: what is document root in Tomcat

Posted by Pid <pi...@pidster.com>.
On 5 July 2010 13:49, Tapas Mishra <mi...@gmail.com> wrote:
> On Mon, Jul 5, 2010 at 5:35 PM, Pid <pi...@pidster.com> wrote:
>
>> What does it say in the installation documents for Sakai?  Does it
>> tell you where to install the files?
> That is the problem on this page
> http://confluence.sakaiproject.org/display/DOC/Install+Guide+-+Binary+Install+(2.7)
> section 3.0 It says
> "If you wish to configure a binary installation you'll need to
> manually create a /sakai folder in $CATALINA_HOME to hold your
> sakai.properties file."
>
> Now I created /sakai in $CATALINIA_HOME
>
> as the doc says in $CATALINIA_HOME/bin/startup.sh
> I execute this script and then check
> echo $CATALINA_HOME
>
> I do not get any thing as output.

Why would you expect to see anything as output?
Tomcat sets that environment variable as it runs, but it's not
exported to the shell.

What are you trying to discover?  If you're trying to work out what
CATALINA_HOME is by echoing the variable, you're ignoring the fact
that you've already worked it out by using it when you ran the
startup.sh script.

CATALINA_HOME is just the Tomcat installation directory.


p

>
> --
> Tapas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>



-- 

--
pidster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: what is document root in Tomcat

Posted by Tapas Mishra <mi...@gmail.com>.
On Mon, Jul 5, 2010 at 5:35 PM, Pid <pi...@pidster.com> wrote:

> What does it say in the installation documents for Sakai?  Does it
> tell you where to install the files?
That is the problem on this page
http://confluence.sakaiproject.org/display/DOC/Install+Guide+-+Binary+Install+(2.7)
section 3.0 It says
"If you wish to configure a binary installation you'll need to
manually create a /sakai folder in $CATALINA_HOME to hold your
sakai.properties file."

Now I created /sakai in $CATALINIA_HOME

as the doc says in $CATALINIA_HOME/bin/startup.sh
I execute this script and then check
echo $CATALINA_HOME

I do not get any thing as output.

-- 
Tapas

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: what is document root in Tomcat

Posted by Pid <pi...@pidster.com>.
On 5 July 2010 12:56, Tapas Mishra <mi...@gmail.com> wrote:
> I am not clear with Document Root for Tomcat which is some thing in
> Apache only I have worked with.
> I have an application named sakai
> http://confluence.sakaiproject.org/display/DOC/Install+Guide+-+Binary+Install+(2.7)
> I downloaded it
> svn co https://source.sakaiproject.org/svn/sakai/tags/sakai-2.7.0 sakai
> but in Tomcat 5.5.29 which folder should I keep it so that I can access it

Tomcat is not like Apache HTTPD, it doesn't have a document root.

There is an appBase for each Host, and you place applications in that location.

What does it say in the installation documents for Sakai?  Does it
tell you where to install the files?


p

> --
> Tapas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>



-- 

--
pidster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org