JettyにTomcatのEXIT_ON_INIT_FAILUREに相当するものはありますか?私は(Spring Beanの初期化で)起動時にIllegalArgumentExceptionをスローするwarを持っていますが、JettyはDeploymentManagerからWARNを出力します(ノードの目標に到達できません:開始)。私はオプションを試してみました:Jetty-9.3.12スタンドアロンサーバのEXIT_ON_INIT_FAILURE
<?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>
しかし結果はありません。桟橋から
ログ:それはどのように構成するか何かアドバイスを事前に
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
感謝。
解決策は見つかりましたか? – quintin