Re: Tomcat 6 Context not created, deployment fails

2011-04-25 Thread John G .
Mark Thomas markt at apache.org writes: On 22/03/2011 21:53, Billy Bacon wrote: Awesome Mark, that worked perfectly! I'd like to actually run the app out of the war file without exploding it and I was able to accomplish this by setting unpackWARs=false in the server.xml. It

RE: Tomcat 6 Context not created, deployment fails

2011-04-25 Thread Caldarale, Charles R
From: John G. [mailto:unfolding...@gmail.com] Subject: Re: Tomcat 6 Context not created, deployment fails In regards to your recommendations, the documentation and in line with multiple contexts sharing a single war file: - the situation is like the one above Not sure what that means

Re: Tomcat 6 Context not created, deployment fails

2011-03-24 Thread Mark Thomas
On 22/03/2011 22:04, Mark Thomas wrote: There is certainly scope in there for a sentence or two about deploying a WAR/directory under a context path not related to its name and/or deploying a WAR/directory it multiple times. Drafts welcome. I added some more info:

Re: Tomcat 6 Context not created, deployment fails

2011-03-22 Thread Mark Thomas
On 22/03/2011 20:14, Billy Bacon wrote: Does anyone know what I'm doing wrong? Move the WAR file *outside* of the host's appBase (i.e. not in the webapps directory) and specify the docBase in your context.xml files. Mark - To

Re: Tomcat 6 Context not created, deployment fails

2011-03-22 Thread Billy Bacon
Thanks so much for the reply Mark. I did the following and I'm still getting issues. Note I tried 2 things: 1st: - created $CATALINA_HOME/wars and placed the onlinecourses.war file in there - cleaned out all old files from $CATALINA_HOME/work/... $CATALINA_HOME/webapps - removed

Re: Tomcat 6 Context not created, deployment fails

2011-03-22 Thread Mark Thomas
On 22/03/2011 21:09, Billy Bacon wrote: 2nd: So I then tried using an absolute path for the docBase in the Context. Yes it will need to be absolute. Relative docBases are resolved relative to the Host's appBase. Context docBase=/usr/local/tomcat8081/wars Getting closer. A docBase needs to

Re: Tomcat 6 Context not created, deployment fails

2011-03-22 Thread Billy Bacon
Awesome Mark, that worked perfectly! I'd like to actually run the app out of the war file without exploding it and I was able to accomplish this by setting unpackWARs=false in the server.xml. I know this isn't 'preferred' but how would I go about 'hot-patching' let's say a JSP for the webapp

Re: Tomcat 6 Context not created, deployment fails

2011-03-22 Thread Mark Thomas
On 22/03/2011 21:53, Billy Bacon wrote: Awesome Mark, that worked perfectly! I'd like to actually run the app out of the war file without exploding it and I was able to accomplish this by setting unpackWARs=false in the server.xml. It shouldn't be doing that if the WAR is outside the

Re: Tomcat 6 Context not created, deployment fails

2011-03-22 Thread Konstantin Kolinko
2011/3/23 Mark Thomas ma...@apache.org: On 22/03/2011 21:09, Billy Bacon wrote: 2nd: So I then tried using an absolute path for the docBase in the Context. Yes it will need to be absolute. Relative docBases are resolved relative to the Host's appBase. Context