Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] maven jetty 8 slow startup

I suspect your on the right track, take a look at setting
metadata-complete="true" providing your not using the web fragments,
etc..

cheers,
jesse

--
jesse mcconnell
jesse@xxxxxxxxxxx

http://webtide.com / http://intalio.com
(the folks behind jetty and cometd)



On Thu, Sep 8, 2011 at 09:38, Federico Fissore <federico@xxxxxxxxxxx> wrote:
> we have this huge web application (the final war file is about 90M).
>
> when we run it locally with mvn jetty:run it takes about 1 minute before
> starting the spring context
>
> [INFO] Starting jetty 8.0.0.v20110901 ...
> 2011-09-08 16:17:40.151:INFO:oejs.Server:jetty-8.0.0.v20110901
> 13.629: [GC [PSYoungGen: 265183K->11424K(308288K)] 310174K->61957K(394880K),
> 0.0596770 secs] [Times: user=0.09 sys=0.02, real=0.06 secs]
> 2011-09-08 16:17:44.448:INFO:oejpw.PlusConfiguration:No Transaction manager
> found - if your webapp requires one, please configure one.
> 17.071: [GC [PSYoungGen: 287520K->30240K(306368K)]
> 338053K->100491K(392960K), 0.1033090 secs] [Times: user=0.08 sys=0.04,
> real=0.10 secs]
> [... BUNCH OF GC...]
> 88.804: [GC [PSYoungGen: 270799K->22872K(283200K)]
> 414397K->167636K(432256K), 0.0500780 secs] [Times: user=0.05 sys=0.00,
> real=0.05 secs]
> [...SOME OMITTED LOG...]
> 2011-09-08 16:19:01.097:INFO:/mywebapp:Initializing Spring root
> WebApplicationContext
>
>
> another application (a small solr customization), 14M of war file, it takes
> about 3 seconds
>
> [INFO] Starting jetty 8.0.0.v20110901 ...
> 2011-09-08 16:22:50.535:INFO:oejs.Server:jetty-8.0.0.v20110901
> 2011-09-08 16:22:51.448:INFO:oejpw.PlusConfiguration:No Transaction manager
> found - if your webapp requires one, please configure one.
> 5.266: [GC [PSYoungGen: 26275K->1760K(33920K)] 48320K->23814K(76224K),
> 0.0043680 secs] [Times: user=0.01 sys=0.00, real=0.01 secs]
> [... BUNCH OF GC...]
> 8.307: [GC [PSYoungGen: 30618K->4389K(34432K)] 55334K->29351K(76736K),
> 0.0077010 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
> [...SOME OMITTED LOG...]
> 2011-09-08 16:22:54.845:INFO:/myotherwebapp:Initializing Spring root
> WebApplicationContext
>
> unfortunately I cannot produce a runnable war file to reproduce the problem.
> will insist more if you need one: maybe you are already aware of the issue
>
> As it seems somehow related to the dimension of the application, I was
> advised it could be related to servlet 3, needing a class scanning. Could
> that be?
>
> thanks in advance
>
> federico
> _______________________________________________
> jetty-dev mailing list
> jetty-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jetty-dev
>


Back to the top