Re: default context

2012-06-28 Thread James Lampert
David kerber wrote: If I'm not mistaken (which is definitely possible), if you name it ROOT.war, it will also become the default context. Quite true. Even a neophyte like me is aware of that. ;-p (And there's a lot more about Tomcat that I *don't* know, than there is that I

Re: default context

2012-06-28 Thread David kerber
drop a default web app WAR into the webapps folder, correct? If I'm not mistaken (which is definitely possible), if you name it ROOT.war, it will also become the default context. D - To unsubscribe, e-mail: users-uns

default context

2012-06-28 Thread Chad.Davis
As I read the context docs ( http://tomcat.apache.org/tomcat-7.0-doc/config/context.html ), the only way to define a default web application is via a context element in the server.xml file. Is this true? So, this means that it is IMPOSSIBLE to drop a default web app WAR into the webapps folde

Fwd: Cant start stop the default context in a virtual host

2010-02-23 Thread James McArthur
Hi I have been using Tomcat for years since 3 till 6 but I have never worked this one out I have several in my engine each with a manager I have web apps intalled including a website in the ROOT context ( e.g. / ) for each host If you try and start or stop the / context it says no such contex

RE: Changing default context path

2009-05-18 Thread Caldarale, Charles R
> From: Yaakov Chaikin [mailto:yaakov.chai...@gmail.com] > Subject: Re: Changing default context path > > So, is it telling me that I can place bla.xml into META-INF > directory with a tag in it and the context path > will change to /bla? I tried that and it didn't wor

Re: Changing default context path

2009-05-18 Thread Pid
Caldarale, Charles R wrote: > The path attribute is not allowed except in circumstances that are strongly > discouraged. Can I suggest an amendment to the documentation as follows: - If you specify a context path of an empty string (""), you are - defining the default web application for this

Re: Changing default context path

2009-05-18 Thread Yaakov Chaikin
On Mon, May 18, 2009 at 4:46 PM, Caldarale, Charles R wrote: > > > From: Yaakov Chaikin [mailto:yaakov.chai...@gmail.com] > > Subject: Re: Changing default context path > > > > Take a look at 5th bullet. > > Take a look at the description of the path attribute,

RE: Changing default context path

2009-05-18 Thread Caldarale, Charles R
> From: Yaakov Chaikin [mailto:yaakov.chai...@gmail.com] > Subject: Re: Changing default context path > > Take a look at 5th bullet. Take a look at the description of the path attribute, which you seem to be ignoring: "The value of this field must not be set except when stat

Re: Changing default context path

2009-05-18 Thread Yaakov Chaikin
k.caldar...@unisys.com> wrote: > > From: Yaakov Chaikin [mailto:yaakov.chai...@gmail.com] > > Subject: Changing default context path > > > > Tomcat still defaults to the WAR file name as the context path... > > That's how it's defined to work. The path attribut

RE: Changing default context path

2009-05-18 Thread Caldarale, Charles R
> From: Yaakov Chaikin [mailto:yaakov.chai...@gmail.com] > Subject: Changing default context path > > Tomcat still defaults to the WAR file name as the context path... That's how it's defined to work. The path attribute is not allowed except in circumstances that ar

Changing default context path

2009-05-18 Thread Yaakov Chaikin
Hi, I am trying to deploy a WAR with a custom context path. For some reason, Tomcat still defaults to the WAR file name as the context path... What I am doing is placing context.xml inside the blah.war under META-INF/context.xml. Here are the contents of context.xml: **

Re: Add URLClassLoader search path to default context classloader

2007-12-21 Thread Bill Barker
loader > by > using URLClassLoader. However, I don't know how I can include the search > path of that classloader in the web application's classloader provided by > Tomcat. How can I do this? > > Thanks. > -- > View this message in context: > http://www.nabble.com/A

Add URLClassLoader search path to default context classloader

2007-12-21 Thread lightbulb432
loader provided by Tomcat. How can I do this? Thanks. -- View this message in context: http://www.nabble.com/Add-URLClassLoader-search-path-to-default-context-classloader-tp14458477p14458477.html Sent from the Tomcat - User mailing l

RE: How to specify a default context?

2007-10-02 Thread Caldarale, Charles R
> From: Szabolcs Márton [mailto:[EMAIL PROTECTED] > Subject: Re: How to specify a default context? > > maybe try this, in server.xml, in tomcat6 > Please read the docs before posting. In current versions of Tomcat, do not ever put elements inside server.xml. Do it the docu

Re: How to specify a default context?

2007-10-02 Thread Szabolcs Márton
EMAIL PROTECTED] > > Subject: Re: How to specify a default context? > > > > Since I plan to use http://tuckey.org/urlrewrite/ to > > rewrite URLs, and since "/" will rewrite to "/myapp/", > > then the request htpp://myhost/ will ending up causing >

RE: How to specify a default context?

2007-09-30 Thread Caldarale, Charles R
> From: Ken Bowen [mailto:[EMAIL PROTECTED] > Subject: Re: How to specify a default context? > > Since I plan to use http://tuckey.org/urlrewrite/ to > rewrite URLs, and since "/" will rewrite to "/myapp/", > then the request htpp://myhost/ will ending up

Re: How to specify a default context?

2007-09-30 Thread Ken Bowen
R wrote: From: Ken Bowen [mailto:[EMAIL PROTECTED] Subject: Re: How to specify a default context? Is there no other way, one which leaves the app with its original name? Place your webapp outside of the 's appBase directory, and put your element in conf/Catalina/[host]/ROOT.xml wit

RE: How to specify a default context?

2007-09-30 Thread Caldarale, Charles R
> From: Ken Bowen [mailto:[EMAIL PROTECTED] > Subject: Re: How to specify a default context? > > Is there no other way, one which leaves the app with its > original name? Place your webapp outside of the 's appBase directory, and put your element in conf/Catalina/[h

Re: How to specify a default context?

2007-09-30 Thread Ken Bowen
a Host are specified in server.xml, but all are placed in the META-INF of their respective apps, how does one specify one of them as the default Context for that Host? Name it ROOT (directory) or ROOT.war, as appropriate. HTH, -

Re: How to specify a default context?

2007-09-29 Thread Hassan Schroeder
On 9/29/07, Ken Bowen <[EMAIL PROTECTED]> wrote: > When no contexts for a Host are specified in server.xml, but all are > placed in the META-INF of their respective apps, > how does one specify one of them as the default Context for that Host? Name it ROOT (directory) or ROOT.war,

How to specify a default context?

2007-09-29 Thread Ken Bowen
Hi all, When no contexts for a Host are specified in server.xml, but all are placed in the META-INF of their respective apps, how does one specify one of them as the default Context for that Host? http://tomcat.apache.org/tomcat-5.5-doc/config/context.html doesn't seem to say what

RE: Tomcat default context

2007-02-19 Thread Caldarale, Charles R
> From: Gardner, Brad [mailto:[EMAIL PROTECTED] > Subject: Tomcat default context > > I created the ROOT.xml file under /conf/// > and placed this tag into the file: > > Don't put your webapp in the 's appBase directory; if you do it may be deployed twice, on

RE: Tomcat default context

2007-02-19 Thread Propes, Barry L [GCG-NAOT]
oh, ok. Hadn't gone down that road yet. Good to know. Then would it be ? -Original Message- From: Gardner, Brad [mailto:[EMAIL PROTECTED] Sent: Monday, February 19, 2007 10:52 AM To: Tomcat Users List Subject: RE: Tomcat default context This is from the documentation that

RE: Tomcat default context

2007-02-19 Thread Gardner, Brad
but still working on the root context. -Original Message- From: Propes, Barry L [GCG-NAOT] [mailto:[EMAIL PROTECTED] Sent: Monday, February 19, 2007 11:48 AM To: Tomcat Users List Subject: RE: Tomcat default context didn't know it was possible....to set up a default context

RE: Tomcat default context

2007-02-19 Thread Propes, Barry L [GCG-NAOT]
didn't know it was possibleto set up a default context outside of the server.xml file. I thought Tomcat required that. -Original Message- From: Gardner, Brad [mailto:[EMAIL PROTECTED] Sent: Monday, February 19, 2007 10:43 AM To: users@tomcat.apache.org Subject: Tomcat default co

Tomcat default context

2007-02-19 Thread Gardner, Brad
I am using tomcat 5.5.20 and attempting to set up a default context without placing the context tag inside of the server.xml file. I created the ROOT.xml file under /conf/// and placed this tag into the file: This resulted in no change, and the default tomcat page still appears when I

Re: How to set app as default context in Tomcat?

2006-12-07 Thread Martin Dubuc
The way I am handling this, and it is probably not very clean, but it works for me, is to define an index.html file in webapps/ROOT with this content: On 12/7/06, kkus <[EMAIL PROTECTED]> wrote: I am using Tomcat 5.5.20 and my app in XP. I need set my app as default context so I wil

RE: How to set app as default context in Tomcat?

2006-12-07 Thread Caldarale, Charles R
> From: kkus [mailto:[EMAIL PROTECTED] > Subject: How to set app as default context in Tomcat? > > I am using Tomcat 5.5.20 and my app in XP. I need set my app > as default context so I will only use url localhost:8080 > instead of localhost:8080/app. The default app must be

How to set app as default context in Tomcat?

2006-12-07 Thread kkus
I am using Tomcat 5.5.20 and my app in XP. I need set my app as default context so I will only use url localhost:8080 instead of localhost:8080/app. The way I found is to set a in of server.xml. But this led to my app loaded twice when it started. Meanwhile 5.5.20 has discouraged use of in

Re: Question regarding appBase/docBase and default context.

2006-10-25 Thread Rizalino
We would like both appBase and docBase to be the same for the default > Context (is this possible?) > > > > *Basically, all the WAR/JSPs/Servlets will all go/served by tomcat from > the public_html folder?* > > > > Here is the current setup that worked and resol

Question regarding appBase/docBase and default context.

2006-10-23 Thread Rizalino DeVilleres
Guys, We would like both appBase and docBase to be the same for the default Context (is this possible?) *Basically, all the WAR/JSPs/Servlets will all go/served by tomcat from the public_html folder?* Here is the current setup that worked and resolved the other issue but it created

Re: v5.5.x default context support outside of server.xml

2006-10-12 Thread Gregor Schneider
It also worked for me: - putting context.xml to webpass/YOUR_WEPAPP/META-INF - pack your web-app as ROOT.war - deploy it Tomcat will copy your context.xml from META-INF to conf/[engine]/[host]/ROOT.xml Cheers Greg PS.: tomcat 5.5.17 -- what's puzzlin' you, is the nature of my game

Re: v5.5.x default context support outside of server.xml

2006-10-12 Thread Jon Wilmoth
on to capture this specific naming requirement for specifying the defining the host's default context (aka webapp). - Original Message From: "Caldarale, Charles R" <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Thursday, October 12, 2006 9:06:00 AM Subject: RE: v5.5

RE: v5.5.x default context support outside of server.xml

2006-10-12 Thread Caldarale, Charles R
> From: Jon Wilmoth [mailto:[EMAIL PROTECTED] > Subject: v5.5.x default context support outside of server.xml > > There seems to be some conflict between different sections > of the context config documentation that leads me to believe > it's not possible to specify a

v5.5.x default context support outside of server.xml

2006-10-12 Thread Jon Wilmoth
I've tried unsuccessfully to deploy my webapp as the default context for my host using a context defined outside of the server.xml (individual files (with a ".xml" extension) in the $CATALINA_HOME/conf/[enginename]/[hostname]/ directory) as strongly recommended in http://to

RE: How set a default context

2006-09-26 Thread Caldarale, Charles R
> From: Angelov, Rossen [mailto:[EMAIL PROTECTED] > Subject: RE: How set a default context > > What I wrote was extracted from the same doc, the URL you > pasted in your response. Yes, but you didn't continue to read the rest of the page, which states how to do it proper

RE: How set a default context

2006-09-26 Thread Angelov, Rossen
y, September 26, 2006 2:15 PM To: Tomcat Users List Subject: RE: How set a default context > From: Angelov, Rossen [mailto:[EMAIL PROTECTED] > Subject: RE: How set a default context > > - a Context that has an empty PATH attribute will become the > default web application for the

RE: How set a default context

2006-09-26 Thread Caldarale, Charles R
> From: Angelov, Rossen [mailto:[EMAIL PROTECTED] > Subject: RE: How set a default context > > - a Context that has an empty PATH attribute will become the > default web application for the virtual host. This definitely > works on Tomcat 5.5 Definitely not true.

RE: How set a default context

2006-09-26 Thread Angelov, Rossen
I know two ways to define a default context in Tomcat: - a Context that has an empty PATH attribute will become the default web application for the virtual host. This definitely works on Tomcat 5.5 - DefaultContext element in the Host is the other way to define a default context, but this may

RE: How set a default context

2006-09-26 Thread Ivan Balashov
set a default context Ivan Balashov wrote: > But that means the context of application will change, as opposed to making > it default. I'm not sure if this change is harmful to the application, but > if it uses e.g. context name for some reason it might be failing. > > -Ivan

Re: How set a default context

2006-09-26 Thread Mark Thomas
Ivan Balashov wrote: > But that means the context of application will change, as opposed to making > it default. I'm not sure if this change is harmful to the application, but > if it uses e.g. context name for some reason it might be failing. > > -Ivan If this is the case then you have a badly w

RE: How set a default context

2006-09-26 Thread Ivan Balashov
EMAIL PROTECTED] Sent: Tuesday, September 26, 2006 1:38 AM To: Tomcat Users List Subject: RE: How set a default context > From: Gabriel França Campolina [mailto:[EMAIL PROTECTED] > Subject: How set a default context > > but I need set the default context (http://localhost:8080) > t

RE: How set a default context

2006-09-25 Thread Caldarale, Charles R
> From: Gabriel França Campolina [mailto:[EMAIL PROTECTED] > Subject: How set a default context > > but I need set the default context (http://localhost:8080) > that call the /portal context Delete the existing webapps/ROOT directory, and rename your portal app to ROOT in the we

How set a default context

2006-09-25 Thread Gabriel França Campolina
Hi people, I need your help, I install the tomcat 5.5.17 in my sever, and I have two context in webapps: /portal and /intranet, when I start the tomcat the two application run ok, but I need set the default context ( http://localhost:8080) that call the /portal context, Someone can help me? in

Re: Can I change the default context of the manager application?

2006-08-10 Thread David Smith
[EMAIL PROTECTED] wrote: In Tomcat 5.0.x, it was possible to change the default context of the manager application by modifying the path attribute of context element, in the $CATALINA/conf/Catalina/localhost/manager.xml file, from "/manager" to something else. Then you could

Can I change the default context of the manager application?

2006-08-10 Thread Timothy.M.Long
In Tomcat 5.0.x, it was possible to change the default context of the manager application by modifying the path attribute of context element, in the $CATALINA/conf/Catalina/localhost/manager.xml file, from "/manager" to something else. Then you could access the manager applicatio

Re: how do I set up a default context for a virtual host

2006-06-21 Thread Pid
If you put wiki.war into c:/wiki it will deploy and create c:/wiki/wiki/ then the app will (if it's working) be available at: http://server:port/wiki/ teknokrat wrote: > Yeah, I have. If you have a look at the bottom I have a ROOT.xml with Read it again. > > > I have tried using just with

Re: how do I set up a default context for a virtual host

2006-06-21 Thread teknokrat
Yeah, I have. If you have a look at the bottom I have a ROOT.xml with I have tried using just with no success Pid wrote: Read the docs: http://tomcat.apache.org/tomcat-5.5-doc/config/context.html Context path attribute: "The value of this field must not be set except when statically def

Re: how do I set up a default context for a virtual host

2006-06-21 Thread Pid
Read the docs: http://tomcat.apache.org/tomcat-5.5-doc/config/context.html Context path attribute: "The value of this field must not be set except when statically defining a Context in server.xml, as it will be infered from the filenames used for either the .xml context file or the docBase."

how do I set up a default context for a virtual host

2006-06-21 Thread teknokrat
I trying to setup virtual hosts on tomcat 5.5. and windows. I have added the following to server.xml I have added context.xml to conf/Catalina/wiki.net containing Then I have added wiki.war to C:\wiki and restarted tomcat. Going to http://wiki.net produces nothing, http:/wiki.net/w

RE: Problem with default context when moving from 5.5.7 to 5.5.12

2005-12-01 Thread Caldarale, Charles R
> From: Jason Burrows [mailto:[EMAIL PROTECTED] > Subject: Re: Problem with default context when moving from > 5.5.7 to 5.5.12 > > I agree, but the best documentation I could find on this was: > http://tomcat.apache.org/tomcat-5.5-doc/config/context.html > > ...and

Re: Problem with default context when moving from 5.5.7 to 5.5.12

2005-12-01 Thread Jason Burrows
on. In addition, there is that spot (directly quoted in my first email, but I'll paraphrase here) that first says "don't put context elements in your server.xml file" then says "context elements for the default context must go in your server.xml file" and then says &qu

RE: Problem with default context when moving from 5.5.7 to 5.5.12

2005-11-30 Thread Caldarale, Charles R
> From: Jason Burrows [mailto:[EMAIL PROTECTED] > Subject: Problem with default context when moving from 5.5.7 to 5.5.12 > > Previously, I had a context.xml file in my tomcat\conf directory with > this context tag (removed sub elements for brevity): > > crossContext="

Problem with default context when moving from 5.5.7 to 5.5.12

2005-11-30 Thread Jason Burrows
Hi all - I have recently upgraded from Tomcat 5.5.7 to 5.5.12 and now I am having problems getting my default context to work correctly. I very well may have been doing this incorrectly the first time, but I still need to figure out how to get it working again. In this specific case, I am