RE: [URGENT] Content-Encoding: gzip not set

2015-03-09 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: [URGENT] Content-Encoding: gzip not set > > > If there's something that drives me absolutely nuts it's people > > > that say "read the documentation" when you ask them for help. > It's a pity in a way. I'm sure that your response woul

Re: [URGENT] Content-Encoding: gzip not set

2015-03-09 Thread André Warnier
Mark Thomas wrote: On 09/03/2015 21:53, Christopher Schultz wrote: Victor, On 3/9/15 5:44 PM, Victor Rodriguez wrote: Brilliant Chris! However, if it were that easy, I would have already found it and figured it out. That's why I'm asking the experts on this list for HELP! Not for someone to

Re: [URGENT] Content-Encoding: gzip not set

2015-03-09 Thread André Warnier
Rainer Jung wrote: Am 09.03.2015 um 23:11 schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Igor, On 3/9/15 6:01 PM, Igor Cicimov wrote: On 10/03/2015 6:14 AM, "Victor Rodriguez" wrote: Greetings, I have some ALREADY gzipped files that I'm trying to serve up. I

Re: [URGENT] Content-Encoding: gzip not set

2015-03-09 Thread Mark Thomas
On 09/03/2015 21:53, Christopher Schultz wrote: > Victor, > > On 3/9/15 5:44 PM, Victor Rodriguez wrote: >> Brilliant Chris! However, if it were that easy, I would have >> already found it and figured it out. That's why I'm asking the >> experts on this list for HELP! Not for someone to tell me

Re: [URGENT] Content-Encoding: gzip not set

2015-03-09 Thread Rainer Jung
Am 09.03.2015 um 23:11 schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Igor, On 3/9/15 6:01 PM, Igor Cicimov wrote: On 10/03/2015 6:14 AM, "Victor Rodriguez" wrote: Greetings, I have some ALREADY gzipped files that I'm trying to serve up. I have the following

Re: How to access JNDI Directory Context in Tomcat 8

2015-03-09 Thread Thufir
On Mon, 09 Mar 2015 14:11:08 -0400, Christopher Schultz wrote: >> how can that be modified to load the jndi.properties file? > > The javadoc for InitialContext seems to indicate that this file will be > processed automatically. > > If it isn't processed automatically, I'd suggest trying to figur

Re: [URGENT] Content-Encoding: gzip not set

2015-03-09 Thread Igor Cicimov
On 10/03/2015 9:13 AM, "Christopher Schultz" wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Igor, > > On 3/9/15 6:01 PM, Igor Cicimov wrote: > > On 10/03/2015 6:14 AM, "Victor Rodriguez" > > wrote: > >> > >> Greetings, > >> > >> I have some ALREADY gzipped files that I'm trying

Re: [URGENT] Content-Encoding: gzip not set

2015-03-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Igor, On 3/9/15 6:01 PM, Igor Cicimov wrote: > On 10/03/2015 6:14 AM, "Victor Rodriguez" > wrote: >> >> Greetings, >> >> I have some ALREADY gzipped files that I'm trying to serve up. >> >> I have the following in my web.xml. >> >> json >> ap

Re: [URGENT] Content-Encoding: gzip not set

2015-03-09 Thread Igor Cicimov
On 10/03/2015 6:14 AM, "Victor Rodriguez" wrote: > > Greetings, > > I have some ALREADY gzipped files that I'm trying to serve up. > > I have the following in my web.xml. > > > json > application/gzip > > > > And, I have the following in my server.xml: > > > > > From the command line, I

Re: [URGENT] Content-Encoding: gzip not set

2015-03-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Victor, On 3/9/15 5:44 PM, Victor Rodriguez wrote: > Brilliant Chris! However, if it were that easy, I would have > already found it and figured it out. That's why I'm asking the > experts on this list for HELP! Not for someone to tell me that "I

Re: [URGENT] Content-Encoding: gzip not set

2015-03-09 Thread Victor Rodriguez
Brilliant Chris! However, if it were that easy, I would have already found it and figured it out. That's why I'm asking the experts on this list for HELP! Not for someone to tell me that "I ought to read the documentation for the feature I'm trying to use." If there's something that drives me a

Re: [URGENT] Content-Encoding: gzip not set

2015-03-09 Thread Mark Thomas
On 09/03/2015 21:25, Victor Rodriguez wrote: > Thanks Mark! Unfortunately, that is not an option. The client will be > requesting the files without the .gz extension. Who said anything about the client having to change the file name it was requesting? Did you even look at the documentation for

Re: [URGENT] Content-Encoding: gzip not set

2015-03-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Victor, On 3/9/15 5:25 PM, Victor Rodriguez wrote: > Thanks Mark! Unfortunately, that is not an option. The client > will be requesting the files without the .gz extension. > > On Mon, Mar 9, 2015 at 2:01 PM, Mark Thomas > wrote: > >> On 09/03/

Re: [URGENT] Content-Encoding: gzip not set

2015-03-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Victor, On 3/9/15 3:12 PM, Victor Rodriguez wrote: > I have some ALREADY gzipped files that I'm trying to serve up. See Mark's reply for how to do what you are trying to do. I'd like to comment, here, though. > I have the following in my web.xml.

Re: [URGENT] Content-Encoding: gzip not set

2015-03-09 Thread Victor Rodriguez
Thanks Mark! Unfortunately, that is not an option. The client will be requesting the files without the .gz extension. On Mon, Mar 9, 2015 at 2:01 PM, Mark Thomas wrote: > On 09/03/2015 19:12, Victor Rodriguez wrote: > > > How do I tell Tomcat to include the Content-Encoding: gzip response > >

