Return-Path: Delivered-To: apmail-openjpa-users-archive@minotaur.apache.org Received: (qmail 82932 invoked from network); 27 Apr 2010 10:19:25 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Apr 2010 10:19:25 -0000 Received: (qmail 62493 invoked by uid 500); 27 Apr 2010 10:19:24 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 62306 invoked by uid 500); 27 Apr 2010 10:19:23 -0000 Mailing-List: contact users-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openjpa.apache.org Delivered-To: mailing list users@openjpa.apache.org Received: (qmail 62298 invoked by uid 99); 27 Apr 2010 10:19:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 10:19:22 +0000 X-ASF-Spam-Status: No, hits=1.7 required=10.0 tests=AWL,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [74.125.83.174] (HELO mail-pv0-f174.google.com) (74.125.83.174) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 10:19:15 +0000 Received: by pvg2 with SMTP id 2so1044875pvg.33 for ; Tue, 27 Apr 2010 03:18:53 -0700 (PDT) Received: by 10.140.255.11 with SMTP id c11mr5345273rvi.137.1272363533197; Tue, 27 Apr 2010 03:18:53 -0700 (PDT) Received: from brevsnb005 ([58.165.162.219]) by mx.google.com with ESMTPS id b1sm1500489rvn.23.2010.04.27.03.18.48 (version=SSLv3 cipher=RC4-MD5); Tue, 27 Apr 2010 03:18:51 -0700 (PDT) Reply-To: From: "C N Davies" To: References: <1272281249032-4962106.post@n2.nabble.com> <1272341683716-4966520.post@n2.nabble.com> <8EE4A4B1-F3A4-4B54-9A9C-6AC39334E31D@novlog.com> In-Reply-To: <8EE4A4B1-F3A4-4B54-9A9C-6AC39334E31D@novlog.com> Subject: RE: After statting the server login time taking 2 minutes Date: Tue, 27 Apr 2010 20:18:42 +1000 Organization: C N Davies Pty Ltd Message-ID: <009501cae5f3$0812bda0$183838e0$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acrl61DZnJKztzHES6yBCsSPfmOiKAABwKaA Content-Language: en-au x-cr-hashedpuzzle: AQhe Ao14 A+su CJaL DCd3 DKxP E9Hx GHnE GMYP GWpk Gs/G HCYe H8AW IexC JTzN JVir;1;dQBzAGUAcgBzAEAAbwBwAGUAbgBqAHAAYQAuAGEAcABhAGMAaABlAC4AbwByAGcA;Sosha1_v1;7;{9800B8B6-A040-4A6A-AB6A-D2EE49F58688};YwBuAGQAQABjAG4AZABhAHYAaQBlAHMALgBjAG8AbQA=;Tue, 27 Apr 2010 10:18:37 GMT;UgBFADoAIABBAGYAdABlAHIAIABzAHQAYQB0AHQAaQBuAGcAIAB0AGgAZQAgAHMAZQByAHYAZQByACAAbABvAGcAaQBuACAAdABpAG0AZQAgAHQAYQBrAGkAbgBnACAAMgAgAG0AaQBuAHUAdABlAHMA x-cr-puzzleid: {9800B8B6-A040-4A6A-AB6A-D2EE49F58688} I have had a similar issue for a couple of months now, I enhance at build time, also checked that the classes are persistence cable. Still runs like a dog, a couple of minutes to retrieve a few thousand records is par for the course. I a not sure what started it, things were much better up until a couple of months ago and even reverting back to an old source version didn't fix it. Tried different servers and even blew away my DB and started again. I can use standard SQL to retrieve the same data in milliseconds. Turning on TRACE logging to trouble shoot it slows it down significantly more so it's a catch 22. Chris -----Original Message----- From: Jean-Baptiste BRIAUD -- Novlog [mailto:j-b.briaud@novlog.com] Sent: Tuesday, 27 April 2010 7:23 PM To: users@openjpa.apache.org Subject: Re: After statting the server login time taking 2 minutes Enhance at buildtime. Enhancing at runtime might be OK to start learning as it quicker to start coding but it comes with lots of problems and limitations. I would say enhancing at build time is not an option for any serious developments. Finally, enhancing at build time is only a matter of one simple ant task, so there are no excuse :-) You can use that macrodef I setup for my project : macrodef is really (really really) powerfull ant concept. To use that macro : Hope this helps. On Apr 27, 2010, at 06:14 , SreeAsh wrote: > > Hi Ravi, > > thanks for reply... > > At runtime, i am not done any enhance my application, by default it's > enhancing at run time.Please suggest the is its right or we need to do any > enhancer before deploy. > > regards > Srini > > > -- > View this message in context: http://openjpa.208410.n2.nabble.com/After-statting-the-server-login-time-tak ing-2-minutes-tp4962106p4966520.html > Sent from the OpenJPA Users mailing list archive at Nabble.com.