ログを見ると、Muleは常に開発モードで開始しているように見えます。
これを本番環境に切り替えるにはどうすればよいですか?
**********************************************************************
* Mule ESB and Integration Platform *
* Version: 3.1.0 Build: 20848 *
* MuleSoft, Inc. *
* For more information go to http://www.mulesoft.org *
* *
* Server started: 5/24/11 10:45 AM *
* Server ID: 7159b2cb-85ea-11e0-b218-8777a961ba72 *
* JDK: 1.6.0_23 (mixed mode) *
* OS encoding: UTF-8, Mule encoding: UTF-8 *
* OS: Linux (2.6.18-238.el5, amd64) *
* Host: JAVVM17 (127.0.0.1) *
* Mode: Development *
* *
* Agents Running: *
* JMX Agent *
**********************************************************************
編集
設定はorg.mule.util.ServerStartupSplashScreenからのものであることがわかりました
// Dev/Production mode
final boolean productionMode = StartupContext.get().getStartupOptions().containsKey("production");
header.add("Mode: " + (productionMode ? "Production" : "Development"));
これはMuleContainerとMuleServerのinitメソッドで設定されますが、Tomcatのサーブレットリスナーからmuleを起動しているため、これらは使用しません。
私はそれの実際の使用法を見つけることができません。ラバはこの旗を何かに使っていますか?