Re: Compressed SVG support (*.svgz) in Tomcat

2013-12-31 Thread David Law
André, regarding the "Content-Transfer-Encoding" header mentioned in: http://www.w3.org/TR/SVGTiny12/mimereg.html Content-Transfer-Encoding (CTE) is specified in RFC 2045 (MIME): http://tools.ietf.org/html/rfc2045 RFC 2616 (HTTP/1.1) states, here "19.4.5 No Content-Transfer-Encoding": "HTTP doe

Re: the acceptCount attribute not work like it's configuration

2013-12-31 Thread Mark Thomas
On 31/12/2013 02:01, 侯树成 wrote: > Hi, > Today, I find the acceptCount of connector is not work like it's config. > You can try it like this: > connectionTimeout="2" >redirectPort="8443" acceptCount="2" maxThreads="1" > minSpareThreads="1"/> > > use LR or JM

Re: doe response auto commit when browser abort or close?

2013-12-31 Thread Mark Thomas
On 31/12/2013 07:53, 侯树成 wrote: > Hi, I got an Exception like this: > > java.lang.IllegalStateException: Cannot call sendError() after the response > has been committed > > > I got it in following steps: > 1. Deploy a web app. > 2. request the app in browser, refresh the page when it not respons

Re: the acceptCount attribute not work like it's configuration

2013-12-31 Thread 侯树成
Oh, everything is default in server.xml except Connector configuration. "I have already explained how maxConnections is enforced by Tomcat." Where? When? I'm sorry, I havn't know it. "the configuration of the client (number of threads, timeouts, etc.) " --> just need a simple web app, in the servl

Single error page for multiple web applications

2013-12-31 Thread Maarten van Hulsentop
Hello, We are using Tomcat to host a number of web applications as a uniform solution. We trying to implement something that seems to be an odd requirement, even though it is really a use case for us. We would like to define a single [default] error page for all web applications residing on this

JSVC error

2013-12-31 Thread vicky
Hi,   I  have configured the below in my tomcat 7.0.39 startup script & when executing this script I 'm getting segmentation error(detailed error mentioned below)   Please suggest how to fix this.   + start up script ++ CATALINA_BASE=/root/test/tomcattest CATAL

Re: Single error page for multiple web applications

2013-12-31 Thread Serge Fonville
Hello Maarten, When I was in the same boat, I found http://stackoverflow.com/questions/13914575/how-to-build-server-level-custom-error-page-in-tomcatand http://wiki.apache.org/tomcat/FAQ/Miscellaneous#Q6 both very helpful. I found these by googling https://www.google.nl/?gws_rd=cr&ei=ALNzUtHWPKKN

Re: JSVC error

2013-12-31 Thread Konstantin Kolinko
2013/12/31 vicky : > Hi, > > I have configured the below in my tomcat 7.0.39 startup script & when > executing this script I 'm getting segmentation error(detailed error > mentioned below) > > Please suggest how to fix this. > > + start up script ++ > CATALINA

Re: JSVC error

2013-12-31 Thread vicky
Even after defining the $CATALINA_PID & $JAVA_HOME variable , i'm still the getting segmentation error(detailed error mentioned below) ++ bin/startdaemon.sh: line 13:  4402 Segmentation fault  (core dumped) ./bin/jsvc -cp $

Re: the acceptCount attribute not work like it's configuration

2013-12-31 Thread Mark Thomas
On 31/12/2013 09:42, 侯树成 wrote: > Oh, everything is default in server.xml except Connector configuration. Yes, I can read thanks. > "I have already explained how maxConnections is enforced by Tomcat." Where? > When? I'm sorry, I havn't know it. You replied to my explanation so I suggest you go b

Re: Java to JavaScript RMI framework available.

2013-12-31 Thread Leon Rosenberg
Hello Igor, this looks really promising, I will take a deeper look in next year ;-) Btw, Happy New Year to Everyone ;-) Leon On Tue, Dec 31, 2013 at 1:55 AM, Igor Urisman wrote: > Folks, > > I needed to write this for something I am working on and thought there > might be a wider audience for

Re: Single error page for multiple web applications

2013-12-31 Thread Maarten van Hulsentop
Hello Serge, Thank you for your reply. This option seems to be similar to the first thing i tried, editing conf/web.xml. As is suggested in http://stackoverflow.com/questions/13914575/how-to-build-server-level-custom-error-page-in-tomcat But contrary to what's stated in the stackoverlow message,

Re: Compressed SVG support (*.svgz) in Tomcat

2013-12-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, On 12/31/13, 2:52 AM, David Law wrote: > these are 2 completely different issues. > > svgz's should be served with the correct encoding (gzip) as > required by the W3C SVG standard. ALWAYS. > http://www.w3.org/TR/SVG11/conform.html#Conform

Re: the acceptCount attribute not work like it's configuration

2013-12-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 12/31/13, 6:11 AM, Mark Thomas wrote: > On 31/12/2013 09:42, 侯树成 wrote: >> Oh, everything is default in server.xml except Connector >> configuration. > > Yes, I can read thanks. > >> "I have already explained how maxConnections is enforce

Re: Compressed SVG support (*.svgz) in Tomcat

2013-12-31 Thread André Warnier
David Law wrote: André, regarding the "Content-Transfer-Encoding" header mentioned in: http://www.w3.org/TR/SVGTiny12/mimereg.html Content-Transfer-Encoding (CTE) is specified in RFC 2045 (MIME): http://tools.ietf.org/html/rfc2045 RFC 2616 (HTTP/1.1) states, here "19.4.5 No Content-Transfer-En

Re: the acceptCount attribute not work like it's configuration

2013-12-31 Thread Mark Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 31/12/2013 14:43, Christopher Schultz wrote: > Mark, > > On 12/31/13, 6:11 AM, Mark Thomas wrote: >> On 31/12/2013 09:42, 侯树成 wrote: >>> Oh, everything is default in server.xml except Connector >>> configuration. > >> Yes, I can read thanks. > >

Re: JSVC error

2013-12-31 Thread André Warnier
vicky wrote: Even after defining the $CATALINA_PID & $JAVA_HOME variable , i'm still the getting segmentation error(detailed error mentioned below) In my experience, a "segmentation fault" often occurs when the *binary* that you are trying to run, is not made for the platform on which you ar

Re: Compressed SVG support (*.svgz) in Tomcat

2013-12-31 Thread David Law
Chris, there's nothing to debate: the standard says svgz's need Content-Encoding: gzip so thats what we have to do. At this rate, we'll never get the Internet finished by Easter... Happy New Year, DaveLaw On 31/12/2013 15:23, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash:

max_packet_size for data in mod_jk

2013-12-31 Thread frenchc44
Due to large payloads, we wanted to increase the max_packet size of the mod_jk/ajp layer in order to see if it will help with performance. However, it appears the max_packet_size for non- header requests is capped at 8192 bytes despite the documentation stating that it should be 65536. I am using m

Re: Single error page for multiple web applications

2013-12-31 Thread Leo Donahue
On Dec 31, 2013 3:15 AM, "Maarten van Hulsentop" wrote: > > Hello, > > We are using Tomcat to host a number of web applications as a uniform > solution. We trying to implement something that seems to be an odd > requirement, evh it is really a use case for us. > > We would like to define a single