Re: [OT] computer performance with jsp/servlets/struts

2003-03-11 Thread Manfred Wolff
Dan Allen wrote:
I only ask this to see if I can make my life easier.  I have a PII
333MHz laptop with 216MB Ram and I am running Tomcat, JDK 1.4.1 and
some struts applications.  Just now it took ant 6 min 56 sec to
reload my application after making changes.  If I were to go and get
a decent Athlon XP or PIV computer, what should I expect for reload
times and compile times for a reasonable size webpage application?
This is the one thing that I regret when leaving PHP.  I spend close
to 1/8 of my day waiting for it to reload once my computer starts
swapping to disk.  Does anyone else have this issue?
Dan

Hi.

We use tomcat to develop und jetty for our production system ( P4 2,2 GH 
with Linux). Jetty is much faster, because he can cache the tags. Tomcat 
is much slower in compiling and working with tags in jsp.

Manfred

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


Re: [OT] computer performance with jsp/servlets/struts

2003-03-11 Thread Guido
Is there any kind of benchmark results table or technical comparation 
between tomcat, jetty, iplanet, resin...? I've been searching google 
without success... I need something because much faster or much 
slower is not enought for me.

Thank you!

Manfred Wolff wrote:

Dan Allen wrote:

I only ask this to see if I can make my life easier.  I have a PII
333MHz laptop with 216MB Ram and I am running Tomcat, JDK 1.4.1 and
some struts applications.  Just now it took ant 6 min 56 sec to
reload my application after making changes.  If I were to go and get
a decent Athlon XP or PIV computer, what should I expect for reload
times and compile times for a reasonable size webpage application?
This is the one thing that I regret when leaving PHP.  I spend close
to 1/8 of my day waiting for it to reload once my computer starts
swapping to disk.  Does anyone else have this issue?
Dan

Hi.

We use tomcat to develop und jetty for our production system ( P4 2,2 
GH with Linux). Jetty is much faster, because he can cache the tags. 
Tomcat is much slower in compiling and working with tags in jsp.

Manfred

-
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]


RE: [OT] computer performance with jsp/servlets/struts

2003-03-11 Thread Edgar Dollin
There were some issues with session serialization which were resolved in the
latest nightly builds.  You could try disabling session persistence although
it would be better to resolve the serialization problems.  If I understand
correctly, in a low memory production environment those serialization
mechanisms have to work.

The other issue is that the tomcat manager reload application is 10 times
faster (10-20 seconds vs 1-3 seconds on my machine 1.8g, 512mb, w2k) than a
stop and start of tomcat.  Actually, the first few times I used the reload
function it was so fast, I didn't believe it actually worked.

