Re: My use of Spring MVC's DeferredResult class causes Tomcat 7.0.35 to crash silently

2013-03-22 Thread Julien Martin
From: Julien Martin [mailto:bal...@gmail.com] Subject: Re: My use of Spring MVC's DeferredResult class causes Tomcat 7.0.35 to crash silently The 9th method invocation causes Tomcat to hang. When you issue requests after that, they also hang. That's quite different from a crash. Can you

Re: My use of Spring MVC's DeferredResult class causes Tomcat 7.0.35 to crash silently

2013-03-22 Thread Julien Martin
configuration... Sorry: it is slightly offtopic now. I guess this is no longer a Tomcat question so I should post it elsewhere. Julien. 2013/3/22 Caldarale, Charles R chuck.caldar...@unisys.com From: Julien Martin [mailto:bal...@gmail.com] Subject: Re: My use of Spring MVC's DeferredResult

Where does Tomcat log the logAbandoned information?

2013-03-22 Thread Julien Martin
Hello, I have enabled the *logAbandoned* property as follows (in Spring): property name=maxActive value=2/ property name=logAbandoned value=true/ property name=removeAbandoned value=true/ I know for certain it is taken into account by Tomcat but *I just can't figure out where the information is

Re: My use of Spring MVC's DeferredResult class causes Tomcat 7.0.35 to crash silently

2013-03-22 Thread Julien Martin
Hi, You mean if I set maxActive to 1? J. 2013/3/22 Pid p...@pidster.com On 22/03/2013 14:42, Julien Martin wrote: @Chuck: thanks for the link. I have read it. Umm... the thing is I don't close my connection manually. I use Spring. Here is my configuration: bean class

Re: Where does Tomcat log the logAbandoned information?

2013-03-22 Thread Julien Martin
Hi Pid, Is there any other config I need to add (for instance to log4j.properties) in order for the logAbandoned logging to occur? I see nothing in stdout nor in the tomcat logs... Regards, J. 2013/3/22 Pid p...@pidster.com On 22/03/2013 14:45, Julien Martin wrote: Hello, I have enabled

Re: My use of Spring MVC's DeferredResult class causes Tomcat 7.0.35 to crash silently

2013-03-22 Thread Julien Martin
You're right. I should set the result in another method/thread i.e. a post method... Is this related to the memory leaks? J. 2013/3/22 Pid p...@pidster.com On 22/03/2013 14:56, Julien Martin wrote: Hi, You mean if I set maxActive to 1? J. 2013/3/22 Pid p...@pidster.com On 22/03

Re: Where does Tomcat log the logAbandoned information?

2013-03-22 Thread Julien Martin
Any idea what the logs should look like? Any sample? J. 2013/3/22 Pid p...@pidster.com On 22/03/2013 15:02, Julien Martin wrote: Hi Pid, Is there any other config I need to add (for instance to log4j.properties) in order for the logAbandoned logging to occur? Actually, you're right

My use of Spring MVC's DeferredResult class causes Tomcat 7.0.35 to crash silently

