GetRealPath Alternative for WAR Deployment

2013-08-01 Thread Majors, Jeremy
I've seen multiple postings online that state that when you deploy a WAR file rather than using an exploded WAR, then the request.getServletContext().getRealPath() method returns null. Due to a requirement by my team lead, I cannot deploy the application in any other fashion besides a

Re: GetRealPath Alternative for WAR Deployment

2013-08-01 Thread Majors, Jeremy
Thanks Mark. I ended up doing something similar (added a context parameter to the context files) which are being generated by the build process. Jeremy On 8/1/13 1:19 PM, Mark Thomas ma...@apache.org wrote: On 01/08/2013 17:45, Majors, Jeremy wrote: I've seen multiple postings online

Re: Expected Delay when Switching to New Version of Application Using Parallel Deployment (Tomcat 7.0.27)

2013-07-12 Thread Majors, Jeremy
: SHA256 Jeremy, On 7/9/13 9:58 AM, Majors, Jeremy wrote: On 7/8/13 10:52 PM, Christopher Schultz ch...@christopherschultz.net wrote: Jeremy, On 7/5/13 11:24 AM, Majors, Jeremy wrote: For a simple web application, what is the expected delay when switching to new version of an application

Re: Expected Delay when Switching to New Version of Application Using Parallel Deployment (Tomcat 7.0.27)

2013-07-09 Thread Majors, Jeremy
On 7/8/13 10:52 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeremy, On 7/5/13 11:24 AM, Majors, Jeremy wrote: For a simple web application, what is the expected delay when switching to new version of an application when using

Expected Delay when Switching to New Version of Application Using Parallel Deployment (Tomcat 7.0.27)

2013-07-05 Thread Majors, Jeremy
For a simple web application, what is the expected delay when switching to new version of an application when using the parallel deployment process? I'm trying to do timings right now with a single Hello World JSP and sometimes there is a delay of up to 4 seconds when the new version of the

Tomcat 7.0.27 on Mac OSX Lion - User Migration to New Version of Application Not Occuring

2013-07-02 Thread Majors, Jeremy
I'm testing out the parallel deployment process for my company and am seeing a difference in how user migrations to the new version of the application occur based upon how you deploy your application. Our configuration involves many different web sites that all point to the same folder. Some

Re: Tomcat 7.0.27 on Mac OSX Lion - User Migration to New Version of Application Not Occuring

2013-07-02 Thread Majors, Jeremy
deployed. Thanks, Jeremy On 7/2/13 2:10 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeremy, On 7/2/13 12:09 PM, Majors, Jeremy wrote: When I run Jmeter requests consistently against website1 and then deploy the new version

Tomcat 7.0.27 on Mac OSX Lion -- Is it Possible to use Tomcat Parallel Deployment when the Context Name is Different than the WAR Name

2013-07-01 Thread Majors, Jeremy
The application I am working on currently runs in production under multiple contexts within tomcat and we are doing so by creating separate context.xml files for each where we specify the docbase which points to a single directory and each has a unique path value specified. We are currently

Re: Tomcat 7.0.27 on Mac OSX Lion -- Is it Possible to use Tomcat Parallel Deployment when the Context Name is Different than the WAR Name

2013-07-01 Thread Majors, Jeremy
On 7/1/13 2:27 PM, Mark Thomas ma...@apache.org wrote: On 01/07/2013 19:30, Majors, Jeremy wrote: The application I am working on currently runs in production under multiple contexts within tomcat and we are doing so by creating separate context.xml files for each where we specify

Re: Tomcat 7.0.27 on Mac OSX Lion -- Is it Possible to use Tomcat Parallel Deployment when the Context Name is Different than the WAR Name

2013-07-01 Thread Majors, Jeremy
On 7/1/13 4:03 PM, Mark Thomas ma...@apache.org wrote: On 01/07/2013 22:00, Caldarale, Charles R wrote: From: Mark Thomas [mailto:ma...@apache.org] Subject: Re: Tomcat 7.0.27 on Mac OSX Lion -- Is it Possible to use Tomcat Parallel Deployment when the Context Name is Different than the WAR