Edgar

 -Original Message-
 From: Dan Allen [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, March 11, 2003 12:00 AM
 To: 'Struts Users Mailing List'
 Subject: Re: [OT] computer performance with jsp/servlets/struts
 
 
 Another thing that could be causing the problem.  I am using 
 Ant to reload just the application and not tomcat by using 
 the manager that comes with Tomcat.  I notice that each time 
 I reload it throws Exception Errors that the sessions could 
 not be recovered.  Whenever I am swapping and exception 
 errors are thrown, it takes many, many minutes to handle 
 them.  I guess I should work on my tomcat installation 
 regarding these reloads of applications.  Anyone else see 
 this in the logs?  Maybe the reload of applications is not 
 efficient and panned out yet, since it has to recover all the 
 objects which were in the session at the time of the reload.
 
 Dan
 
 David Graham ([EMAIL PROTECTED]) wrote:
 
  P3 1Ghz., 512MB RAM and Tomcat starts in about 10 seconds.  
 Obviously 
  don't
  need to restart Tomcat for JSP changes which load in about 
 5 seconds.
  
  David
  
  
  
  From: Dan Allen [EMAIL PROTECTED]
  Reply-To: Struts Users Mailing List 
  [EMAIL PROTECTED]
  To: Struts-User List [EMAIL PROTECTED]
  Subject: [OT] computer performance with jsp/servlets/struts
  Date: Mon, 10 Mar 2003 22:09:12 -0600
  
  I only ask this to see if I can make my life easier.  I have a PII 
  333MHz laptop with 216MB Ram and I am running Tomcat, JDK 
 1.4.1 and 
  some struts applications.  Just now it took ant 6 min 56 sec to 
  reload my application after making changes.  If I were to 
 go and get 
  a decent Athlon XP or PIV computer, what should I expect 
 for reload 
  times and compile times for a reasonable size webpage application?
  
  This is the one thing that I regret when leaving PHP.  I 
 spend close 
  to 1/8 of my day waiting for it to reload once my computer starts 
  swapping to disk.  Does anyone else have this issue?
  
  Dan
 
 -- 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 Daniel Allen, [EMAIL PROTECTED]
 http://www.mojavelinux.com/
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 Windows: where do you want your data to disappear to today?
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 

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



Re: [OT] computer performance with jsp/servlets/struts

2003-03-10 Thread Kwok Peng Tuck
It seems from your email that you are experiencing a lot of swapping , 
an indication that you are running low on memory. Of course more Mhz  
doesn't hurt :) .
I'm currently using a PIV in the office with about 392 MB of memory and 
tomcat application reloads and jsp reloads are no where near the time 
you state. Just under a few seconds for a jsp page which has changed.  I 
don't see much swapping unless I use other stuff like netbeans, sapdb 
and the like. Even then the recompile is pretty fast.  Hope it helps.

Dan Allen wrote:

I only ask this to see if I can make my life easier.  I have a PII
333MHz laptop with 216MB Ram and I am running Tomcat, JDK 1.4.1 and
some struts applications.  Just now it took ant 6 min 56 sec to
reload my application after making changes.  If I were to go and get
a decent Athlon XP or PIV computer, what should I expect for reload
times and compile times for a reasonable size webpage application?
This is the one thing that I regret when leaving PHP.  I spend close
to 1/8 of my day waiting for it to reload once my computer starts
swapping to disk.  Does anyone else have this issue?
Dan

 



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


Re: [OT] computer performance with jsp/servlets/struts

2003-03-10 Thread David Graham
P3 1Ghz., 512MB RAM and Tomcat starts in about 10 seconds.  Obviously don't 
need to restart Tomcat for JSP changes which load in about 5 seconds.

David



From: Dan Allen [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts-User List [EMAIL PROTECTED]
Subject: [OT] computer performance with jsp/servlets/struts
Date: Mon, 10 Mar 2003 22:09:12 -0600
I only ask this to see if I can make my life easier.  I have a PII
333MHz laptop with 216MB Ram and I am running Tomcat, JDK 1.4.1 and
some struts applications.  Just now it took ant 6 min 56 sec to
reload my application after making changes.  If I were to go and get
a decent Athlon XP or PIV computer, what should I expect for reload
times and compile times for a reasonable size webpage application?
This is the one thing that I regret when leaving PHP.  I spend close
to 1/8 of my day waiting for it to reload once my computer starts
swapping to disk.  Does anyone else have this issue?
Dan

--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Daniel Allen, [EMAIL PROTECTED]
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
It is not enough to succeed.  Others must fail.
 -- Gore Vidal
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

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


Re: [OT] computer performance with jsp/servlets/struts

2003-03-10 Thread Dan Allen

Kwok Peng Tuck ([EMAIL PROTECTED]) wrote:

 It seems from your email that you are experiencing a lot of swapping , 
 an indication that you are running low on memory. Of course more Mhz  
 doesn't hurt :) .
 I'm currently using a PIV in the office with about 392 MB of memory and 
 tomcat application reloads and jsp reloads are no where near the time 
 you state. Just under a few seconds for a jsp page which has changed.  I 
 don't see much swapping unless I use other stuff like netbeans, sapdb 
 and the like. Even then the recompile is pretty fast.  Hope it helps.

Yeah, plus I am hitting the page from localhost with mozilla, which
isn't exactly generous with resources.  Obviously I man can't
develop if his computer eats up the RAM like mine does.  Now I can
prove to my boss that we aren't getting crap out the door without a
new processor for development.  Aye, yay, yay.

Dan

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Daniel Allen, [EMAIL PROTECTED]
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Microsoft's Law of Software Engineering: 
Don't worry if it doesn't work right. 
If everything did, we'd be out of a job.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

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



Re: [OT] computer performance with jsp/servlets/struts

2003-03-10 Thread Dan Allen
Another thing that could be causing the problem.  I am using Ant to
reload just the application and not tomcat by using the manager that
comes with Tomcat.  I notice that each time I reload it throws
Exception Errors that the sessions could not be recovered.  Whenever
I am swapping and exception errors are thrown, it takes many, many
minutes to handle them.  I guess I should work on my tomcat
installation regarding these reloads of applications.  Anyone else
see this in the logs?  Maybe the reload of applications is not
efficient and panned out yet, since it has to recover all the
objects which were in the session at the time of the reload.

Dan

David Graham ([EMAIL PROTECTED]) wrote:

 P3 1Ghz., 512MB RAM and Tomcat starts in about 10 seconds.  Obviously don't 
 need to restart Tomcat for JSP changes which load in about 5 seconds.
 
 David
 
 
 
 From: Dan Allen [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
 To: Struts-User List [EMAIL PROTECTED]
 Subject: [OT] computer performance with jsp/servlets/struts
 Date: Mon, 10 Mar 2003 22:09:12 -0600
 
 I only ask this to see if I can make my life easier.  I have a PII
 333MHz laptop with 216MB Ram and I am running Tomcat, JDK 1.4.1 and
 some struts applications.  Just now it took ant 6 min 56 sec to
 reload my application after making changes.  If I were to go and get
 a decent Athlon XP or PIV computer, what should I expect for reload
 times and compile times for a reasonable size webpage application?
 
 This is the one thing that I regret when leaving PHP.  I spend close
 to 1/8 of my day waiting for it to reload once my computer starts
 swapping to disk.  Does anyone else have this issue?
 
 Dan

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Daniel Allen, [EMAIL PROTECTED]
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Windows: where do you want your data to disappear to today?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

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



RE: [OT] computer performance with jsp/servlets/struts

2003-03-10 Thread Raible, Matt
I'm using a 2GHz with 512MB RAM (Win2K) and I can
undeploy/clean/compile/deploy (using Ant) my entire project in just under 30
seconds.  The project has about 250 .java files and generates a bunch more
using XDoclet.  A pretty resource intensive build.  The biggest difference
I'd say is the CPU.  I have a 1.5 GHz at home with 1GB of RAM and this one
is *much* faster.  

Then again, I have a 1.5 GHz, 768MB RAM Red Hat machine that can do all of
the above in about 1/4 the time.  Linux is *a lot* faster than Windows for
compiling/running Java.

HTH,

Matt 

 -Original Message-
 From: Dan Allen [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 10, 2003 9:09 PM
 To: Struts-User List
 Subject: [OT] computer performance with jsp/servlets/struts
 
 
 I only ask this to see if I can make my life easier.  I have a PII
 333MHz laptop with 216MB Ram and I am running Tomcat, JDK 1.4.1 and
 some struts applications.  Just now it took ant 6 min 56 sec to
 reload my application after making changes.  If I were to go and get
 a decent Athlon XP or PIV computer, what should I expect for reload
 times and compile times for a reasonable size webpage application?
 
 This is the one thing that I regret when leaving PHP.  I spend close
 to 1/8 of my day waiting for it to reload once my computer starts
 swapping to disk.  Does anyone else have this issue?
 
 Dan
 
 -- 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 Daniel Allen, [EMAIL PROTECTED]
 http://www.mojavelinux.com/
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 It is not enough to succeed.  Others must fail.  
  -- Gore Vidal
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 -
 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]



RE: [OT] computer performance with jsp/servlets/struts

2003-03-10 Thread David Graham
Linux is *a lot* faster than Windows for compiling/running Java.
When I installed Linux on my Windows box I immediately noticed Linux was 
faster at most everything :-).

David

_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


RE: [OT] computer performance with jsp/servlets/struts

2003-03-10 Thread du Plessis, Corneil C
I would suggest you try to tune Tomcat memory by using -mx as a JVM
parameter, I may help reduce the swapping.

-Original Message-
From: Dan Allen [mailto:[EMAIL PROTECTED]
Sent: 11 March, 2003 06:09
To: Struts-User List
Subject: [OT] computer performance with jsp/servlets/struts


I only ask this to see if I can make my life easier.  I have a PII
333MHz laptop with 216MB Ram and I am running Tomcat, JDK 1.4.1 and
some struts applications.  Just now it took ant 6 min 56 sec to
reload my application after making changes.  If I were to go and get
a decent Athlon XP or PIV computer, what should I expect for reload
times and compile times for a reasonable size webpage application?

This is the one thing that I regret when leaving PHP.  I spend close
to 1/8 of my day waiting for it to reload once my computer starts
swapping to disk.  Does anyone else have this issue?

Dan

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Daniel Allen, [EMAIL PROTECTED]
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
It is not enough to succeed.  Others must fail.  
 -- Gore Vidal
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

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

__

Disclaimer and confidentiality note


Everything in this e-mail and any attachments relating to the official business of 
Standard Bank Group Limited is proprietary to the company. It is confidential, legally 
privileged and protected by law. Standard Bank does not own and endorse any other 
content. 
Views and opinions are those of the sender unless clearly stated as being that of 
Standard Bank. 

The person addressed in the e-mail is the sole authorised recipient. Please notify the 
sender 
immediately if it has unintentionally reached you and do not read, disclose or use the 
content
in any way. 

Standard Bank can not assure that the integrity of this communication has been 
maintained nor 
that it is free of errors, virus, interception or interference.

__

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