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
checked your permissions on the context xml, and the actual directory where the application is deployed? I mean really carefully? On Sun, Feb 21, 2016 at 12:11 AM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: From: Me Self [mailto:wmso...@gmail.com] Subject: context doesnt p

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
chuck.caldar...@unisys.com> wrote: > > > > 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/C

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
< chuck.caldar...@unisys.com> wrote: > > 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

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

context doesnt pick up

2016-02-20 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. The test.xml is Its a set up where the tomcat user has no write access to