RE: webapps ROOT folder significance

2004-12-06 Thread Allistair Crossley
Hi

Is there anymore background information you can offer on this?

Cheers, Allistair.

> -Original Message-
> From: Remy Maucherat [mailto:[EMAIL PROTECTED]
> Sent: 05 December 2004 10:35
> To: Tomcat Users List
> Subject: Re: webapps ROOT folder significance
> 
> 
> On Sat, 4 Dec 2004 19:32:13 -, Allistair Crossley
> <[EMAIL PROTECTED]> wrote:
> > lol, i wasn't having a dig Remy don't be so cynical, I am 
> just interested, and you didn't answer my question either ;) 
> I mean, it's not difficult of course to redeploy on another 
> server and rename the WAR, I don't think this is anthing 
> sinister at all, sorry you had to think that, I am merely 
> curious why this is now the case in 5.5, when afterall it 
> does tie a webapp's naming to Tomcat's way of doing things.
> 
> I figured it would be better to have a deployer which worked :)
> 
> -- 
> x
> Rémy Maucherat
> Developer & Consultant
> JBoss Group (Europe) SàRL
> x
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


 
---
QAS Ltd.
Developers of QuickAddress Software
http://www.qas.com";>www.qas.com
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---



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



Re: webapps ROOT folder significance

2004-12-05 Thread Remy Maucherat
On Sat, 4 Dec 2004 19:32:13 -, Allistair Crossley
<[EMAIL PROTECTED]> wrote:
> lol, i wasn't having a dig Remy don't be so cynical, I am just interested, 
> and you didn't answer my question either ;) I mean, it's not difficult of 
> course to redeploy on another server and rename the WAR, I don't think this 
> is anthing sinister at all, sorry you had to think that, I am merely curious 
> why this is now the case in 5.5, when afterall it does tie a webapp's naming 
> to Tomcat's way of doing things.

I figured it would be better to have a deployer which worked :)

-- 
x
Rémy Maucherat
Developer & Consultant
JBoss Group (Europe) SàRL
x

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



RE: webapps ROOT folder significance

