Re: Tomcat 7.0.11: "Find Leaks" Button says there is a leak... then after a few minutes, it says the opposite (without any restarts in between)!

2011-07-30 Thread Rainer Jung
On 31.07.2011 01:10, Brian Braun wrote: > Hi, > > I'm using Tomcat 7.0.11. I have noticed that after a reload of an app, the > "Find Leaks" button sometimes declares that there is a leak. But after a few > minutes (without restarting/stopping/reloading the app) it says that there > are no leaks. >

Re: Mod_jk fails to connect via ajp13

2011-07-30 Thread alexis
If you can submit this one, you can submit the mod_jk issue. Give it a try. Both works, mod_jk and this list. Kindly and best regards --Original Message-- From: Franz To: users@tomcat.apache.org ReplyTo: Tomcat Users List Subject: Mod_jk fails to connect via ajp13 Sent: Jul 30, 2011 23:1

Mod_jk fails to connect via ajp13

2011-07-30 Thread Franz
Hi - I tried to submit a posting for a failing mod_jk but now I see that it is not possible to submit messages here because this mailing interface is even worse than mod_jk. Shame on apache, I should move to IIS. I would never have thought I'd eveer say this. -

Tomcat 7.0.11: "Find Leaks" Button says there is a leak... then after a few minutes, it says the opposite (without any restarts in between)!

2011-07-30 Thread Brian Braun
Hi, I'm using Tomcat 7.0.11. I have noticed that after a reload of an app, the "Find Leaks" button sometimes declares that there is a leak. But after a few minutes (without restarting/stopping/reloading the app) it says that there are no leaks. I guess the reason is that some objects are refering

Re: Tomocat 6.0.20 Comet END Event *NOT RAISED* when connection is terminated

2011-07-30 Thread Pid
On 29/07/2011 18:33, Sudeep Pradhan wrote: > Pid, > > I tried Tomcat 6.0.32.. no luck yet. Even ERROR event is not raised. Can you provide a simple example which exhibits this behaviour? > Also, I am seeing something weird (may not be related to this problem, but > think its worth mentioning).

Re: Tomcat 7 faces servlet encoding issue

2011-07-30 Thread André Warnier
honyk wrote: Thanks for that hint. http://drifted.in/encoding/encoding.svg returns HTTP Content-type image/svg+xml (according to Firebug) but http://drifted.in/encoding/faces/encoding.svg returns image/svg+xml;charset=ISO-8859-1 In Tomcat 6 powered web I am getting just 'image/svg+xml' in both

Re: Leak in Tomcat 7.0.11: a java.util.Timer seems to leave a timerThread in the JVM, and Tomcat says "...has failed to stop it. This is very likely to create a memory leak"

2011-07-30 Thread Brian Braun
Finally I have found something interesting: Tomcat has been warning me about the TimerThread, saying that it could bring leaks. And the "Find Leaks" button in the Tomcat Manager actually has been telling me that I do have leaks, because it notices that the class loader can't be garbage collected. B

Re: [Tomcat 6.0.29] Why do I have to configure the datasource in the context.xml of the server and in the context.xml of the application?

2011-07-30 Thread AN
That was only a typo. The thing is that if I remove it from any of the two places it doesn't work. I don't see anything in $CATALINA_BASE/conf/[enginename]/[hostname]/ besides the ROOT.xml but I'm using Liferay (the application is a portlet). On Mon, Jul 25, 2011 at 11:18 AM, Ognjen Blagojevic < o

Re: Leak in Tomcat 7.0.11: a java.util.Timer seems to leave a timerThread in the JVM, and Tomcat says "...has failed to stop it. This is very likely to create a memory leak"

2011-07-30 Thread Brian Braun
Hi Terence, I will try that. Thanks! On Sat, Jul 30, 2011 at 3:13 PM, Terence M. Bandoian wrote: > On 1:59 PM, Brian Braun wrote: > >> Hi Konstantine, I read all the thread, but I didn't find any conclusive response. Here >>> are >>> my doubts/comments, after everything I h

Re: Leak in Tomcat 7.0.11: a java.util.Timer seems to leave a timerThread in the JVM, and Tomcat says "...has failed to stop it. This is very likely to create a memory leak"