2013-03-21 Thread Julien Martin
Hello, I have the following Spring MVC 3.2 code (it uses the DeferredResult classhttp://static.springsource.org/spring/docs/3.2.2.RELEASE/javadoc-api/org/springframework/web/context/request/async/DeferredResult.html ): @RequestMapping(value = getMessages, method = RequestMethod.GET, produces =

Re: My use of Spring MVC's DeferredResult class causes Tomcat 7.0.35 to crash silently

2013-03-21 Thread Julien Martin
Chuck and Daniel, Thanks for replying. I'll try and provide the information requested. - The 9th method invocation causes Tomcat to hang. When you issue requests after that, they also hang. - Here is the connector info: Connector port=8080 protocol=HTTP/1.1

Odd behavior observed on Eclipse's tomcat: added webapp silently ignored...

2012-12-16 Thread Julien Martin
Hello, After adding a webapp (war) to my Eclipse's Tomcat (7.0.34), I unfortunately noticed that tomcat does add it to the server but doesn't attempt to deploy it!! The only suspicious log was the following one: *ATTENTION: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting

Why are Tomcat's threads more costly than background threads?

2012-12-11 Thread Julien Martin
Hello, I am in reference to the following blog entry: Blog entryhttp://blog.springsource.org/2012/05/06/spring-mvc-3-2-preview-introducing-servlet-3-async-support about Spring MVC 3.2 asynchronous support. I understand Tomcat uses a thread pool in order to serve http/web requests. Furthermore,

Re: Why are Tomcat's threads more costly than background threads?

2012-12-11 Thread Julien Martin
Thank you very much for this exhaustive reply Christopher. 2012/12/11 Christopher Schultz ch...@christopherschultz.net -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Julien, Warning: this is long. Like, André-or-Mark-Eggers long. On 12/11/12 7:30 AM, Julien Martin wrote: I am

Re: Embedded tomcat won't resolve Spring application properties

2012-10-01 Thread Julien Martin
,/META-INF/i18n/messages / /bean bean class=org.springframework.web.servlet.i18n.FixedLocaleResolver p:defaultLocale=fr / Regards, J. 2012/10/1 Daniel Mikusa dmik...@vmware.com On Oct 1, 2012, at 5:42 AM, Julien Martin wrote: Hello, I am experiencing trouble with my embedded tomcat: when I

Re: Embedded tomcat won't resolve Spring application properties

2012-10-01 Thread Julien Martin
. 2012/10/1 Julien Martin bal...@gmail.com Thanks Daniel, I've just deployed my app onto a standard Tomcat: it works ok. My Spring config is as follows (the relevant parts at least): bean class=org.springframework.context.support.ResourceBundleMessageSource id=messageSource property

Re: Embedded tomcat won't resolve Spring application properties

2012-10-01 Thread Julien Martin
. What caused the different behavior between standard Tomcat and maven plugin Tomcat, I can't explain... Regards, J. 2012/10/1 Julien Martin bal...@gmail.com I am still trying to work out how to fix this problem. Can someone please explain to me what the difference is between standard Tomcat

Re: org.apache.catalina.startup.ContextConfig checkHandlesTypes...

2012-02-14 Thread Julien Martin
:26, Caldarale, Charles R chuck.caldar...@unisys.coma écrit : From: Julien Martin [mailto:bal...@gmail.com] Subject: org.apache.catalina.startup.ContextConfig checkHandlesTypes... Can anyone please help? Probably not, since you didn't bother to tell us the version of Tomcat you're using

Re: org.apache.catalina.startup.ContextConfig checkHandlesTypes...

2012-02-14 Thread Julien Martin
Le 14 février 2012 21:04, Konstantin Kolinko knst.koli...@gmail.com a écrit : 2012/2/14 Julien Martin bal...@gmail.com: Hello Chuck, Sorry... -Version: Tomcat 7.0.22 downloaded from apache website. -Jvm info: java version 1.6.0_20; OpenJDK Runtime Environment (IcedTea6 1.9.10

Question about exploded war archive and running application

2011-04-17 Thread Julien Martin
Hello, I have a running web application in production under Tomcat. I would like to alter one of the configuration files (ehcache.xml) of the exploded war archive and restart tomcat without uploading a new war. My question is: if I restart Tomcat will it redeploy the original war - in which case

Re: Question about exploded war archive and running application

2011-04-17 Thread Julien Martin
Thanks André. I'll try and use the Tomcat manager instead of restarting Tomcat. J. 2011/4/17 André Warnier a...@ice-sa.com Julien Martin wrote: Hello, I have a running web application in production under Tomcat. I would like to alter one of the configuration files (ehcache.xml

Virtual host, alias and context parameters

2010-12-11 Thread Julien Martin
Hello, I need to achieve the following: -Having two domain names pointing to the same tomcat application and MOST IMPORTANTLY, having for each domain name a unique context parameter (therefore different for each domain name) that I will retrieve in my app to display different information to my

Re: Virtual host, alias and context parameters

2010-12-11 Thread Julien Martin
Thanks all for your replies and sorry for the upper case. I am already parsing the domain name in my app and I think I will stick to that. Regards, J. 2010/12/11 André Warnier a...@ice-sa.com Let me add something to my previous answer, to kind of wrap up also what the others responded. (a)

Please help with setting up a tomcat configuration in production...

2009-02-15 Thread Julien Martin
-a jeanbaptistemartin directory I strongly suspect it is something to do with the above snippet from the server.xml. Can you please help? Thanks in advance, Julien Martin. Here is the stack trace: INFO | jvm 1| 2009/02/15 08:24:19 | DEBUG

Re: Please help with setting up a tomcat configuration in production...

2009-02-15 Thread Julien Martin
Thanks a lot for your reply, Tomcat version: 6.0.18 Platform: linux centos I'll try the suggested solution and keep you posted... Julien. 2009/2/15 André Warnier a...@ice-sa.com Julien Martin wrote: Hi. It will probably be useful for anyone wanting to help you, to know which version

Re: Please help with setting up a tomcat configuration in production...

2009-02-15 Thread Julien Martin
André Warnier a...@ice-sa.com Julien Martin wrote: Hi. It will probably be useful for anyone wanting to help you, to know which version of Tomcat you are talking about. Also on which platform, athough one can kind of guess that. But it's time-consuming and error-prone to have to make guesses

Re: Please help with setting up a tomcat configuration in production...

2009-02-15 Thread Julien Martin
I read the documentation and tried the following configuration: Engine name=Catalina defaultHost=jeanbaptistemartin.com !--For clustering, please take a look at documentation at: /docs/cluster-howto.html (simple how to) /docs/config/cluster.html (reference

Re: Please help with setting up a tomcat configuration in production...

2009-02-15 Thread Julien Martin
THANKS A LOT ANDRÉ!! After reading your detailed reply, I followed your suggestion: ROOT.war and removed all unnecessary stuff from server.xml. It now works!! All the best, Julien. 2009/2/15 André Warnier a...@ice-sa.com Julien Martin wrote: I now get a 404 tomcat error. Any one could

Showing on the console or in the logs all the content of the post http methods

2006-05-08 Thread Julien Martin
Hello, How can I configure log4J in order to show on the console or in the logs all the content of the post http methods? thanks in advance, Julien. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

In which directory and file is session data stored?

2006-01-23 Thread Julien Martin
Hello, Can anyone tell me where session data is stored in tomcat?? Thanks in advance, Julien Martin.

Re: In which directory and file is session data stored?

2006-01-23 Thread Julien Martin
Hello Markus, I wonder why my file only weighs 1ko (tldCache.ser). Is this file only to do with Tag Lib Descriptors? If I have a lot of session data where (in what file) is it stored? Julien. 2006/1/23, Markus Schönhaber [EMAIL PROTECTED]: Julien Martin wrote: Can anyone tell me where session

Re: In which directory and file is session data stored?

2006-01-23 Thread Julien Martin
Thanks Markus! 2006/1/23, Markus Schönhaber [EMAIL PROTECTED]: Julien Martin wrote: I wonder why my file only weighs 1ko (tldCache.ser). Is this file only to do with Tag Lib Descriptors? I think so. If I have a lot of session data where (in what file) is it stored? Julien. AFAIK

Tomcat 5.5 will not reload exploded applications when a class is recompiled

2006-01-17 Thread Julien Martin
Hello, I have the following problem: Tomcat 5.5 will not reload exploded applications when a class is recompiled. Is there any modification to be applied to Tomcat. Note that my autodeploy attribute is set to true(host) and that my reloadable attribute is also set to true(context). Any clue very

Tomcat 5.5 will not reload exploded applications when a class is recompiled

2006-01-13 Thread Julien Martin
Hello, I have the following problem: Tomcat 5.5 will not reload exploded applications when a class is recompiled. Is there any modification to be applied to Tomcat. Note that my autodeploy attribute is set to true(host) and that my reloadable attribute is also set to true(context). Any clue very

Re: Tomcat 5.5 will not reload exploded applications when a class is recompiled

2006-01-13 Thread Julien Martin
Hello and thanks for the reply, The unpackwar is already set at true... Any other idea? Julien. 2006/1/13, Jarrar Hussain [EMAIL PROTECTED]: Hello Julien, What about the unpackWARs attribute (in server.xml)? I think its also need to be true. Regards, Jarrar. Julien Martin wrote: Hello