RE: Java +GC question

2013-11-24 Thread Caldarale, Charles R
> From: Howard W. Smith, Jr. [mailto:smithh032...@gmail.com] > Subject: Re: Java +GC question > > Whatever happened to the "Never change a running system" ? > I usually hear it said like this, if it ain't broke, then don't fix it. :) There's always the Red Green version: "If it ain't broke, you

Re: Java +GC question

2013-11-24 Thread Howard W. Smith, Jr.
On Sun, Nov 24, 2013 at 7:15 PM, André Warnier wrote: > Caldarale, Charles R wrote: > >> From: André Warnier [mailto:a...@ice-sa.com] Subject: Java +GC question >>> >> >> java version "1.6.0_26" >>> >> >> Do we need to tell you to upgrade? >> > > Whatever happened to the "Never change a running

IllegalStateException sending WebSocket message that worked a few months ago

2013-11-24 Thread Nick Williams
I've written a simple Servlet/WebSocket client that sends a message over the Session each time a GET request comes in. This worked a few months ago: @Override protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException

Re: Java +GC question

2013-11-24 Thread David Kerber
On 11/24/2013 7:15 PM, André Warnier wrote: First of all, thanks for the analysis. Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Java +GC question java version "1.6.0_26" Do we need to tell you to upgrade? Whatever happened to the "Never change a runni

RE: Java +GC question

2013-11-24 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: Java +GC question > Whatever happened to the "Never change a running system" ? What? And not give people something to do? > > It's a little odd in that there are very few minor GCs occurring. This > > would > > imply that whateve

Re: PUT large file to Tomcat 6/7

2013-11-24 Thread Konstantin Kolinko
2013/11/23 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 som

Non-blocking IO Question

2013-11-24 Thread Daniel Mikusa
I have a question on usage with non-blocking IO. I'm setting up a ReadListener which implements onDataAvailable like this... @Override public void onDataAvailable() throws IOException { while (input.isReady()) {

Re: Java +GC question

2013-11-24 Thread André Warnier
First of all, thanks for the analysis. Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Java +GC question java version "1.6.0_26" Do we need to tell you to upgrade? Whatever happened to the "Never change a running system" ? Seriously, that system is not g

Re: Tomcat slow during startup >= 7.0.28

2013-11-24 Thread Konstantin Kolinko
2013/11/21 Robert Olofsson : > > On 11/21/2013 03:17 PM, Mark Thomas wrote: >> >> You appear to be complaining about specification mandated behaviour. The >> scan is required as soon as there is an SCI that declares an interest in >> a class. > > As far as I know we do not use any such thing. > We

RE: Java +GC question

2013-11-24 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Java +GC question > java version "1.6.0_26" Do we need to tell you to upgrade? > to a Java expert eye, does the following GC trace look "normal" , or > "pathological", or in-between ? It's a little odd in that there are very few minor

Re: [OT] Issue with cgi/perl webpage

2013-11-24 Thread André Warnier
Felipe wrote: Interesting, so do container-based systems such as Tomcat rely heavely on httpd? Not necessarily. Read on. 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 st

Java +GC question

2013-11-24 Thread André Warnier
Hi. This is not a pure Tomcat question, just related. I hope that the Java expertise present on this list might allow a quick rough answer. OS : Debian 3.2.46-1~bpo60+1 i686 GNU/Linux Java info : # java -server -version java version "1.6.0_26" Java(TM) SE Runtime Environment (build 1.6.0_26-b0

Re: with useHttpOnly="true" my browser could access cookies through javascript.

2013-11-24 Thread sush3152 .
Thanks Chris.This is really useful. As you suggested,this time i let tomcat to manage the sessionID by removing response.setHeader("SET-COOKIE", "JSESSIONID=" + sessionid. from the code.I could see the below result Set-Cookie: JSESSIONID=01D4A20F51FCE8F8401B47999524D8AB; Path=/UserHttpOnlyTest/