Re: context doesnt pick up

2016-02-22 Thread Mark Thomas
On 22/02/2016 08:53, Me Self wrote: >>> Hi All >>> >>> When I put the context in server.xml it works fine, but if I put the same >>> context tag in a xml file under /conf/Catalina/localhost/test.xml then >>> tomcat doesn't pick it up. I would rather want to use the latter. > >> You need to set

Re: context doesnt pick up

2016-02-22 Thread Me Self
>> Hi All >> >> When I put the context in server.xml it works fine, but if I put the same >> context tag in a xml file under /conf/Catalina/localhost/test.xml then >> tomcat doesn't pick it up. I would rather want to use the latter. >You need to set deployOnStartup="true" for that to work. And

Re: context doesnt pick up

2016-02-21 Thread Mark Thomas
On 20/02/2016 22:40, Me Self wrote: > Hi All > > When I put the context in server.xml it works fine, but if I put the same > context tag in a xml file under /conf/Catalina/localhost/test.xml then > tomcat doesn't pick it up. I would rather want to use the latter. You need to set

Re: context doesnt pick up

2016-02-21 Thread George Sexton
On 2/20/2016 4:28 PM, Me Self wrote: I already tried an empty Context tag and no Context tag, makes no difference. Catalina.out has not error. I tried setting logging level FINE to see if there were anything related to how it scans conf/Catalina/localhost/ but nothing. Have you carefully

Re: context doesnt pick up

2016-02-21 Thread tomcat
On 20.02.2016 23:40, Me Self wrote: Hi All When I put the context in server.xml it works fine, but if I put the same context tag in a xml file under /conf/Catalina/localhost/test.xml then tomcat doesn't pick it up. I would rather want to use the latter. The test.xml is Its a set up where

RE: context doesnt pick up

2016-02-20 Thread Caldarale, Charles R
> From: prashant sharma [mailto:pacificmist.0...@gmail.com] > Subject: Re: context doesnt pick up > I thing you need to place the web app outside tomcat lets say in > /users/myfolder/test > And then set docbase path in /conf/Catalina/localhost/test.xml > to > and t

Re: context doesnt pick up

2016-02-20 Thread prashant sharma
On Sat, Feb 20, 2016 at 11:28 PM, Me Self wrote: > I already tried an empty Context tag and no Context tag, makes no > difference. Catalina.out has not error. I tried setting logging level FINE > to see if there were anything related to how it scans > conf/Catalina/localhost/

Re: context doesnt pick up

2016-02-20 Thread Me Self
OK thanks. On Sun, Feb 21, 2016 at 12:25 AM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] > > Subject: RE: context doesnt pick up > > > If all you have in the element is the docBase a

Re: context doesnt pick up

2016-02-20 Thread Me Self
I already tried an empty Context tag and no Context tag, makes no difference. Catalina.out has not error. I tried setting logging level FINE to see if there were anything related to how it scans conf/Catalina/localhost/ but nothing. On Sun, Feb 21, 2016 at 12:11 AM, Caldarale, Charles R <

RE: context doesnt pick up

2016-02-20 Thread Caldarale, Charles R
> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] > Subject: RE: context doesnt pick up > If all you have in the element is the docBase and your webapp is > located > in the 's appBase directory, you don't need a element at all. Sorry, since you have both

RE: context doesnt pick up

2016-02-20 Thread Caldarale, Charles R
> From: Me Self [mailto:wmso...@gmail.com] > Subject: context doesnt pick up > When I put the context in server.xml it works fine, but if I put the same > context tag in a xml file under /conf/Catalina/localhost/test.xml then > tomcat doesn't pick it up. I would rather want to use the latter. >