[英]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 *
********************************************************************************
***********************
问题:
如果我想部署我的应用程序,这是正确的方法吗?
然后如何访问和测试刚安装在服务器上的应用程序。
有没有一种方法可以将我的代码中完成的每个动作与Graphique事件相关联,以便我的应用程序的用户可以看到每个步骤的操作。 例如,我创建了一个应用程序,如果没有收到推送,该应用程序会向设备发送电子邮件。 因此我的应用程序的用户可以看到过程的进度。
1-是的
2-是的
3-使用应用程序的入站端点
4-从AnyPointStudio以调试模式运行应用程序
对于第三个问题:-“然后我如何访问和测试刚安装在服务器上的应用程序。” 您可以以与在Mule / Anypoint Studio中相同的方式测试应用程序。
例如,您的应用程序包含一个http入站终结点...因此,要测试该应用程序,您需要在浏览器中粘贴url路径并点击它。.一旦完成,您就可以看到您的应用程序正在工作并产生结果期待。
这与在Studio中运行和测试应用程序的方式相同。
您的第四个问题的答案是,您最好在应用程序和记录器的流程的每个步骤中使用log4j ...
因此,只要流运行,您就可以看到每个步骤都记录在独立服务器控制台中。
如果要获取有关步骤的更多详细信息,请在调试模式下配置log4j
我猜第一个和第二个问题已经回答
您可以在调试模式下运行应用程序,可以获得更多详细信息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.