2004-12-04 Thread Allistair Crossley
What Remy means is that you need to *create* a new file called ROOT.xml and 
place it in tomcat/conf/Catalina/localhost (it's not there by default)
 
In that file, add
 

 
Also check out how you can further configure this Context at
 
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html
 
E.g
 

 
or even nested elements inside
 

  


-Original Message- 
From: Jacob Kjome [mailto:[EMAIL PROTECTED] 
Sent: Sat 04/12/2004 19:20 
To: Tomcat Users List 
Cc: 
Subject: Re: webapps ROOT folder significance



At 09:46 AM 12/4/2004 -0800, you wrote:
 >Remy you really confused me.  Can you elaborate a little more please ?
 >
 >What root.xml file in webapps\ROOT folder ?
 >
 >or jakarta-tomcat-5.5.3\conf\Catalina\localhost folder ?
 >
 >Do you mean a context.xml file in the catalnia\locahost folder ?
 >

Yep.  But make sure the file name is ROOT.xml, not root.xml.

Jake

 >Please clarify.
 >
 >-Narahari
 >
 >
 >Remy Maucherat <[EMAIL PROTECTED]> wrote:
 >On Sat, 4 Dec 2004 16:25:59 -, Allistair Crossley
 >wrote:
 >> In versions prior to 5.5, you could make your own webapp the root 
context
 >by using an empty path attribute on the Context for your web 
application.
 >However, in 5.5 you cannot do this and *must* use the ROOT folder for 
your
 >web application *if* you want the web application accessible from
 >http://server:8080
 >>
 >> I would be interested also to hear from the dev team, why a user 
cannot
 >package a web application with a webapp folder they desire and deploy 
this
 >as root. Afterall, is forcing the webapp folder name not binding the 
user to
 >Tomcat?
 >
 >Yes, this is all part of a grand plan to tie users to Tomcat, and take
 >over the world. Call Austin for help, it's the only hope for mankind.
 >
 >Actual solution: write a ROOT.xml file pointing to whatever docBase
 >you want for your webapp (outside of the host appBase), like:
 >
 >
 >--
 >x
 >RÃmy Maucherat
 >Developer & Consultant
 >JBoss Group (Europe) SÃRL
 >x
 >
 >-
 >To unsubscribe, e-mail: [EMAIL PROTECTED]
 >For additional commands, e-mail: [EMAIL PROTECTED]
 >
 >
 >
 >-
 >Do you Yahoo!?
 > All your favorites on one personal page  Try My Yahoo!


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





 
---
QAS Ltd.
Developers of QuickAddress Software
http://www.qas.com";>www.qas.com
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---




RE: webapps ROOT folder significance

2004-12-04 Thread Allistair Crossley
lol, i wasn't having a dig Remy don't be so cynical, I am just interested, and 
you didn't answer my question either ;) I mean, it's not difficult of course to 
redeploy on another server and rename the WAR, I don't think this is anthing 
sinister at all, sorry you had to think that, I am merely curious why this is 
now the case in 5.5, when afterall it does tie a webapp's naming to Tomcat's 
way of doing things. 
 
Cheers, Allistair

-Original Message- 
From: Remy Maucherat [mailto:[EMAIL PROTECTED] 
Sent: Sat 04/12/2004 16:52 
To: Tomcat Users List 
    Cc: 
    Subject: Re: webapps ROOT folder significance



On Sat, 4 Dec 2004 16:25:59 -, Allistair Crossley
<[EMAIL PROTECTED]> wrote:
> In versions prior to 5.5, you could make your own webapp the root 
context by using an empty path attribute on the Context for your web 
application. However, in 5.5 you cannot do this and *must* use the ROOT folder 
for your web application *if* you want the web application accessible from 
http://server:8080
>
> I would be interested also to hear from the dev team, why a user 
cannot package a web application with a webapp folder they desire and deploy 
this as root. Afterall, is forcing the webapp folder name not binding the user 
to Tomcat?

Yes, this is all part of a grand plan to tie users to Tomcat, and take
over the world. Call Austin for help, it's the only hope for mankind.

Actual solution: write a ROOT.xml file pointing to whatever docBase
you want for your webapp (outside of the host appBase), like:


--
x
RÃmy Maucherat
Developer & Consultant
JBoss Group (Europe) SÃRL
x

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





 
---
QAS Ltd.
Developers of QuickAddress Software
http://www.qas.com";>www.qas.com
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---




Re: webapps ROOT folder significance

2004-12-04 Thread Jacob Kjome
At 09:46 AM 12/4/2004 -0800, you wrote:
>Remy you really confused me.  Can you elaborate a little more please ?
>
>What root.xml file in webapps\ROOT folder ?
>
>or jakarta-tomcat-5.5.3\conf\Catalina\localhost folder ?
>
>Do you mean a context.xml file in the catalnia\locahost folder ?
>
Yep.  But make sure the file name is ROOT.xml, not root.xml.
Jake
>Please clarify.
>
>-Narahari
>
>
>Remy Maucherat <[EMAIL PROTECTED]> wrote:
>On Sat, 4 Dec 2004 16:25:59 -, Allistair Crossley
>wrote:
>> In versions prior to 5.5, you could make your own webapp the root context
>by using an empty path attribute on the Context for your web application.
>However, in 5.5 you cannot do this and *must* use the ROOT folder for your
>web application *if* you want the web application accessible from
>http://server:8080
>>
>> I would be interested also to hear from the dev team, why a user cannot
>package a web application with a webapp folder they desire and deploy this
>as root. Afterall, is forcing the webapp folder name not binding the user to
>Tomcat?
>
>Yes, this is all part of a grand plan to tie users to Tomcat, and take
>over the world. Call Austin for help, it's the only hope for mankind.
>
>Actual solution: write a ROOT.xml file pointing to whatever docBase
>you want for your webapp (outside of the host appBase), like:
>
>
>--
>x
>Rémy Maucherat
>Developer & Consultant
>JBoss Group (Europe) SàRL
>x
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>-
>Do you Yahoo!?
> All your favorites on one personal page ­ Try My Yahoo!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: webapps ROOT folder significance

2004-12-04 Thread Savitha 'n' Narahari
Remy you really confused me.  Can you elaborate a little more please ?
 
What root.xml file in webapps\ROOT folder ?
 
or jakarta-tomcat-5.5.3\conf\Catalina\localhost folder ?
 
Do you mean a context.xml file in the catalnia\locahost folder ?
 
Please clarify.
 
-Narahari
 

Remy Maucherat <[EMAIL PROTECTED]> wrote:
On Sat, 4 Dec 2004 16:25:59 -, Allistair Crossley
wrote:
> In versions prior to 5.5, you could make your own webapp the root context by 
> using an empty path attribute on the Context for your web application. 
> However, in 5.5 you cannot do this and *must* use the ROOT folder for your 
> web application *if* you want the web application accessible from 
> http://server:8080
> 
> I would be interested also to hear from the dev team, why a user cannot 
> package a web application with a webapp folder they desire and deploy this as 
> root. Afterall, is forcing the webapp folder name not binding the user to 
> Tomcat?

Yes, this is all part of a grand plan to tie users to Tomcat, and take
over the world. Call Austin for help, it's the only hope for mankind.

Actual solution: write a ROOT.xml file pointing to whatever docBase
you want for your webapp (outside of the host appBase), like:


-- 
x
Rémy Maucherat
Developer & Consultant
JBoss Group (Europe) SàRL
x

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



-
Do you Yahoo!?
 All your favorites on one personal page – Try My Yahoo!

Re: webapps ROOT folder significance

2004-12-04 Thread Remy Maucherat
On Sat, 4 Dec 2004 16:25:59 -, Allistair Crossley
<[EMAIL PROTECTED]> wrote:
> In versions prior to 5.5, you could make your own webapp the root context by 
> using an empty path attribute on the Context for your web application. 
> However, in 5.5 you cannot do this and *must* use the ROOT folder for your 
> web application *if* you want the web application accessible from 
> http://server:8080
> 
> I would be interested also to hear from the dev team, why a user cannot 
> package a web application with a webapp folder they desire and deploy this as 
> root. Afterall, is forcing the webapp folder name not binding the user to 
> Tomcat?

Yes, this is all part of a grand plan to tie users to Tomcat, and take
over the world. Call Austin for help, it's the only hope for mankind.

Actual solution: write a ROOT.xml file pointing to whatever docBase
you want for your webapp (outside of the host appBase), like:


-- 
x
Rémy Maucherat
Developer & Consultant
JBoss Group (Europe) SàRL
x

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



RE: webapps ROOT folder significance

2004-12-04 Thread Allistair Crossley
In versions prior to 5.5, you could make your own webapp the root context by 
using an empty path attribute on the Context for your web application. However, 
in 5.5 you cannot do this and *must* use the ROOT folder for your web 
application *if* you want the web application accessible from http://server:8080
 
I would be interested also to hear from the dev team, why a user cannot package 
a web application with a webapp folder they desire and deploy this as root. 
Afterall, is forcing the webapp folder name not binding the user to Tomcat?
 
Allistair.

-Original Message- 
From: Savitha 'n' Narahari [mailto:[EMAIL PROTECTED] 
Sent: Sat 04/12/2004 06:54 
To: Tomcat Users List 
Cc: 
    Subject: Re: webapps ROOT folder significance



BTW, I am using Tomcat 5.5.3 with  jdk 1.5 with jre 1.5 also.

Regards,
-Narahari

--- Savitha 'n' Narahari <[EMAIL PROTECTED]> wrote:

> Hello:
> 
> What is the significance of TOMCAT webapps\ROOT folder ?
> 
> I know it contains the startup page but which server.xml entry tells 
it to go to the ROOT folder
> by default.
> 
> I know that some Context entry has everything got to do with it but 
cannot put my finger on the
> correct entry.
> 
> There is not Context entry in my conf/server.xml file.  I did not see 
a Defaultcontext either.
> What am I missing ?
> 
> I want to create my own startup page for http://localhost:8080 but 
could not find how.  I DONT
> WANT to replace the webapps/ROOT with my own folder.
> 
> I want to be able to change it thru some setting where 
http://localhost:8080 points to
> webapps/narahari folder.
> 
> Thanks for your time and if this question has been answered please 
pardon me.
> 
> Regards,
> -Narahari
>
>  
> -
> Do you Yahoo!?
>  All your favorites on one personal page â Try My Yahoo!


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

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





 
---
QAS Ltd.
Developers of QuickAddress Software
http://www.qas.com";>www.qas.com
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---




Re: webapps ROOT folder significance

2004-12-03 Thread Savitha 'n' Narahari
BTW, I am using Tomcat 5.5.3 with  jdk 1.5 with jre 1.5 also.

Regards,
-Narahari

--- Savitha 'n' Narahari <[EMAIL PROTECTED]> wrote:

> Hello:
>  
> What is the significance of TOMCAT webapps\ROOT folder ?
>  
> I know it contains the startup page but which server.xml entry tells it to go 
> to the ROOT folder
> by default.
>  
> I know that some Context entry has everything got to do with it but cannot 
> put my finger on the
> correct entry.
>  
> There is not Context entry in my conf/server.xml file.  I did not see a 
> Defaultcontext either. 
> What am I missing ?
>  
> I want to create my own startup page for http://localhost:8080 but could not 
> find how.  I DONT
> WANT to replace the webapps/ROOT with my own folder.
>  
> I want to be able to change it thru some setting where http://localhost:8080 
> points to
> webapps/narahari folder.
>  
> Thanks for your time and if this question has been answered please pardon me.
>  
> Regards,
> -Narahari
> 
>   
> -
> Do you Yahoo!?
>  All your favorites on one personal page – Try My Yahoo!


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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