Existe-t-il un équivalent de EXIT_ON_INIT_FAILURE de Tomcat dans Jetty? J'ai war qui lance IllegalArgumentException pendant le démarrage (dans l'initialisation de Spring Bean), mais Jetty imprime seulement WARN de DeploymentManager (Impossible d'atteindre l'objectif de noeud: a commencé) et a commencé normalement (naturellement sans contexte). J'ai essayé des options:EXIT_ON_INIT_FAILURE dans Jetty-9.3.12 serveur autonome
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_3.dtd">
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
<Set name="contextPath">{context_path}</Set>
<Set name="throwUnavailableOnStartupException">true</Set>
<Set name="war">{war_path}</Set>
<Set name="maxFormContentSize">10485760</Set>
</Configure>
mais sans résultats.
journaux de la jetée:
2017-03-16 21:45:05.798:WARN:oejd.DeploymentManager:main: Unable to reach node goal: started
java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'intranetClient' defined in class path resource
{...stacktrace...}
2017-03-16 21:45:05.836:INFO:oejs.AbstractConnector:main: Started [email protected]{HTTP/1.1,[http/1.1]}{0.0.0.0:5070}
2017-03-16 21:45:05.840:INFO:oejs.AbstractConnector:main: Started [email protected]{HTTP/1.1,[http/1.1]}{0.0.0.0:5075}
2017-03-16 21:45:05.841:INFO:oejs.Server:main: Started @40994ms
Merci à l'avance pour tout conseil comment il doit être configuré.
Avez-vous trouvé une solution? – quintin