2011-07-30 Thread Terence M. Bandoian
On 1:59 PM, Brian Braun wrote: Hi Konstantine, I read all the thread, but I didn't find any conclusive response. Here are my doubts/comments, after everything I have read: For reference: http://markmail.org/thread/oph2acjbdptcvduf - My timer creates a thread, with a name I assign to it. Af

RE: Tomcat 7 faces servlet encoding issue

2011-07-30 Thread honyk
> > Thanks for that hint. > > http://drifted.in/encoding/encoding.svg returns HTTP Content-type > > image/svg+xml (according to Firebug) > > but http://drifted.in/encoding/faces/encoding.svg returns > > image/svg+xml;charset=ISO-8859-1 > > > > In Tomcat 6 powered web I am getting just 'image/svg+xm

Re: Leak in Tomcat 7.0.11: a java.util.Timer seems to leave a timerThread in the JVM, and Tomcat says "...has failed to stop it. This is very likely to create a memory leak"

2011-07-30 Thread Konstantin Kolinko
2011/7/30 Brian Braun : >> > Oh, I forgot to mention that before I cancel() the timer, I iterate on all > the tasks and cancel them. I guess that guarantees that everything has > finished. It does not guarantee anything for the task that is currently being run. If you look at the Javadoc for Time

Re: Tomcat 7 faces servlet encoding issue

2011-07-30 Thread Konstantin Kolinko
2011/7/30 honyk : >> > In tomcat 6 there is no difference between these two links >> > http://drifted.in/encoding/encoding.svg >> > http://drifted.in/encoding/faces/encoding.svg >> > >> > but in Tomcat 7 I am getting different results. The first is Ok while >> > the second, processed by faces servl

RE: Tomcat 7 faces servlet encoding issue

2011-07-30 Thread honyk
> > In tomcat 6 there is no difference between these two links > > http://drifted.in/encoding/encoding.svg > > http://drifted.in/encoding/faces/encoding.svg > > > > but in Tomcat 7 I am getting different results. The first is Ok while > > the second, processed by faces servlet, breaks the encoding.

Re: Leak in Tomcat 7.0.11: a java.util.Timer seems to leave a timerThread in the JVM, and Tomcat says "...has failed to stop it. This is very likely to create a memory leak"

2011-07-30 Thread Brian Braun
> > Hi Konstantine, > > > > I read all the thread, but I didn't find any conclusive response. Here > are > > my doubts/comments, after everything I have read: > > For reference: > http://markmail.org/thread/oph2acjbdptcvduf > > > > > - My timer creates a thread, with a name I assign to it. After my

Re: Leak in Tomcat 7.0.11: a java.util.Timer seems to leave a timerThread in the JVM, and Tomcat says "...has failed to stop it. This is very likely to create a memory leak"

2011-07-30 Thread Konstantin Kolinko
2011/7/30 Brian Braun : > Hi Konstantine, > > I read all the thread, but I didn't find any conclusive response. Here are > my doubts/comments, after everything I have read: For reference: http://markmail.org/thread/oph2acjbdptcvduf > > - My timer creates a thread, with a name I assign to it. Afte

Re: Tomcat 7 faces servlet encoding issue

2011-07-30 Thread Konstantin Kolinko
2011/7/30 honyk : > Hello Everyone, > > when migrating my JSF 2.0 app from tomcat 6.0.32 to the version 7.0.19 I've > encountered the following encoding issue. > > I have a simple JSF (xhtml) page with an embedded SVG image in it type="image/svg+xml" data="encoding.svg">. In the web.xml file there

Re: Leak in Tomcat 7.0.11: a java.util.Timer seems to leave a timerThread in the JVM, and Tomcat says "...has failed to stop it. This is very likely to create a memory leak"

2011-07-30 Thread Brian Braun
Hi Konstantine, I read all the thread, but I didn't find any conclusive response. Here are my doubts/comments, after everything I have read: - My timer creates a thread, with a name I assign to it. After my app stops, I see the thread in the JVM using the Yourkit profiler. It is clear that the th

Re: tomcat log server

