RE: parallel deployment question

2013-11-22 Thread Caldarale, Charles R
> From: Leo Donahue - OETX [mailto:leodona...@mail.maricopa.gov] > Subject: RE: parallel deployment question > > http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Naming > "If a version is specified then the context path remains unchanged (the path > being demo) and both the **context

RE: parallel deployment question

2013-11-22 Thread Leo Donahue - OETX
>-Original Message- >From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] >Subject: RE: parallel deployment question > >> From: Leo Donahue - OETX [mailto:leodona...@mail.maricopa.gov] >> Subject: RE: parallel deployment question > >> I guess I thought it would get the path name f

RE: parallel deployment question

2013-11-22 Thread Caldarale, Charles R
> From: Leo Donahue - OETX [mailto:leodona...@mail.maricopa.gov] > Subject: RE: parallel deployment question > I guess I thought it would get the path name from the name of the .war file. Read the doc: http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Naming > deploying demo##001.war

PUT large file to Tomcat 6/7

2013-11-22 Thread Yang,Gem
Hi there, Here is the context for this question: I have a file upload service running on Tomcat 6/7 using PUT method. The file could be very big, say a few GBs. The service needs to save the file to disk first. Then do checksum, digest the content(running some format conversion code against

RE: parallel deployment question

2013-11-22 Thread Leo Donahue - OETX
>-Original Message- >From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] >Subject: RE: parallel deployment question > >> From: Leo Donahue - OETX [mailto:leodona...@mail.maricopa.gov] >> Subject: parallel deployment question > >> When I parallel deploy demo##001.war, in my servle

RE: parallel deployment question

2013-11-22 Thread Caldarale, Charles R
> From: Leo Donahue - OETX [mailto:leodona...@mail.maricopa.gov] > Subject: parallel deployment question > When I parallel deploy demo##001.war, in my servlet, when I use: > servletContext.getContextPath(); it prints: /demo > Why doesn't it print /demo##001 ? Because the context path is the

parallel deployment question

2013-11-22 Thread Leo Donahue - OETX
I experimented with deploying a demo.war and a demo##001.war When I parallel deploy demo##001.war, in my servlet, when I use: servletContext.getContextPath(); it prints: /demo Why doesn't it print /demo##001 ? If I do: servletContext.getRealPath(getServletName()); it prints: C:\ApacheTom

Re: mod_jk.conf redirect context to different tomcat url

2013-11-22 Thread srinivas yelamanchili
Neven, you are the MAN !!! It worked ! I uncommented the below line in httpd.conf: #LoadModule rewrite_module modules/mod_rewrite.so and added: RewriteEngine on RewriteRule ^/AppXyz(.*) /App$1 [R,L] Thank you, -sri On Friday, November 22, 2013 3:01 PM, Neven Cvetkovic wrote:

Re: mod_jk.conf redirect context to different tomcat url

2013-11-22 Thread Neven Cvetkovic
On Fri, Nov 22, 2013 at 2:49 PM, srinivas yelamanchili wrote: > I tried each of these lines and they don't work: > Redirect /AppXyz /App > Alias /AppXyz /App > > The apache access_log file shows: > GET /AppXyz/javascript/mojo/js/source/... > > Shouldn't it be 'App' instead of 'AppXyz' ? > > Sri, u

Re: mod_jk.conf redirect context to different tomcat url

2013-11-22 Thread srinivas yelamanchili
I tried each of these lines and they don't work: Redirect /AppXyz /App Alias /AppXyz /App The apache access_log file shows: GET /AppXyz/javascript/mojo/js/source/... Shouldn't it be 'App' instead of 'AppXyz' ? Thanks, -sri On Friday, November 22, 2013 8:46 AM, srinivas yelamanchili wrote:

RE: [OT] How to Deploy an Update to War File

2013-11-22 Thread Crystal Maramba
-Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Thursday, November 21, 2013 5:54 PM To: Tomcat Users List Subject: Re: [OT] How to Deploy an Update to War File -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leo, On 11/21/13, 6:06 PM, Leo Donah

Re: [OT] Issue with cgi/perl webpage

2013-11-22 Thread Felipe
Interesting, so do container-based systems such as Tomcat rely heavely on httpd? I've read that many people use Tomcat just for webapp deployment and use apache to handle static pages, among other things, but is it reasonable to use Tomcat to handle static pages, or is it solely for webapp server?

Re: mod_jk.conf redirect context to different tomcat url

2013-11-22 Thread srinivas yelamanchili
Thanks Neven, I will try that and also the 'Alias' http://httpd.apache.org/docs/current/mod/mod_alias.html On Friday, November 22, 2013 8:21 AM, Neven Cvetkovic wrote: On Fri, Nov 22, 2013 at 7:56 AM, srinivas yelamanchili wrote: > So today Apache requests for /App and /AppXyz go to Tom

Re: mod_jk.conf redirect context to different tomcat url

2013-11-22 Thread Neven Cvetkovic
On Fri, Nov 22, 2013 at 7:56 AM, srinivas yelamanchili wrote: > So today Apache requests for /App and /AppXyz go to Tomcat /App and > /AppXyz respectively. > > Now I want to change this redirection so all Apache requests of type /App* > go to Tomcat /App only (and not AppXyz) > How to accomplish t

mod_jk.conf redirect context to different tomcat url

2013-11-22 Thread srinivas yelamanchili
Hi, my tomcat webapps has folders App and AppXyz and apache mod_jk.conf has the line: JkMount /App* worker1 So today Apache requests for /App and /AppXyz go to Tomcat /App and /AppXyz respectively. Now I want to change this redirection so all Apache requests of type /App* go to Tomcat /App onl