Re: Multi-Level Context Paths

2009-08-19 Thread André Warnier
Caldarale, Charles R wrote: From: Andy Ee [mailto:and...@sysatwork.com] Subject: RE: Multi-Level Context Paths My sg#server#test.xml deployed the sg#server#test.war file and created the project dir as /webapps/sg#server#test/ instead of /webapps/sg#server#test/ I know my eyes are getting

RE: Multi-Level Context Paths

2009-08-18 Thread Andy Ee
for now until sitemesh is better supported on my system. Thanks all. Best Regards, Andy Ee -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Wednesday, August 19, 2009 12:28 PM To: Tomcat Users List Subject: RE: Multi-Level Context Paths > F

RE: Multi-Level Context Paths

2009-08-18 Thread Caldarale, Charles R
> From: Andy Ee [mailto:and...@sysatwork.com] > Subject: RE: Multi-Level Context Paths > > My sg#server#test.xml deployed the sg#server#test.war file and > created the project dir as /webapps/sg#server#test/ instead of > /webapps/sg#server#test/ I know my eyes are getting o

RE: Multi-Level Context Paths

2009-08-18 Thread Andy Ee
[mailto:mgai...@hotmail.com] Sent: Wednesday, August 19, 2009 9:59 AM To: Tomcat Users List Subject: RE: Multi-Level Context Paths did you check both of these files exist? /usr/local/apache-tomcat/webapps/sg/WEB-INF/sitemesh.xml/usr/local/apache-to mcat/webapps/sg/WEB-INF/decorators.xml if so please display

RE: Multi-Level Context Paths

2009-08-18 Thread Martin Gainty
and...@sysatwork.com > To: users@tomcat.apache.org > Subject: RE: Multi-Level Context Paths > Date: Wed, 19 Aug 2009 09:25:02 +0800 > > Hi Martin, > > Under WEB-INF/sitemesh.xml: > > > > > > class=&qu

RE: Multi-Level Context Paths

2009-08-18 Thread Andy Ee
List Subject: RE: Multi-Level Context Paths Andy can you display contents of WEB-INF/sitemesh.xml thanks, Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der

RE: Multi-Level Context Paths

2009-08-18 Thread Martin Gainty
100 > From: ma...@apache.org > To: users@tomcat.apache.org > Subject: Re: Multi-Level Context Paths > > Andy Ee wrote: > > Hi Mark, > > > > Thank you and I will try disabling both the autoDeploy and deployOnStartup. > > > > I actually created sg#serve

Re: Multi-Level Context Paths

2009-08-18 Thread Mark Thomas
Andy Ee wrote: > Hi Mark, > > Thank you and I will try disabling both the autoDeploy and deployOnStartup. > > I actually created sg#server#test.xml under Catalina/localhost/ and points > docBase="/usr/local/apache-tomcat/sg#server#test.war". After I started up > Tomcat, it deployed the war file a

RE: Multi-Level Context Paths

2009-08-18 Thread Andy Ee
To: Tomcat Users List Subject: Re: Multi-Level Context Paths Andy Ee wrote: > I would appreciate if anybody can tell if he/she has successfully deployed > with multi-level context path. Yep. Works like a charm in 6.0.18 and 6.0.20. > I tried having the context element (given below) inside

Re: Multi-Level Context Paths

2009-08-18 Thread Mark Thomas
Andy Ee wrote: > I would appreciate if anybody can tell if he/she has successfully deployed > with multi-level context path. Yep. Works like a charm in 6.0.18 and 6.0.20. > I tried having the context element (given below) inside server.xml and the > multi-level context path works! > > crossCont

RE: Multi-Level Context Paths

2009-08-18 Thread Andy Ee
Blagojevic [mailto:ogn...@etf.bg.ac.rs] Sent: Monday, August 17, 2009 7:54 PM To: Tomcat Users List Subject: Re: Multi-Level Context Paths Try here: http://www.opensymphony.com/sitemesh/userForums.action Regards, Ognjen Andy Ee wrote: > Hi Ognjen, > > Are you able to advice the mailin

