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 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

RE: Multi-Level Context Paths

2009-08-18 Thread Andy Ee
. Thank you. Best Regards, Andy Ee -Original Message- From: Ognjen 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

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! Context

RE: Multi-Level Context Paths

2009-08-18 Thread Andy Ee
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 server.xml

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 and

RE: Multi-Level Context Paths

2009-08-18 Thread Martin Gainty
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#server#test.xml under Catalina/localhost/ and points docBase=/usr/local/apache-tomcat/sg#server

RE: Multi-Level Context Paths

2009-08-18 Thread Andy Ee
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#server#test.xml under Catalina/localhost/ and points docBase=/usr/local/apache-tomcat/sg#server

RE: Multi-Level Context Paths

2009-08-18 Thread Martin Gainty
@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: sitemesh property name=decorators-file value=/WEB-INF/decorators.xml/ excludes file=${decorators-file}/ page-parsers parser default=true class

RE: Multi-Level Context Paths

2009-08-18 Thread Andy Ee
=${decorators-file}/ /mapper /decorator-mappers /sitemesh Best Regards, Andy Ee -Original Message- From: Martin Gainty [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

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 old, but those sure look

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 From

Multi-Level Context Paths

2009-08-17 Thread Andy Ee
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 project file (test.war) under /usr/local/apache-tomcat-6.0.20/webapps/ and it deployed successfully. I can access the site via the URL of

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

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 http://localhost:8080/sg/server/test/ Remove all the old files you no longer want: $CATALINA_BASE/webapps/test.war $CATALINA_BASE/conf/Catalina/localhost/test.xml

RE: Multi-Level Context Paths

2009-08-17 Thread Andy Ee
? 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 application. Rename the test.war

Re: Multi-Level Context Paths

2009-08-17 Thread Ognjen Blagojevic
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, I need an urgent help, and I hope you

RE: Multi-Level Context Paths

2009-08-17 Thread Andy Ee
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, I need an urgent help, and I hope you

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
: 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 http://localhost:8080/sg/server/test/ Remove all the old files you no longer want: $CATALINA_BASE

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. Caused

Re: Multi-Level Context Paths

2009-08-17 Thread David Smith
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 http://localhost:8080/sg/server/test/ Remove all the old files you no longer want: $CATALINA_BASE/webapps/test.war

RE: Multi-Level Context Paths

2009-08-17 Thread Andy Ee
into 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 Context ... .../Context

Auto-deploying to multi-level context paths

2006-10-30 Thread Johnson, David
Is there any way to set up an application so that the auto-deployer will place it at a context path containing more than one level? For example, I want my application at /hr/policies. I can setup the context like this in server.xml, but this is bad because I would need a server restart to change