簡體   English   中英

跑步mCE

[英]Running mule CE

我已經從官方網站上下載了mule獨立版3.6.1,然后將其解壓縮,然后從我啟動了mule的bin中解壓縮。

安慰:

MULE_HOME is set to C:\mule-standalone-3.6.1
Running in console/foreground mode by default, use Ctrl-C to exit...
--> Wrapper Started as Console
Launching a JVM...
Starting the Mule Container...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
  Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.


WARNING - Unable to load the Wrapper's native library because none of the
          following files:
            wrapper-windows-x86-64.dll
            wrapper.dll
          could be located on the following java.library.path:
            C:\mule-standalone-3.6.1\bin\%LD_LIBRARY_PATH%
            C:\mule-standalone-3.6.1\lib\boot
          Please see the documentation for the wrapper.java.library.path
          configuration property.
          System signals will not be handled correctly.

INFO  2015-03-29 23:34:32,390 [WrapperListener_start_runner] org.mule.module.lau
ncher.MuleContainer:
**********************************************************************
* Mule ESB and Integration Platform                                  *
* Version: 3.6.1 Build: b795785f                                     *
* MuleSoft, Inc.                                                     *
* For more information go to http://www.mulesoft.org                 *
*                                                                    *
* Server started: 29/03/15 23:34                                     *
* JDK: 1.8.0_40 (mixed mode)                                         *
* OS: Windows 7 - Service Pack 1 (6.1, amd64)                        *
* Host: Rajeun-PC (192.168.1.186)                                    *
**********************************************************************
INFO  2015-03-29 23:34:32,393 [WrapperListener_start_runner] org.mule.module.lau
ncher.coreextension.DefaultMuleCoreExtensionManager: Initializing core extension
s
INFO  2015-03-29 23:34:32,394 [WrapperListener_start_runner] org.mule.module.lau
ncher.coreextension.DefaultMuleCoreExtensionManager: Starting core extensions
INFO  2015-03-29 23:34:32,411 [WrapperListener_start_runner] org.mule.module.lau
ncher.DefaultArchiveDeployer: ================== New Exploded Artifact: default
INFO  2015-03-29 23:34:32,424 [WrapperListener_start_runner] org.mule.module.lau
ncher.MuleSharedDomainClassLoader: Using domain dir C:\mule-standalone-3.6.1\dom
ains\default for domain default
INFO  2015-03-29 23:34:32,533 [WrapperListener_start_runner] org.mule.module.lau
ncher.MuleDeploymentService:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Started domain 'default'                                 +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
INFO  2015-03-29 23:34:32,540 [WrapperListener_start_runner] org.mule.module.lau
ncher.DefaultArchiveDeployer: ================== New Exploded Artifact: default
INFO  2015-03-29 23:34:32,560 [WrapperListener_start_runner] org.mule.module.lau
ncher.application.DefaultMuleApplication:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ New app 'default'                                        +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
INFO  2015-03-29 23:34:37,266 [WrapperListener_start_runner] org.mule.module.lau
ncher.MuleDeploymentService:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Started app 'default'                                    +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
INFO  2015-03-29 23:34:37,270 [WrapperListener_start_runner] org.mule.module.lau
ncher.DeploymentDirectoryWatcher:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Mule is up and kicking (every 5000ms)                    +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
INFO  2015-03-29 23:34:37,356 [WrapperListener_start_runner] org.mule.module.lau
ncher.StartupSummaryDeploymentListener:
**********************************************************************
*              - - + DOMAIN + - -               * - - + STATUS + - - *
**********************************************************************
* default                                       * DEPLOYED           *
**********************************************************************

********************************************************************************
***********************
*            - - + APPLICATION + - -            *       - - + DOMAIN + - -
 * - - + STATUS + - - *
********************************************************************************
***********************
* default                                       * default
 * DEPLOYED           *
********************************************************************************
***********************

問題:

  1. 一切還好嗎? 我的服務器運行良好! 我怎么能檢查出來。
  2. 如果我想部署我的應用程序,這是正確的方法嗎?

    • 導航到包含Mule ESB Standalone副本的文件夾,然后將應用程序的zip文件粘貼到apps文件夾中。
      • ule子每5秒(每5000毫秒)輪詢一次apps文件夾; 它會提取您復制到apps文件夾中的應用程序,然后自動提取並部署它。 在命令行中,Mule通知您已經部署了該應用程序。
  3. 然后如何訪問和測試剛安裝在服務器上的應用程序。

  4. 有沒有一種方法可以將我的代碼中完成的每個動作與Graphique事件相關聯,以便我的應用程序的用戶可以看到每個步驟的操作。 例如,我創建了一個應用程序,如果沒有收到推送,該應用程序會向設備發送電子郵件。 因此我的應用程序的用戶可以看到過程的進度。

1-是的
2-是的
3-使用應用程序的入站端點
4-從AnyPointStudio以調試模式運行應用程序

對於第三個問題:-“然后我如何訪問和測試剛安裝在服務器上的應用程序。” 您可以以與在Mule / Anypoint Studio中相同的方式測試應用程序。
例如,您的應用程序包含一個http入站終結點...因此,要測試該應用程序,您需要在瀏覽器中粘貼url路徑並點擊它。.一旦完成,您就可以看到您的應用程序正在工作並產生結果期待。
這與在Studio中運行和測試應用程序的方式相同。

您的第四個問題的答案是,您最好在應用程序和記錄器的流程的每個步驟中使用log4j ...
因此,只要流運行,您就可以看到每個步驟都記錄在獨立服務器控制台中。
如果要獲取有關步驟的更多詳細信息,請在調試模式下配置log4j

我猜第一個和第二個問題已經回答

  1. 是的,因為它顯示已部署,這意味着您已正確部署。
  2. 是的,一切看起來都不錯。

您可以在調試模式下運行應用程序,可以獲得更多詳細信息。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM