RE: After statting the server login time taking 2 minutes

2010-04-27 Thread Ravi P Palacherla

What version of openJPA are you using ?

Is the application gaining performance after running for some time ? If yes
then enhancing at build time will definitely help. I think as Jean pointed
out it is better to enhance at build time regardless.

What about thread dumps ? Can you please  take 3-4 thread dumps in an
interval of 15-20secs, at the time of delay.   (kill -3 <> in unix based machines will give threaddump in the stdout.
On windows you can use  on your command prompt that starts the
server)

Regards,
Ravi.
-- 
View this message in context: 
http://openjpa.208410.n2.nabble.com/After-statting-the-server-login-time-taking-2-minutes-tp4962106p4968492.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.


RE: After statting the server login time taking 2 minutes

2010-04-27 Thread C N Davies
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.bri...@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.



Re: After statting the server login time taking 2 minutes

2010-04-27 Thread Jean-Baptiste BRIAUD -- Novlog
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-taking-2-minutes-tp4962106p4966520.html
> Sent from the OpenJPA Users mailing list archive at Nabble.com.



RE: After statting the server login time taking 2 minutes

2010-04-26 Thread SreeAsh

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-taking-2-minutes-tp4962106p4966520.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.


RE: After statting the server login time taking 2 minutes

2010-04-26 Thread SreeAsh

Thanks for reply...

 I have not used any enhancer by default application it self doing the enhance 
at runtime.

Regards
Srini


From: Ravi P Palacherla [via OpenJPA] 
[mailto:ml-node+4962678-251400718-424...@n2.nabble.com]
Sent: Monday, April 26, 2010 7:23 PM
To: Srinivasulu.Kristnam
Subject: RE: After statting the server login time taking 2 minutes

Hi SeeAsh,

More information is needed to identify the issue.

1. Can you please take 3-4 thread dumps in an interval of 15-20secs, in this 2 
minute delay.
(kill -3 <> in unix based machines will give 
threaddump in the stdout)
2. Are you doing build time (or) deployment time (or) runtime enhancement ?
   
(http://openjpa.apache.org/builds/2.0.0/apache-openjpa-2.0.0/docs/manual/manual.html#ref_guide_pc_enhance)

Regards,
Ravi.

-Original Message-
From: SreeAsh [mailto:[hidden 
email]]
Sent: Monday, April 26, 2010 5:27 AM
To: [hidden email]
Subject: After statting the server login time taking 2 minutes


hi All,

  We migrated the application into JPA, we had perfomance Issue.
  after starting the server, click login it took minimum 2 minutes,

 please help me on this.

it is very important
--
View this message in context: 
http://openjpa.208410.n2.nabble.com/After-statting-the-server-login-time-taking-2-minutes-tp4962106p4962106.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.


View message @ 
http://openjpa.208410.n2.nabble.com/After-statting-the-server-login-time-taking-2-minutes-tp4962106p4962678.html
To unsubscribe from After statting the server login time taking 2 minutes, 
click here< (link removed) =>.



Information transmitted by this e-mail is proprietary to MphasiS, its 
associated companies and/ or its customers and is intended for use only by the 
individual or entity to which it is addressed, and may contain information that 
is privileged, confidential or exempt from disclosure under applicable law. If 
you are not the intended recipient or it appears that this mail has been 
forwarded to you without proper authority, you are notified that any use or 
dissemination of this information in any manner is strictly prohibited. In such 
cases, please notify us immediately at mailmas...@fs.mphasis.com and delete 
this mail from your records.

-- 
View this message in context: 
http://openjpa.208410.n2.nabble.com/After-statting-the-server-login-time-taking-2-minutes-tp4962106p4966493.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.


RE: After statting the server login time taking 2 minutes

2010-04-26 Thread Ravi Palacherla
Hi SeeAsh,

More information is needed to identify the issue.

1. Can you please take 3-4 thread dumps in an interval of 15-20secs, in this 2 
minute delay.
(kill -3 <> in unix based machines will give 
threaddump in the stdout)
2. Are you doing build time (or) deployment time (or) runtime enhancement ?
   
(http://openjpa.apache.org/builds/2.0.0/apache-openjpa-2.0.0/docs/manual/manual.html#ref_guide_pc_enhance)

Regards,
Ravi.

-Original Message-
From: SreeAsh [mailto:srinivasulu.krist...@fs.mphasis.com] 
Sent: Monday, April 26, 2010 5:27 AM
To: users@openjpa.apache.org
Subject: After statting the server login time taking 2 minutes


hi All,

  We migrated the application into JPA, we had perfomance Issue.
  after starting the server, click login it took minimum 2 minutes,

 please help me on this.

it is very important
-- 
View this message in context: 
http://openjpa.208410.n2.nabble.com/After-statting-the-server-login-time-taking-2-minutes-tp4962106p4962106.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.