Re: Very strange performance problem

2006-09-19 Thread Daniel Jue

Are you watching the memory and cpu usage of javaw.exe?  My instinct
says you're creating objects without destroying them, or there is a
inf loop somewhere (or both).

Dan

On 9/19/06, Rui Pacheco [EMAIL PROTECTED] wrote:

Hi all

I have a problem with my Tapestry application. Its finished and it works,
except, after I navigate for a while, the application slows down to a crawl
and becomes unusable. I click on links, I watch the browser status bar
slowly fill up and nothing happens. Tomcat doesn't show any errors
whatsoerver.

I believe this problem is not external do the application because the same
thing happens on my laptop and on my companie's server, two completelly
different environments.

Could anyone give me a hand to find whats happening? We're suppose to go
into production and this is the only thing stopping us.

--
Cumprimentos,
Rui Pacheco




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Very strange performance problem

2006-09-19 Thread Rui Pacheco

I'm replying again because I received a virus warning from the mailing list:

Java doesn't even show on top. My pages are pretty simple: I call a stored
procedure, I retrieve values and set them on a model and then I display the
model on the template.

Is there a way to profile this application?


On 9/19/06, Rui Pacheco [EMAIL PROTECTED] wrote:


Java doesn't even show on top. My pages are pretty simple: I call a stored
procedure, I retrieve values and set them on a model and then I display the
model on the template.

Is there a way to profile this application?


On 9/19/06, Daniel Jue [EMAIL PROTECTED] wrote:

 Are you watching the memory and cpu usage of javaw.exe?  My instinct
 says you're creating objects without destroying them, or there is a
 inf loop somewhere (or both).

 Dan

 On 9/19/06, Rui Pacheco  [EMAIL PROTECTED] wrote:
  Hi all
 
  I have a problem with my Tapestry application. Its finished and it
 works,
  except, after I navigate for a while, the application slows down to a
 crawl
  and becomes unusable. I click on links, I watch the browser status bar
  slowly fill up and nothing happens. Tomcat doesn't show any errors
  whatsoerver.
 
  I believe this problem is not external do the application because the
 same
  thing happens on my laptop and on my companie's server, two
 completelly
  different environments.
 
  Could anyone give me a hand to find whats happening? We're suppose to
 go
  into production and this is the only thing stopping us.
 
  --
  Cumprimentos,
  Rui Pacheco
 
 

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




--
Cumprimentos,
Rui Pacheco





--
Cumprimentos,
Rui Pacheco


Re: Very strange performance problem

2006-09-19 Thread Jesse Kuhnert

Run it in eclipse in debug mode?

Do you have caching disabled?

On 9/19/06, Rui Pacheco [EMAIL PROTECTED] wrote:


I'm replying again because I received a virus warning from the mailing
list:

Java doesn't even show on top. My pages are pretty simple: I call a stored
procedure, I retrieve values and set them on a model and then I display
the
model on the template.

Is there a way to profile this application?


On 9/19/06, Rui Pacheco [EMAIL PROTECTED] wrote:

 Java doesn't even show on top. My pages are pretty simple: I call a
stored
 procedure, I retrieve values and set them on a model and then I display
the
 model on the template.

 Is there a way to profile this application?


 On 9/19/06, Daniel Jue [EMAIL PROTECTED] wrote:
 
  Are you watching the memory and cpu usage of javaw.exe?  My instinct
  says you're creating objects without destroying them, or there is a
  inf loop somewhere (or both).
 
  Dan
 
  On 9/19/06, Rui Pacheco  [EMAIL PROTECTED] wrote:
   Hi all
  
   I have a problem with my Tapestry application. Its finished and it
  works,
   except, after I navigate for a while, the application slows down to
a
  crawl
   and becomes unusable. I click on links, I watch the browser status
bar
   slowly fill up and nothing happens. Tomcat doesn't show any errors
   whatsoerver.
  
   I believe this problem is not external do the application because
the
  same
   thing happens on my laptop and on my companie's server, two
  completelly
   different environments.
  
   Could anyone give me a hand to find whats happening? We're suppose
to
  go
   into production and this is the only thing stopping us.
  
   --
   Cumprimentos,
   Rui Pacheco
  
  
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


 --
 Cumprimentos,
 Rui Pacheco




--
Cumprimentos,
Rui Pacheco





--
Jesse Kuhnert
Tapestry/Dojo/(and a dash of TestNG), team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com


Re: Very strange performance problem

2006-09-19 Thread Rui Pacheco

I'm running it out of the box. Apart from friendly URL's I have nothing
configured.

How can I run a web application in debug mode in eclipse? Don't I need a
plugin for that?

On 9/19/06, Jesse Kuhnert [EMAIL PROTECTED] wrote:


Run it in eclipse in debug mode?

Do you have caching disabled?

On 9/19/06, Rui Pacheco [EMAIL PROTECTED] wrote:

 I'm replying again because I received a virus warning from the mailing
 list:

 Java doesn't even show on top. My pages are pretty simple: I call a
