Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 1062 invoked from network); 14 May 2007 11:18:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 May 2007 11:18:35 -0000 Received: (qmail 22851 invoked by uid 500); 14 May 2007 11:18:06 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 22833 invoked by uid 500); 14 May 2007 11:18:06 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 22820 invoked by uid 99); 14 May 2007 11:18:06 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 May 2007 04:18:06 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of funkman@joedog.org designates 204.74.20.252 as permitted sender) Received: from [204.74.20.252] (HELO sid.armstrong.com) (204.74.20.252) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 May 2007 04:17:59 -0700 Received: from [10.38.22.70] (tafunk-lt.americas.armstrong.com [10.38.22.70]) by sid.armstrong.com (8.13.6/8.12.8) with ESMTP id l4EBG3s5021441 for ; Mon, 14 May 2007 07:16:04 -0400 Message-ID: <4648454D.8080407@joedog.org> Date: Mon, 14 May 2007 07:17:33 -0400 From: Tim Funk Organization: Human Being User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Remote EJB calls from Tomcat 5 to Weblogic 8.1 appear to be slower than from Weblogic 8.1 as a web server References: <6190AD35638006458BD539660BC7320E03BBA516@hobbes.hq.themunicenter.com> In-Reply-To: <6190AD35638006458BD539660BC7320E03BBA516@hobbes.hq.themunicenter.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org With weblogic - EJB calls were done in the same JVM. With Tomcat - all the EJB calls occur outsite Tomcat's JVM and in weblogic's JVM. This is a BIIIIG performance penalty. (But allows for scalability). You should notice the same performance suckage if you ran 2 copies of weblogic where one of the weblogics was acting only as a servlet container and the other as an EJB container. -Tim Jonathan Kitchner wrote: > I am migrating from WebLogic 8.1 as a web server to Tomcat 5.0.28. I > continue to use WebLogic as my EJB container. My application functions > fully in both environments. However I am seeing the following: > > Under Tomcat the EJB calls are much slower ( I know that > Tomcat does not perform the actual call - we are using the thin client > from WebLogic). > > As the size of the result set from the EJB call increases > the degradation in performance increases. > > The CPU usage and Load factor and user response time are all > considerably larger under Tomcat. > > > > Does anyone know where this degradation in performance is coming from? > > Has anyone who has done this migration experienced the same behavior? If > so how did you mitigate it? --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org