Re: Multi-Level Context Paths

2009-08-18 Thread Ognjen Blagojevic
Andy Ee wrote: Other 2 questions: 1) Can I exclude the META-INF/context.xml file in the war file? This context.xml that will be copied to conf/Catalina/localhost after deployment, so that I can be sure this is not the problem to the setup of multi-level context path? Yes, you can. 2) When we

RE: Multi-Level Context Paths

2009-08-17 Thread Andy Ee
sg#server#test.war again? Thank you. Best Regards, Andy Ee -Original Message- From: David Smith [mailto:d...@cornell.edu] Sent: Monday, August 17, 2009 8:37 PM To: Tomcat Users List Subject: Re: Multi-Level Context Paths Drop the path attribute from your ... definition. The path

Re: Multi-Level Context Paths

2009-08-17 Thread David Smith
worried it will conflict how I setup > Multi-Level path. > > Best Regards, > Andy Ee > > > > -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Monday, August 17, 2009 7:04 PM > To: Tomcat Users List > Subject: Re: Multi-Level Context

Re: Multi-Level Context Paths

2009-08-17 Thread Ognjen Blagojevic
...@etf.bg.ac.rs] Sent: Monday, August 17, 2009 7:31 PM To: Tomcat Users List Subject: Re: Multi-Level Context Paths Hi Andy, On Tomcat side everything seems to work just fine. It seems that sitemash (wrongly) assumes the location of the file config file. Try on sitemesh forum/mailing list. > Cau

RE: Multi-Level Context Paths

2009-08-17 Thread Andy Ee
-Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Monday, August 17, 2009 7:04 PM To: Tomcat Users List Subject: Re: Multi-Level Context Paths Andy Ee wrote: > There is a new requirement to setup multi-level context path as in I need > the URL to be

RE: Multi-Level Context Paths

2009-08-17 Thread Andy Ee
Hi Mark, Please see my responses below. Thanks. Best Regards, Andy Ee -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Monday, August 17, 2009 7:04 PM To: Tomcat Users List Subject: Re: Multi-Level Context Paths Andy Ee wrote: > There is a new requirement

RE: Multi-Level Context Paths

2009-08-17 Thread Andy Ee
not read config file : /WEB-INF/sitemesh.xml: java.io.FileNotFoundException: > /usr/local/apache-tomcat/webapps/sg (No such file or directory) > > at com.opensymphony.module.sitemesh.Factory.report(Factory.java:87) > > at > com.opensymphony.module.sitemesh.facto

Re: Multi-Level Context Paths

2009-08-17 Thread Ognjen Blagojevic
.@etf.bg.ac.rs] Sent: Monday, August 17, 2009 7:00 PM To: Tomcat Users List Subject: Re: Multi-Level Context Paths Hi Andy, Try to undeploy the old application. Rename the test.war to sg#server#test.war, and deploy it. Regards, Ognjen Andy Ee wrote: Dear All,

RE: Multi-Level Context Paths

2009-08-17 Thread Andy Ee
WebApplicationContext Any idea? Thanks. Best Regards, Andy Ee -Original Message- From: Ognjen Blagojevic [mailto:ogn...@etf.bg.ac.rs] Sent: Monday, August 17, 2009 7:00 PM To: Tomcat Users List Subject: Re: Multi-Level Context Paths Hi Andy, Try to undeploy the old ap

Re: Multi-Level Context Paths

2009-08-17 Thread Mark Thomas
Andy Ee wrote: > There is a new requirement to setup multi-level context path as in I need > the URL to be Remove all the old files you no longer want: $CATALINA_BASE/webapps/test.war $CATALINA_BASE/conf/Catalina/localhost/test.xml $CATALINA_BASE/conf/Catal

Re: Multi-Level Context Paths

2009-08-17 Thread Ognjen Blagojevic
Hi Andy, Try to undeploy the old application. Rename the test.war to sg#server#test.war, and deploy it. Regards, Ognjen Andy Ee wrote: Dear All, I need an urgent help, and I hope you will shed some light to it. I have recently installed Apache Tomcat version 6.0.20. I copied my