stored
 procedure, I retrieve values and set them on a model and then I display
 the
 model on the template.

 Is there a way to profile this application?


 On 9/19/06, Rui Pacheco [EMAIL PROTECTED] wrote:
 
  Java doesn't even show on top. My pages are pretty simple: I call a
 stored
  procedure, I retrieve values and set them on a model and then I
display
 the
  model on the template.
 
  Is there a way to profile this application?
 
 
  On 9/19/06, Daniel Jue [EMAIL PROTECTED] wrote:
  
   Are you watching the memory and cpu usage of javaw.exe?  My instinct
   says you're creating objects without destroying them, or there is a
   inf loop somewhere (or both).
  
   Dan
  
   On 9/19/06, Rui Pacheco  [EMAIL PROTECTED] wrote:
Hi all
   
I have a problem with my Tapestry application. Its finished and it
   works,
except, after I navigate for a while, the application slows down
to
 a
   crawl
and becomes unusable. I click on links, I watch the browser status
 bar
slowly fill up and nothing happens. Tomcat doesn't show any errors
whatsoerver.
   
I believe this problem is not external do the application because
 the
   same
thing happens on my laptop and on my companie's server, two
   completelly
different environments.
   
Could anyone give me a hand to find whats happening? We're suppose
 to
   go
into production and this is the only thing stopping us.
   
--
Cumprimentos,
Rui Pacheco
   
   
  
  
-
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
  --
  Cumprimentos,
  Rui Pacheco
 



 --
 Cumprimentos,
 Rui Pacheco




--
Jesse Kuhnert
Tapestry/Dojo/(and a dash of TestNG), team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com





--
Cumprimentos,
Rui Pacheco


Re: Very strange performance problem

2006-09-19 Thread Martin Strand
Create a launch configuration for Tomcat, something like this:
Main class: org.apache.catalina.startup.Bootstrap
Classpath: ${tomcat.home}/bin/bootstrap.jar
Parameters: -Dcatalina.home=${tomcat.home}

On Tue, 19 Sep 2006 16:59:47 +0200, Rui Pacheco [EMAIL PROTECTED] wrote:

 I'm running it out of the box. Apart from friendly URL's I have nothing
 configured.

 How can I run a web application in debug mode in eclipse? Don't I need a
 plugin for that?

 On 9/19/06, Jesse Kuhnert [EMAIL PROTECTED] wrote:

 Run it in eclipse in debug mode?

 Do you have caching disabled?

 On 9/19/06, Rui Pacheco [EMAIL PROTECTED] wrote:
 
  I'm replying again because I received a virus warning from the mailing
  list:
 
  Java doesn't even show on top. My pages are pretty simple: I call a
 stored
  procedure, I retrieve values and set them on a model and then I display
  the
  model on the template.
 
  Is there a way to profile this application?
 
 
  On 9/19/06, Rui Pacheco [EMAIL PROTECTED] wrote:
  
   Java doesn't even show on top. My pages are pretty simple: I call a
  stored
   procedure, I retrieve values and set them on a model and then I
 display
  the
   model on the template.
  
   Is there a way to profile this application?
  
  
   On 9/19/06, Daniel Jue [EMAIL PROTECTED] wrote:
   
Are you watching the memory and cpu usage of javaw.exe?  My instinct
says you're creating objects without destroying them, or there is a
inf loop somewhere (or both).
   
Dan
   
On 9/19/06, Rui Pacheco  [EMAIL PROTECTED] wrote:
 Hi all

 I have a problem with my Tapestry application. Its finished and it
works,
 except, after I navigate for a while, the application slows down
 to
  a
crawl
 and becomes unusable. I click on links, I watch the browser status
  bar
 slowly fill up and nothing happens. Tomcat doesn't show any errors
 whatsoerver.

 I believe this problem is not external do the application because
  the
same
 thing happens on my laptop and on my companie's server, two
completelly
 different environments.

 Could anyone give me a hand to find whats happening? We're suppose
  to
go
 into production and this is the only thing stopping us.

 --
 Cumprimentos,
 Rui Pacheco


   
   
 -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   
   
  
  
   --
   Cumprimentos,
   Rui Pacheco
  
 
 
 
  --
  Cumprimentos,
  Rui Pacheco
 
 


 --
 Jesse Kuhnert
 Tapestry/Dojo/(and a dash of TestNG), team member/developer

 Open source based consulting work centered around
 dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Very strange performance problem

2006-09-19 Thread Norbert Sándor

Use a plugin for managing tomcat.
I use the Sysdeo Tomcat Plugin, which launches tomcat in debug mode by 
default.


Regards,
Norbi

Rui Pacheco wrote:

I'm running it out of the box. Apart from friendly URL's I have nothing
configured.

How can I run a web application in debug mode in eclipse? Don't I need a
plugin for that?

On 9/19/06, Jesse Kuhnert [EMAIL PROTECTED] wrote:


Run it in eclipse in debug mode?

Do you have caching disabled?

On 9/19/06, Rui Pacheco [EMAIL PROTECTED] wrote:

 I'm replying again because I received a virus warning from the mailing
 list:

 Java doesn't even show on top. My pages are pretty simple: I call a
