Thanks, for reply Pid.

Hardware is fast enough 2 Gb RAM, 2 Ghz CPU dual core athlon 64.

Sorry, I did not get your message. What do you think is not meaningful? Some times and need to redeploy webapp 10 times in 10 minutes.



Pid пишет:
Kees Jan Koster wrote:
Dear Khlystov,

 1. 5 second (using maven) compile source ( usually it is 1 or 2 files )
 2. 0 second copy *.class file into Tomcat/webapps
Stop using Maven for simple compiles and write a small shell script that
just calls javac with the webapp's WEB-INF/classes as output dir.

 3. 5-7 seconds waiting while Tomcat finds that my webapp deployed
    files are changed
There is a timer somewhere that you can lower for this. I forget
precisely which one. It will slow down Tomcat a bit, but you will
redeploy faster.

 4. 1 seconds takes to undeploy my webapp
 5. 3-5 seconds takes to deploy ( really initialize Wicket & Spring
    Beans frameworks with my data)
Well, you chose these frameworks, so you'll have to live with their
startup times. Lazy initialisation *may* help, if you initialise more
than you need for a specific test.

1. Use faster hardware?

Why are you setting an arbitrary target time for rebuilding your
application and how is this actually meaningful?

I don't understand why this would matter, can you explain?


p



--
Kees Jan

http://java-monitor.com/forum/
kjkos...@kjkoster.org
06-51838192

Rule 1 for being in a hole: stop digging.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org





--
Khlystov Alexandr


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to