Re: [URGENT] Content-Encoding: gzip not set

2015-03-09 Thread Mark Thomas
On 09/03/2015 19:12, Victor Rodriguez wrote: > How do I tell Tomcat to include the Content-Encoding: gzip response > header? Again, these area ALREADY zipped files. I'm not interested in > Tomcat doing the gziping on the fly. Add .gz to the end of the file name and set gzip="true" for the defau

[URGENT] Content-Encoding: gzip not set

2015-03-09 Thread Victor Rodriguez
Greetings, I have some ALREADY gzipped files that I'm trying to serve up. I have the following in my web.xml. json application/gzip And, I have the following in my server.xml: >From the command line, I can curl the files and gunzip them just fine, so they are coming across gzippe

Re: restricting access to images

2015-03-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Carl, On 3/9/15 12:04 PM, Carl Dreher wrote: > I need to restrict access to a website's images, to people that > have logged on, have authorization etc. I've searched though the > Tomcat user's mailing list archives and didn't find a discussion > t

Re: How to access JNDI Directory Context in Tomcat 8

2015-03-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Thufir, On 3/9/15 12:47 PM, Thufir wrote: > On Mon, 09 Mar 2015 08:59:33 +, Mark Thomas wrote: > >> On 09/03/2015 03:59, Thusitha Thilina Dayaratne wrote: >>> Hi, >>> >>> I want to access the JNDI Directory context in Tomcat8. I've >>> used *D

RE: restricting access to images

2015-03-09 Thread Caldarale, Charles R
> From: Carl Dreher [mailto:focus...@arn.net] > Subject: restricting access to images > I need to restrict access to a website's images, to people that have > logged on, have authorization etc. I've searched though the Tomcat > user's mailing list archives and didn't find a discussion that add

Re: How to access JNDI Directory Context in Tomcat 8

2015-03-09 Thread Thufir
On Mon, 09 Mar 2015 08:59:33 +, Mark Thomas wrote: > On 09/03/2015 03:59, Thusitha Thilina Dayaratne wrote: >> Hi, >> >> I want to access the JNDI Directory context in Tomcat8. I've used >> *DirContextURLStreamHandler* class which was in Tomcat 7. But now that >> has been removed. >> Can some

restricting access to images

2015-03-09 Thread Carl Dreher
I need to restrict access to a website's images, to people that have logged on, have authorization etc. I've searched though the Tomcat user's mailing list archives and didn't find a discussion that addressed this, so I thought I'd asked for some architectural guidance. My initial thought is

Re: Tomcat 8 embedded - ERROR {org.apache.catalina.core.ContainerBase} - A child container failed during start

2015-03-09 Thread David kerber
On 3/6/2015 11:59 PM, Thusitha Thilina Dayaratne wrote: Caused by: java.lang.Error: factory already defined - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat

Re: Is org.apache.naming.resources package have been removed in tomcat 8.0.20?

2015-03-09 Thread David kerber
On 3/7/2015 10:55 AM, Thusitha Thilina Dayaratne wrote: Hi, First I would like to apologies for any inconvenience caused. I'll ask again. What are you trying to do? Difficult to say unless you tell us what problem you're actually trying to solve rather than yet again what you think should be

Re: java.lang.Error: factory already defined when trying to start the Tomcat

2015-03-09 Thread Mark Thomas
On 09/03/2015 09:34, Thusitha Thilina Dayaratne wrote: > Hi, > > When I'm trying to start the embedded tomcat server I'm getting following > exception. Could someone tell me why am I getting that? Did I missed > anything in configuration? > I'm using JDK 1.8 and tomcat 8.0.20 The more times you a

java.lang.Error: factory already defined when trying to start the Tomcat

2015-03-09 Thread Thusitha Thilina Dayaratne
Hi, When I'm trying to start the embedded tomcat server I'm getting following exception. Could someone tell me why am I getting that? Did I missed anything in configuration? I'm using JDK 1.8 and tomcat 8.0.20 ERROR {org.apache.catalina.core.ContainerBase} - A child container failed > during sta

Re: How to access JNDI Directory Context in Tomcat 8

2015-03-09 Thread Thusitha Thilina Dayaratne
Hi Mark, Thanks for the quick response. Regards /Thusitha On Mon, Mar 9, 2015 at 2:29 PM, Mark Thomas wrote: > On 09/03/2015 03:59, Thusitha Thilina Dayaratne wrote: > > Hi, > > > > I want to access the JNDI Directory context in Tomcat8. I've used > > *DirContextURLStreamHandler* class which w

Re: How to access JNDI Directory Context in Tomcat 8

2015-03-09 Thread Mark Thomas
On 09/03/2015 03:59, Thusitha Thilina Dayaratne wrote: > Hi, > > I want to access the JNDI Directory context in Tomcat8. I've used > *DirContextURLStreamHandler* class which was in Tomcat 7. But now that has > been removed. > Can someone tell me how can I access the JNDI Directory Context in Tomca

Re: Potential IndexOutBounds in AbstractServletInputStream::readLine() ?

2015-03-09 Thread Oswaldo Olivo
Hi, Thanks for you detailed answer. I guess I was misunderstanding the specification. Regards, Oswaldo. On Sat, Mar 7, 2015 at 1:47 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Oswaldo, > > On 3/4/15 12:10 AM, Oswaldo Oliv