简体   繁体   English

跑步mCE

[英]Running mule CE

I have downloaded mule standalone 3.6.1 from officiel site and unzip it then from bin I launched mule. 我已经从官方网站上下载了mule独立版3.6.1,然后将其解压缩,然后从我启动了mule的bin中解压缩。

Console: 安慰:

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           *
********************************************************************************
***********************

Questions: 问题:

  1. is every thing alright? 一切还好吗? is my server running well! 我的服务器运行良好! how I can check it out. 我怎么能检查出来。
  2. if i would like to deploy my application is this the right way? 如果我想部署我的应用程序,这是正确的方法吗?

    • Navigate to the folder that contains your copy of Mule ESB Standalone, then paste the application's zip file into the apps folder. 导航到包含Mule ESB Standalone副本的文件夹,然后将应用程序的zip文件粘贴到apps文件夹中。
      • Mule polls the apps folder every 5 seconds (every 5000ms); ule子每5秒(每5000毫秒)轮询一次apps文件夹; it picks up the application you copied to the apps folder, then extracts and deploys it automatically. 它会提取您复制到apps文件夹中的应用程序,然后自动提取并部署它。 In the command line, Mule notifies you that it has deployed the application. 在命令行中,Mule通知您已经部署了该应用程序。
  3. and then how I can access and test applications deployed on the server that I just installed. 然后如何访问和测试刚安装在服务器上的应用程序。

  4. is there a way to associate each action done in my code to graphique event so that the user of my application can visualize the operation of each step. 有没有一种方法可以将我的代码中完成的每个动作与Graphique事件相关联,以便我的应用程序的用户可以看到每个步骤的操作。 for example i have created an application who sent an email to a device if it didn't receive a push. 例如,我创建了一个应用程序,如果没有收到推送,该应用程序会向设备发送电子邮件。 so can the user of my application see the progress of process. 因此我的应用程序的用户可以看到过程的进度。

1- Yes 1-是的
2- Yes 2-是的
3- Use the inbound endpoint of your application 3-使用应用程序的入站端点
4- Run the app in debug mode from AnyPointStudio 4-从AnyPointStudio以调试模式运行应用程序

For the 3rd question :- "and then how I can access and test applications deployed on the server that I just installed." 对于第三个问题:-“然后我如何访问和测试刚安装在服务器上的应用程序。” You can test the application in the same way you used to do in Mule/Anypoint studio. 您可以以与在Mule / Anypoint Studio中相同的方式测试应用程序。
For example, your application contains a http inbound endpoint... so to test the application you need to paste the url path in your browser and hit it .. once you do it, you can see your application working and producing the result you are expecting . 例如,您的应用程序包含一个http入站终结点...因此,要测试该应用程序,您需要在浏览器中粘贴url路径并点击它。.一旦完成,您就可以看到您的应用程序正在工作并产生结果期待。
It is the same way you run and test your application in studio. 这与在Studio中运行和测试应用程序的方式相同。

The answer of your 4rth question is you better use log4j in your application and logger at each steps in the flow... 您的第四个问题的答案是,您最好在应用程序和记录器的流程的每个步骤中使用log4j ...
so whenever the flow will run, you can see each step is logged in the standalone server console. 因此,只要流运行,您就可以看到每个步骤都记录在独立服务器控制台中。
If you want to get more details of your steps, then configure your log4j in DEBUG mode 如果要获取有关步骤的更多详细信息,请在调试模式下配置log4j

the 1st and 2nd question I guess is already answered 我猜第一个和第二个问题已经回答

  1. Yes as it is showing deployed it means that you have deployed in right way. 是的,因为它显示已部署,这意味着您已正确部署。
  2. Yes, everything looks good. 是的,一切看起来都不错。

You can run the application in debug mode you can get more details. 您可以在调试模式下运行应用程序,可以获得更多详细信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM