Re: Tomcat Performance

2008-11-12 Thread Peng Tuck Kwok
David, was replying to Charles's earlier email on that. I thought I read it right first in the email and assumed Charles was correct in that. Hazards of reading mail on the go :P On Wed, Nov 12, 2008 at 9:26 PM, David kerber [EMAIL PROTECTED] wrote: Peng Tuck Kwok wrote: Probably the reason

Re: Tomcat Performance

2008-11-11 Thread Peng Tuck Kwok
Probably the reason why he's seeing one instance of tomcat moving quicker than 2 instances is the fact that there is some form of contention for resources on that single machine assuming that the 2 instances are configured identically in every aspect (other than ports). The idea is not to give

RE: Oracle 11g

2008-10-22 Thread Peng Tuck Kwok
Well where to start? 1. Pretty much from version 4 of tomcat you've would have been able to connect to oracle using JDBC using the oracle supplied driver. 2. Well typically you connect to any database in java using JDBC, difference in app servers is that they provide you a means to configure

RE: Tomcat outputs php to stderr

2008-10-02 Thread Peng Tuck Kwok
I recall seeing a config value in php that lets you dump the output to the console instead of the rendered page. not sure if this is valid if you run php under tomcat :P -Original Message- From: Serge Fonville Sent: 30/09/2008 19:08:21 To: Tomcat Users List Subject: Re: Tomcat

Re: jstack and Tomcat 6 on Windows

2008-09-23 Thread Peng Tuck Kwok
Hmm if you have a memory leak in the application perhaps you can profile it using a profiler. Try the one in eclipse and attach as a remote client to the vm running tomcat. On Sat, Sep 20, 2008 at 6:58 AM, Brian Clark [EMAIL PROTECTED] wrote: Thanks everyone for their suggestions.

Re: Server Maintenance Across Timezones (global)

2008-09-18 Thread Peng Tuck Kwok
There's a lot of good suggestions here, maybe you could also justify maintaining a separate instance for the American customers. That would at least allow at a minimum to roll out changes specific for them, conform to their maintenance time :P. Yes I do realize it would be a replication of code in

RE: How do you have your dev environment setup?

2008-09-16 Thread Peng Tuck Kwok
You could use ant to automate it. I've tried deploying from eclipse to tomcat briefly. It seemed alright as well. Don't know too much about the quirks since I delopy to JBoss primarily. -Original Message- From: Bai Shen Sent: 17/09/2008 05:59:08 To: Tomcat Users List Subject: How do

Re: Why GlassFish

2008-09-04 Thread Peng Tuck Kwok
Johnny, you're having way too much fun :D . Sam to answer your question, tomcat simply is the reference implementation of servlet and jsp specification from Sun (and a damn fine one at that too). Glassfish like other comparable app servers out there implement the JEE specification (well whichever

Re: Why GlassFish

2008-09-04 Thread Peng Tuck Kwok
Meh, need to check tomcat more often :P On Thu, Sep 4, 2008 at 4:52 PM, Leon Rosenberg [EMAIL PROTECTED] wrote: On Thu, Sep 4, 2008 at 11:48 AM, Peng Tuck Kwok [EMAIL PROTECTED] wrote: Johnny, you're having way too much fun :D . Sam to answer your question, tomcat simply is the reference

Re: Tomcat causing high CPU load

2007-11-05 Thread Peng Tuck Kwok
Is there a link for Moskito? On Nov 6, 2007 6:21 AM, Leon Rosenberg [EMAIL PROTECTED] wrote: Moskito can display monitoring traces instantly (path through monitoring points) and measure time in each call and sub-calls, but it requires some source code adoption. regards Leon On 11/5/07,

Re: Page Expire

2007-11-01 Thread Peng Tuck Kwok
Hi, You can configure the manager element inside a context element to specify a longer duration before it expires. The manager element in a context is not compulsory, so you might have to add it in for your web application. Instructions are here (for the manager):

Re: Fix to Tomcat Jasper slow .tag compilation problem.

2007-10-29 Thread Peng Tuck Kwok
Would pre-compiling your jsp files help you instead? AFAIK that works on the tags so you probably don't need to touch jspc. On 10/29/07, Berglas, Anthony [EMAIL PROTECTED] wrote: As described in a previous post, Jasper is *extremely* slow at compiling .tag files packaged in a .jar. Tens of

Re: Fix to Tomcat Jasper slow .tag compilation problem.

2007-10-29 Thread Peng Tuck Kwok
into the core. Otherwise I fork Tomcat, not a good idea. My feeling is that my fix below will just be ignored. Anthony -Original Message- From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED] Sent: Monday, October 29, 2007 8:17 PM To: Tomcat Users List Subject: Re: Fix to Tomcat Jasper slow

RE: Connection Pool and Connections

2007-10-09 Thread Peng Tuck Kwok
If I recall correctly close from a datasource (not a SQLConnection) will return the connection to the pool for reuse. In the later this will close the connection to the database. To answer your question I'm pretty sure any statement executed within the connection from the datasource will go to

Re: Tomcat Version problem

2007-07-05 Thread Peng Tuck Kwok
Sounds like that are a lot of type mis-match in the generated servlets, I'd have a look at the JSP's to see if there's anything like that in there and correct it. On 7/5/07, Gregor Schneider [EMAIL PROTECTED] wrote: well, the error-log is giving you pretty good hints: An error occurred at

Re: Tomcat Version problem

2007-07-05 Thread Peng Tuck Kwok
I have no idea where your line numbers are but the jsp compiler is already asking you to look at 67, 223, 226 in your JSP. Possibly you get cast exceptions because whatever you are trying to cast to isn't cast-able or converted. Also please double check the types of the objects you are passing