>-----Original Message-----
>From: Jasha Joachimsthal [mailto:[email protected]]
>Sent: Monday, April 16, 2012 8:29 AM
>To: [email protected]
>Subject: Re: Default tomcat6x timeout too low?
>
>On 16 April 2012 14:21, Ciancetta, Jesse E. <[email protected]> wrote:
>
>> >-----Original Message-----
>> >From: Jacob Hilker [mailto:[email protected]]
>> >Sent: Friday, April 13, 2012 3:42 PM
>> >To: [email protected]
>> >Subject: Default tomcat6x timeout too low?
>> >
>> >Hi All,
>> >
>> >While helping set up a local instance of rave on one of my co-workers
>> >machines, we ran into an issue where using mvn cargo:start was taking
>> >longer than 3 minutes, the default timeout, and thus failing.
>> >
>> >The fix was simple enough, as we just up'ed the timeout period, and as
>> >such, he successfully deployed rave in approximately 4.5 minutes.
>>
>> Do you know what it was that was taking so long to initialize?
>>
>> That seems like a really long time for a webapp to initialize -- maybe we
>> could change something to shorten the time it takes?
>>
>
>I can imagine it takes a long time the first time when you haven't used
>cargo before and need to download the maven plugin + dependencies over a
>slow connection. Is it faster the second time?
>Do you have a virusscanner that checks what happens in the local maven
>repository and the rave checkout? This may also slow down the startup.

>From what Jacob described it doesn't sound like the maven dependency downloads 
>are the problem -- those would all happen before the cargo deployer tries to 
>fire up tomcat.  It sounds like there is something in the actual webapp 
>initialization that was taking 4+ minutes.

Actually -- thinking about it a little more -- I wonder if there could have 
been a proxy configuration issue and it took 4+ minutes for some HTTP request 
for a resource on the internet to timeout?

>Jasha
>
>
>>
>> >However this raises the question of if a preemptive fix for other new
>> users
>> >should be added to the rave codebase, upping the default timeout period
>to
>> >5 minutes, or even higher?  I'm sure there will be other users with slower
>> >than average machines attempting to deploy rave.
>> >
>> >rave-portal/pom.xml line 195: <timeout>180000</timeout>
>> >
>> >Thanks,
>> >
>> >Jacob Hilker
>>

Reply via email to