Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] whats taking my war to long time to deploy

often this crops up when somewhere in the application SecureRandom is
being initialized and there is not enough entropy on the machine to
get it initialized

easy way to check that is to start up a couple of terminals and have
them run something like 'find /' in the background and then at the
same time start jetty up

cheers,
jesse

--
jesse mcconnell
jesse.mcconnell@xxxxxxxxx


On Sun, Oct 21, 2012 at 12:25 AM, Thomas Becker <tbecker@xxxxxxxxxxx> wrote:
> Try to throw a threaddump with "kill -3" or jstack. It'll be written to
> stdout and Show you what the jvm is doing or waiting for.
>
> Am 21.10.2012 01:59 schrieb "fachhoch" <fachhoch@xxxxxxxxx>:
>
>> my war file is taking very long deployment time  ,  I want to figure out
>> whats taking so long, my log4j config has debug for most of them  like
>> struts spring etc.
>> console output initially prints   all messages then it comes to
>> lf4j-log4j12-1.4.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
>> explanation....
>>
>> then for 3 to 4 minutes nothing happens
>> I wan to figure whats happening within this time any suggestions  how I
>> can
>> figure out?
>> we are running our war on jetty using maven jetty plugin.
>> our jetty-env has lot of jndi does for datasource , jms ques, et does this
>> take  lot of time to initialize?
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://jetty.4.n6.nabble.com/whats-taking-my-war-to-long-time-to-deploy-tp4959359.html
>> Sent from the Jetty User mailing list archive at Nabble.com.
>> _______________________________________________
>> jetty-users mailing list
>> jetty-users@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
>
> _______________________________________________
> jetty-users mailing list
> jetty-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>


Back to the top