Re: 15 second for redeployment is to much

2009-04-20 Thread János Löbb
3. 5-7 seconds waiting while Tomcat finds that my webapp deployed files are changed If You run quartz it can look in a shorter time if Your webapp deployed or not. - To unsubscribe, e-mail: users-unsubscr...@tomcat.ap

Re: 15 second for redeployment is to much

2009-04-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 4/19/2009 2:57 PM, André Warnier wrote: > There must exist a more efficient mechanism for [redeploying webapps in > Tomcat]. > One should probably check how the Tomcat Manager deploys an application > on-demand, and use the same mechanism e

Re: 15 second for redeployment is to much

2009-04-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andre-John, On 4/19/2009 7:25 PM, Andre-John Mas wrote: > This is one reason I would like to see a "file change" listener as > standard in Java. You'd have to wait for a "file change" listener as standard in an OS, too. > The idea is that for system

Re: 15 second for redeployment is to much

2009-04-20 Thread Gregor Schneider
On Sun, Apr 19, 2009 at 9:43 PM, Caldarale, Charles R wrote: > > How about pointless?  Somewhat akin to debating the number of angels that can > dance on the head of a pin. > Why pointless? The answer is obvious: 42 scnr... Gregor -- just because your paranoid, doesn't mean they're not after y

Re: 15 second for redeployment is to much

2009-04-19 Thread Andre-John Mas
On 19-Apr-2009, at 14:57, André Warnier wrote: Hi. I am far from being the specialist here, but my inner application designer core revolts at the idea of having a thread in Tomcat busy at nothing else but checking 86,400 times a day, just in case you redeploy an application from time to

RE: 15 second for redeployment is to much

2009-04-19 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: 15 second for redeployment is to much > > I'm curious to see Chuck's reaction to this thread. How about pointless? Somewhat akin to debating the number of angels that can dance on the head of a pin. - Chuc

Re: 15 second for redeployment is to much

2009-04-19 Thread Ronald Klop
Fix for step 3. Don't wait for Tomcat to detect changes. See http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html or use org.apache.catalina.ant.ReloadTask (which uses the manager). My compile command automaticly calls this after a succesful compile. Another tip: test business logic (*.j

Re: 15 second for redeployment is to much

2009-04-19 Thread André Warnier
Hi. I am far from being the specialist here, but my inner application designer core revolts at the idea of having a thread in Tomcat busy at nothing else but checking 86,400 times a day, just in case you redeploy an application from time to time. There must exist a more efficient mechanism fo

Re: 15 second for redeployment is to much

2009-04-19 Thread Khlystov Alexandr
I have 10 seconds now instead of 15 with 2 of 3 options: backgroundProcessorDelay="1" antiJARLocking="true" backgroundProcessorDelay="1"/> and lazy-init for all beans. Cool! thanks again. Now I'm going to sleep, and will implement javac direct compilation tomorrow. Kees Jan Koster пишет:

Re: 15 second for redeployment is to much

2009-04-19 Thread Khlystov Alexandr
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 s

Re: 15 second for redeployment is to much

2009-04-19 Thread Khlystov Alexandr
Thanks, Kees! I'll implement your advices, and will reply with results. Kees Jan Koster пишет: 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 she

Re: 15 second for redeployment is to much

2009-04-19 Thread 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/cla

Re: 15 second for redeployment is to much

2009-04-19 Thread Kees Jan Koster
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 s

15 second for redeployment is to much

2009-04-19 Thread Khlystov Alexandr
Hello guys. I can't fix my maven2+wicket application to be redeployed less than 15 seconds, but I want it to take 5 seconds at least. Could someone provide the fastest in the world practise of webapp on Tomcat redeployment??? Precondition ( inital deployment): copy war dir with my webapp i