Re: Strange performance issues seen with Log.isDebugEnabled()

2008-06-26 Thread [EMAIL PROTECTED]
Jean-Philippe Daigle schrieb: Replacing it with just this assignment (to a public var so it's not optimized away): _dbg_str = String.format(appack id=%s res=%s, id, ack_r); Gives me the fast throughput case. I wasn't too surprised to hear that your custom Log implementation was causing

RE: Strange performance issues seen with Log.isDebugEnabled()

2008-06-26 Thread Jörg Schaible
Jean-Philippe Daigle wrote: [snip] Ah, so there's one more thing I hadn't tried, which I just did, and explained a bit of the situation: completely removing the logging block (don't check isDebugEnabled(), don't call .debug(), etc. Removing the whole logging block results in getting the

Re: Strange performance issues seen with Log.isDebugEnabled()

2008-06-26 Thread [EMAIL PROTECTED]
Jörg Schaible schrieb: Jean-Philippe Daigle wrote: [snip] Ah, so there's one more thing I hadn't tried, which I just did, and explained a bit of the situation: completely removing the logging block (don't check isDebugEnabled(), don't call .debug(), etc. Removing the whole logging block

Re: Strange performance issues seen with Log.isDebugEnabled()

2008-06-26 Thread Jean-Philippe Daigle
[EMAIL PROTECTED] wrote: Jörg Schaible schrieb: Jean-Philippe Daigle wrote: [snip] Ah, so there's one more thing I hadn't tried, which I just did, and explained a bit of the situation: completely removing the logging block (don't check isDebugEnabled(), don't call .debug(), etc. Removing

Re: Strange performance issues seen with Log.isDebugEnabled()

2008-06-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jean-Philippe, Jean-Philippe Daigle wrote: | Yes, it *should* be equivalent, but I've also tried defining a Dummy | class, getting a static instance of it, and calling a dummy method (that | won't get optimized away) and it's fast (~8 WU/s).

Mailer2 Taglib

2008-06-26 Thread Aaron Freeman
Couple questions re: the mailer2 taglib. Any idea when it might become supported? Also, the link on this taglib on it's main page isn't working. Clicking: Download the Mailer2 Tag Library nightly development build Gives: Not Found The requested URL

dbcp blocked on webapp startup

2008-06-26 Thread Adrian Woodhead
Hey there, I am experiencing some odd behaviour related to DBCP. We have an application that is deployed in Tomcat 6.0.16 on Linux with Java 6. It uses dbcp 1.2.2 (with commons pool 1.3) and we have a pooled datasource configured in spring which is in turn used by ibatis. This webapp

[NET] Problems with FTPClient using active connections.

2008-06-26 Thread salahzar
Trying to use commons.net to access ftp server everything's fine when using passive communications as shown by examples. However when using active modality I get strange errors. Is there anybody using successfully commons.net ftpclient in active modality showing me what is the correct way for

Re: Strange performance issues seen with Log.isDebugEnabled()

2008-06-26 Thread Ralph Goers
Jean-Philippe Daigle wrote: Hi, I'm seeing some very strange performance issues around the use of commons logging, and I'm pretty much out of ideas at this point. (Long) explanation follows... snip I suggest getting a copy of YourKit and profiling the application. Unfortunately, with

Re: dbcp blocked on webapp startup

2008-06-26 Thread Phil Steitz
Adrian Woodhead wrote: Hey there, I am experiencing some odd behaviour related to DBCP. We have an application that is deployed in Tomcat 6.0.16 on Linux with Java 6. It uses dbcp 1.2.2 (with commons pool 1.3) and we have a pooled datasource configured in spring which is in turn used by