簡體   English   中英

Mule ESB:無法在獨立服務器中啟動應用程序

[英]Mule ESB: Can not start application in standalone server

到目前為止,我只與工作室合作。 我有一個在Studio(Windows)中經過測試的工作流程,我想將其放在獨立的服務器(Linux)上

因此,我獨立下載並安裝了EE,並可以從中運行控制台

./startup.sh
Please enter the desired port for Mule [Default 7777]:

Starting MMC, please wait...

[11-06 16:40:50] INFO  AbstractBundlePersistenceManager [http-bio-8585-exec-11]: cachename=versionBundleCache[ConcurrentCache@3e585378], elements=30, usedmemorykb=5, maxmemorykb=8192, access=381, miss=30
[11-06 16:41:50] INFO  AbstractBundlePersistenceManager [http-bio-8585-exec-11]: cachename=defaultBundleCache[ConcurrentCache@204bdc52], elements=175, usedmemorykb=345, maxmemorykb=8192, access=1270, miss=175
...
...
...
INFO  2014-11-06 16:47:50,832 [WrapperListener_start_runner] org.mule.module.launcher.MuleSharedDomainClassLoader: Using domain dir /ee/mmc-distribution-mule-console-bundle-3.5.2-HF1/mule-enterprise-3.5.2/domains/default for domain default
./startup.sh: line 135: 25780 Terminated              tail -f logs/catalina.out  (wd: /ee/mmc-distribution-mule-console-bundle-3.5.2-HF1/mmc-3.5.2-HF1/apache-tomcat-7.0.52)
./startup.sh: line 135: 26250 Terminated              tail -f mule-enterprise-3.5.2/logs/mule_ee.log

Mule Started
Mule running as PID=27417
Tomcat and MMC running as PID=25801
Finished starting Mule and MMC. Please go to http://localhost:8585/mmc-3.5.2-HF1
[root@x240perf2 mmc-distribution-mule-console-bundle-3.5.2-HF1]#

..並且我可以顯示狀態:

./status.sh
MMC is running as PID=25801.
Mule Enterprise Edition is running as PID=27417.

我可以在以下瀏覽器地址打開控制台: http:// xxxx:8585 / mmc-3.5.2-HF1 / index.jsp#dashboard

因此,現在我想部署一個應用程序(我在工作室中測試過的應用程序)。 因此,我使用以下鏈接作為指南:

http://www.mulesoft.org/documentation/display/current/Deploying+Mule+Applications

從那里直覺狀態:

Navigate to the folder that contains your copy of Mule ESB Standalone, then paste the application’s zip file into the apps folder.

因此,我執行以下操作:

[root@x240perf2 apps]# pwd
/ee/mmc-distribution-mule-console-bundle-3.5.2-HF1/mule-enterprise-3.5.2/apps
[root@x240perf2 apps]#
[root@x240perf2 apps]# ls -la
total 16
drwxrwxrwx.  3 benchmarking games 4096 Nov  6 17:03 .
drwxrwxr-x. 14 benchmarking games 4096 Oct 23 16:10 ..
drwxrwxrwx.  2 benchmarking games 4096 Nov  6 14:44 default
-rw-r--r--.  1 root         root    88 Nov  6 17:03 default-anchor.txt
[root@x240perf2 apps]#
[root@x240perf2 apps]# cp /home/app/dm.zip .
[root@x240perf2 apps]#
[root@x240perf2 apps]# ls -la
total 20
drwxrwxrwx.  4 benchmarking games 4096 Nov  6 17:04 .
drwxrwxr-x. 14 benchmarking games 4096 Oct 23 16:10 ..
drwxr-xr-x.  6 root         root  4096 Nov  6 17:04 dm
drwxrwxrwx.  2 benchmarking games 4096 Nov  6 14:44 default
-rw-r--r--.  1 root         root    88 Nov  6 17:03 default-anchor.txt

如您所見,在將dm.zip文件復制到apps目錄之后,它已變成目錄

[root@x240perf2 dm]# ls
classes  lib       mule-app.properties  mule-deploy.properties
docroot  META-INF  mule-config.xml      portfolio_schema_to_port_schema.grf
[root@x240perf2 dm]#

但是,我找不到它正在運行的確認。 控制台的“部署”部分中沒有任何內容。

此外,該文檔還說它是自動部署的(我想這就是為什么它已解壓縮到目錄中,但是該應用程序無法運行的原因,並且該文檔還說:

In the command line, Mule notifies you that it has deployed the application.

..並且文檔提供以下示例:

**********************************************************************
* - - + APPLICATION + - -            * - - + STATUS + - - *
**********************************************************************
* my_first_application                * DEPLOYED           *
* default                             * DEPLOYED           *
**********************************************************************

INFO  2012-10-29 15:40:57,516 [WrapperListener_start_runner] org.mule.module.launcher.DeploymentService: 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Mule is up and kicking (every 5000ms)                    +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

因此,我如何進入命令行。 在執行startup.sh之后,它最終會停止並顯示Mule正在運行。 復制完zip文件后,它會將其解壓縮,但是我不知道文檔所引用的命令行

這指的是什么命令行,我缺少什么?

我該如何解決這個問題?

謝謝

您可以在MULE_HOME / logs / mule_ee.log中搜索日志文件

您所指的顯示部署狀態的文檔不在命令行中。 Mule將部署狀態存儲在日志文件mule_ee.log 打開日志文件以檢查狀態MULE_HOME/logs/mule_ee.log

注意:我正在使用最新版本的Mule 3.8.0。

暫無
暫無

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

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