stored
 procedure, I retrieve values and set them on a model and then I 
display

 the
 model on the template.

 Is there a way to profile this application?


 On 9/19/06, Rui Pacheco [EMAIL PROTECTED] wrote:
 
  Java doesn't even show on top. My pages are pretty simple: I call a
 stored
  procedure, I retrieve values and set them on a model and then I
display
 the
  model on the template.
 
  Is there a way to profile this application?
 
 
  On 9/19/06, Daniel Jue [EMAIL PROTECTED] wrote:
  
   Are you watching the memory and cpu usage of javaw.exe?  My 
instinct
   says you're creating objects without destroying them, or there 
is a

   inf loop somewhere (or both).
  
   Dan
  
   On 9/19/06, Rui Pacheco  [EMAIL PROTECTED] wrote:
Hi all
   
I have a problem with my Tapestry application. Its finished 
and it

   works,
except, after I navigate for a while, the application slows down
to
 a
   crawl
and becomes unusable. I click on links, I watch the browser 
status

 bar
slowly fill up and nothing happens. Tomcat doesn't show any 
errors

whatsoerver.
   
I believe this problem is not external do the application 
because

 the
   same
thing happens on my laptop and on my companie's server, two
   completelly
different environments.
   
Could anyone give me a hand to find whats happening? We're 
suppose

 to
   go
into production and this is the only thing stopping us.
   
--
Cumprimentos,
Rui Pacheco
   
   
  
  
-
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
  --
  Cumprimentos,
  Rui Pacheco
 



 --
 Cumprimentos,
 Rui Pacheco




--
Jesse Kuhnert
Tapestry/Dojo/(and a dash of TestNG), team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com







No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.4/449 - Release Date: 2006.09.15.

  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Very strange performance problem

2006-09-19 Thread Mark Stang
Title: RE: Very strange performance problem






Another way is to set up the java opts:

JAVA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n $JAVA_OPTS

Then in Eclipse set up a remote java application. Start up the application, have Eclipse connect to it and the put breakpoints anywhere you like.

See attached jpeg, if it can come through.

hth,

Mark


Mark J. Stang
Senior Engineer/Architect
office: +1 303.468.2900
mobile: +1 303.507.2833
Ping Identity



-Original Message-
From: Norbert Sándor [mailto:[EMAIL PROTECTED]]
Sent: Tue 9/19/2006 10:13 AM
To: Tapestry users
Subject: Re: Very strange performance problem

Use a plugin for managing tomcat.
I use the Sysdeo Tomcat Plugin, which launches tomcat in debug mode by
default.

Regards,
Norbi

Rui Pacheco wrote:
 I'm running it out of the box. Apart from friendly URL's I have nothing
 configured.

 How can I run a web application in debug mode in eclipse? Don't I need a
 plugin for that?

 On 9/19/06, Jesse Kuhnert [EMAIL PROTECTED] wrote:

 Run it in eclipse in debug mode?

 Do you have caching disabled?

 On 9/19/06, Rui Pacheco [EMAIL PROTECTED] wrote:
 
  I'm replying again because I received a virus warning from the mailing
  list:
 
  Java doesn't even show on top. My pages are pretty simple: I call a
 stored
  procedure, I retrieve values and set them on a model and then I
 display
  the
  model on the template.
 
  Is there a way to profile this application?
 
 
  On 9/19/06, Rui Pacheco [EMAIL PROTECTED] wrote:
  
   Java doesn't even show on top. My pages are pretty simple: I call a
  stored
   procedure, I retrieve values and set them on a model and then I
 display
  the
   model on the template.
  
   Is there a way to profile this application?
  
  
   On 9/19/06, Daniel Jue [EMAIL PROTECTED] wrote:
   
Are you watching the memory and cpu usage of javaw.exe? My
 instinct
says you're creating objects without destroying them, or there
 is a
inf loop somewhere (or both).
   
Dan
   
On 9/19/06, Rui Pacheco  [EMAIL PROTECTED] wrote:
 Hi all

 I have a problem with my Tapestry application. Its finished
 and it
works,
 except, after I navigate for a while, the application slows down
 to
  a
crawl
 and becomes unusable. I click on links, I watch the browser
 status
  bar
 slowly fill up and nothing happens. Tomcat doesn't show any
 errors
 whatsoerver.

 I believe this problem is not external do the application
 because
  the
same
 thing happens on my laptop and on my companie's server, two
completelly
 different environments.

 Could anyone give me a hand to find whats happening? We're
 suppose
  to
go
 into production and this is the only thing stopping us.

 --
 Cumprimentos,
 Rui Pacheco


   
   
 -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   
   
  
  
   --
   Cumprimentos,
   Rui Pacheco
  
 
 
 
  --
  Cumprimentos,
  Rui Pacheco
 
 


 --
 Jesse Kuhnert
 Tapestry/Dojo/(and a dash of TestNG), team member/developer

 Open source based consulting work centered around
 dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com




 

 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.1.405 / Virus Database: 268.12.4/449 - Release Date: 2006.09.15.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]