Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Slow startup via jetty-maven-plugin since 8.x

I don't use Spring but it works fine. Thanks for your help! :)


2013/4/5 Thomas Andraschko <andraschko.thomas@xxxxxxxxx>
I don't use Spring but it works fine. Thanks for your help! :)


2013/4/5 Juan Calero <j.calero@xxxxxxxxxxxxx>
*I had the same problem. You are probably using Spring also, aren't you?

The problem is discussed here: *
*http://jira.codehaus.org/browse/JETTY-1503

Based on that page, I solved it adding this in jetty-context.xml:

    <Call name="setAttribute">
<Arg>org.eclipse.jetty.server.webapp.WebInfIncludeJarPattern</Arg>
<Arg>.*/.*jsp-api-[^/]\.jar$|./.*jsp-[^/]\.jar$|./.*taglibs[^/]*\.jar$
        </Arg>
    </Call>

Hope it helps
*
El 05/04/2013 13:35, Thomas Andraschko escribió:
Hi,

i just created a new project via maven and would like to use a newer jetty version.
After upgrading to 9.0.M5, the startup is very slow.

~40 seconds from
"No Transaction manager found - if your webapp requires one, please configure one."
till the first ServletContextListener (in this case OpenWebBeans) will be called.

Jetty6 and Jetty7 are lightning fast and this does NOT occur.

i already metadata-complete="true" but this does not help.
I also tried it with tomcat7 maven plugin and it's also much faster.

Anyone know what has been changed between 7 and 8?
Any idea?

Regards,
Thomas


_______________________________________________
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