我只與該工作室合作過。我有一個在工作室(Windows)測試的工作流程,我想把它放在一個獨立的服務器(Linux)上Mule ESB:無法在獨立服務器上啓動應用程序
因此我下載了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[[email protected]], elements=30, usedmemorykb=5, maxmemorykb=8192, access=381, miss=30
[11-06 16:41:50] INFO AbstractBundlePersistenceManager [http-bio-8585-exec-11]: cachename=defaultBundleCache[[email protected]], 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
[[email protected] 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://x.x.x.x:8585/mmc-3.5.2-HF1/index.jsp#dashboard
所以現在我想部署一個應用程序(我在工作室測試的應用程序)。所以我使用下面的鏈接作爲指導:
http://www.mulesoft.org/documentation/display/current/Deploying+Mule+Applications
從那裏instuctions狀態:
Navigate to the folder that contains your copy of Mule ESB Standalone, then paste the application’s zip file into the apps folder.
所以我做到以下幾點:
[[email protected] apps]# pwd
/ee/mmc-distribution-mule-console-bundle-3.5.2-HF1/mule-enterprise-3.5.2/apps
[[email protected] apps]#
[[email protected] 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
[[email protected] apps]#
[[email protected] apps]# cp /home/app/dm.zip .
[[email protected] apps]#
[[email protected] 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文件複製到應用程序目錄,它變成了一個目錄
[[email protected] dm]# ls
classes lib mule-app.properties mule-deploy.properties
docroot META-INF mule-config.xml portfolio_schema_to_port_schema.grf
[[email protected] 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後,最終停止,並說騾子運行後我複製的zip文件吧。解壓縮它,但我不知道哪個命令行文檔n是指
這是指什麼命令行,我錯過了什麼?
我該如何解決這個問題?
感謝
難道這是因爲我從社區版Studio的出口,並出口到一個企業版的獨立服務器? – user3407479 2014-11-07 19:25:55
據我所知,該應用程序已部署,具體問題是什麼?你需要控制檯中列出的應用程序嗎?或者是其他東西。我從日誌信息中看到應用程序已部署。 – 2014-11-10 06:44:51