2011-07-30 Thread Mark Eggers
- Original Message - > From: Konstantin Kolinko > To: Tomcat Users List > Cc: > Sent: Saturday, July 30, 2011 6:29 AM > Subject: Re: tomcat log server > > 2011/7/30 John Smith : >> >> I have tomcat 6.0.29 running different instances on same and different >> hardware, I  want to crea

Re: Leak in Tomcat 7.0.11: a java.util.Timer seems to leave a timerThread in the JVM, and Tomcat says "...has failed to stop it. This is very likely to create a memory leak"

2011-07-30 Thread Brian Braun
(I have just found the archive, sorry for asking something so silly) On Sat, Jul 30, 2011 at 9:21 AM, Brian Braun wrote: > Hi, > Where do I find that? is there an archive of the threads? > Thanks! > > > > On Sat, Jul 30, 2011 at 9:14 AM, Konstantin Kolinko < > knst.koli...@gmail.com> wrote

Re: Leak in Tomcat 7.0.11: a java.util.Timer seems to leave a timerThread in the JVM, and Tomcat says "...has failed to stop it. This is very likely to create a memory leak"

2011-07-30 Thread Brian Braun
Hi, Where do I find that? is there an archive of the threads? Thanks! On Sat, Jul 30, 2011 at 9:14 AM, Konstantin Kolinko wrote: > 2011/7/30 Brian Braun : > > How do I solve it? Do I need to kill the thread somehow, or should it die > as > > soon as I cancel the timer with the timer.cancel() met

Re: Leak in Tomcat 7.0.11: a java.util.Timer seems to leave a timerThread in the JVM, and Tomcat says "...has failed to stop it. This is very likely to create a memory leak"

2011-07-30 Thread Konstantin Kolinko
2011/7/30 Brian Braun : > How do I solve it? Do I need to kill the thread somehow, or should it die as > soon as I cancel the timer with the timer.cancel() method? It was discussed recently. See thread "Terminating Timer Thread Gracefully" starting with July 12th. Best regards, Konstantin Kolinko

Re: tomcat log server

2011-07-30 Thread Konstantin Kolinko
2011/7/30 John Smith : > > I have tomcat 6.0.29 running different instances on same and different > hardware, I  want to create log server on one system (nfs mount the file > system), so every instance must create log files in that place like > SERVER.catalina.2011-07-30.log, SERVER1.catalina.2011-

tomcat log server

2011-07-30 Thread John Smith
Hi Guys, I have tomcat 6.0.29 running different instances on same and different hardware, I want to create log server on one system (nfs mount the file system), so every instance must create log files in that place like SERVER.catalina.2011-07-30.log, SERVER1.catalina.2011-07-30.log, SERVER.catal

Re: Support for a jarsToInclude property?

2011-07-30 Thread Ognjen Blagojevic
On 30.7.2011 0:27, Konstantin Kolinko wrote: 2. Note that you can configure JarScanner element in context.xml. Maybe it is worth to add a pair of such attributes (skip/include) there? http://tomcat.apache.org/tomcat-7.0-doc/config/jar-scanner.html That makes sense. Most of the jar files are an

Re: Question: Tomcat SSL configuration issue

2011-07-30 Thread Felix Schumacher
Am Freitag, den 29.07.2011, 10:44 -1000 schrieb Sammaiah Kyatham: > Hello Felix, > > Thanks for the response. > > I have received new certificated based on new CSR generated. > While importing cert in to key, I'm getting the following error: > java.lang.Exception: Failed to establish chain from r

Tomcat 7 faces servlet encoding issue

2011-07-30 Thread honyk
Hello Everyone, when migrating my JSF 2.0 app from tomcat 6.0.32 to the version 7.0.19 I've encountered the following encoding issue. I have a simple JSF (xhtml) page with an embedded SVG image in it . In the web.xml file there is a faces servlet mapping set to the '/faces' path fragment. In to

Re: Wrong Response returned for a Request

2011-07-30 Thread Robert Elliot
On 28 Jul 2011, at 10:16, Mark Thomas wrote: > On 28/07/2011 07:34, Robert Elliot wrote: >> >> >> >> >> On 28 Jul 2011, at 00:24, David Rees wrote: >>> >>> But perhaps this issue applies: >>> https://issues.apache.org/bugzilla/show_bug.cgi?id=50189 >>> >>> -Dave >>> >> Thanks very much fo