问题当我尝试在Mule Standalone中部署共享域而不是在Anypoint

时间:2017-03-02 10:22:31

标签: mule

我正在尝试测试共享资源的概念,共享HTTP连接器。

应用程序非常简单,每个应用程序中只有一个HTTP入站连接器和一个设置Payload来给出响应。

在Anypoint中,这些应用程序与域名完美配合,但当我想在mule standalone中部署它时,我遇到错误,因为应用程序无法找到域名。

我检查了很多东西:

  • 域名部署在域名文件夹和应用程序中的应用程序中 夹
  • 我在Anypoint和独立版中使用相同的Mule版本
  • 使用Anypoint创建了zip。
  • 域名似乎已正确部署(我已获得锚文件 和目录)

但是当Mule尝试部署应用程序时,它会出现以下错误。有什么东西我不见了吗?

INFO 2017-02-28 09:54:10,953 [WrapperListener_start_runner] org.mule.module.launcher.ArtifactArchiveInstaller:爆炸Mule工件存档:file:/ C:/EDP_POC/MULE/mule-standalone-3.8.0 /apps/zz_pru1.zip错误2017-02-28 09:54:10,974 [WrapperListener_start_runner] org.mule.module.launcher.DefaultArchiveDeployer: ++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++ ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +++++++++++++++++++++++++++++++++++++++++++++++在org.mule.module.launcher.artifact.ArtifactFactoryUtils.getDeploymentFile(ArtifactFactoryUtils.java:40)〜[mule-module-launcher-3.8.0.jar]的EDP_POC \ MULE \ mule-standalone-3.8.0 \ domains \ zz_pru_domain' :org.mule.module上的org.mule.module.launcher.domain.DefaultDomainFactory.findDomain(DefaultDomainFactory.java:75)〜[mule-module-launcher-3.8.0.jar:3.8.0] .launcher.domain.DefaultDomainFactory.createArtifact(DefaultDomainFactory.java:60)〜[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.domain.DefaultDomainFactory.createArtifact(DefaultDomainFactory。的java:23)〜[骡模块-发射-3.8.0.jar:3.8.0]在org.mule.module.launcher.application.DefaultApplicationFactory.createAppFrom(DefaultApplicationFactory.java:70)〜[mule-模块发射-3.8.0.jar:3.8.0]在org.mule.module.launcher.application.DefaultApplicationFactory.createArtifact(DefaultApplicationFactory.java:52)〜[骡模块-发射-3.8.0.jar:3.8 .0] atg.mule.module.launcher.application.DefaultApplicationFactory.createArtifact(DefaultApplicationFactory.java:24)〜[mule-module-launcher-3.8.0.jar:3.8.0] atg.mule.module.launcher .DefaultArchiveDeployer.installFrom(DefaultArchiveDeployer.java:493)〜[mule-module-launcher-3.8.0.jar:3.8.0] atg.mule.module.launcher.DefaultArchiveDeployer.guardedInstallFrom(DefaultArchiveDeployer.java:474)〜[ mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.DefaultArchiveDeployer.deployPackagedArtifact(DefaultArchiveDeployer.java:145)〜[mule-module-launcher-3.8.0.jar:3.8 .0]在org.mule.module.launcher.DefaultArchiveDeployer.deployPackagedArtifact(DefaultArchiveDeployer.java:268)〜[mule-module-launcher-3.8.0.jar:3.8.0] org.mule.module.launcher.DefaultArchiveDeployer .deployPackagedArtifact(DefaultA在org.mule.module.launcher.DeploymentDirectoryWatcher.deployPackedApps(DeploymentDirectoryWatcher.java:275)〜[mule-module-launcher]的rchiveDeployer.java:83)〜[mule-module-launcher-3.8.0.jar:3.8.0] -3.8.0.jar:3.8.0] org.mule.module.launcher.DeploymentDirectoryWatcher.start(DeploymentDirectoryWatcher.java:150)〜[mule-module-launcher-3.8.0.jar:3.8.0] at org .mule.module.launcher.MuleDeploymentService.start(MuleDeploymentService.java:104)〜[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.MuleContainer.start(MuleContainer。 java:170)〜[mule-module-launcher-3.8.0.jar:3.8.0] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)〜[?:1.8.0_111] at sun.reflect.NativeMethodAccessorImpl.invoke (未知来源)〜[?:1.8.0_111] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)〜[?:1.8.0_111] at java.lang.reflect.Method.invoke(Unknown Source)〜[?: 1.8.0_111]在org.mule.module.reboot.MuleContainerWrapper.start(MuleContainerWrapper.java:52)〜[mule-module-reboot-3 .8.0.jar:3.8.0] org.tanukisoftware.wrapper.WrapperManager $ 12.run(WrapperManager.java:2788)〜[wrapper-3.2.3.jar:3.2.3] INFO 2017-02-28 09:54 :10,974 [WrapperListener_start_runner] org.mule.module.launcher.ArtifactArchiveInstaller:爆炸Mule工件存档:file:/ C:/EDP_POC/MULE/mule-standalone-3.8.0/apps/zz_pru2.zip错误2017-02-28 09:54:10992 [WrapperListener_start_runner] org.mule.module.launcher.DefaultArchiveDeployer:++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++ ++ ++++++++++ ++ ++++++++++++ ++ + + + + + + + + + + + + + + + + + + + + ++++++++++++++++++++++++++++++++++++++++++++++++++ org.mule.api.MuleRuntimeException:工件目录不存在:org.mule.module.launcher.artifact.ArtifactFactoryUtils.getDeploymentFile(ArtifactFactoryUtils)中的'C:\ EDP_POC \ MULE \ mule-standalone-3.8.0 \ domains \ zz_pru_domain' .java:40)〜[mule-module-launcher-3.8.0.jar:3.8.0] atg.mule.module.launcher.domain.DefaultDomainFactory.findDomain(DefaultDomainFactory.java:75)〜[mule -module-发射-3.8.0.jar:3.8.0]在org.mule.module.launcher.domain.DefaultDomainFactory.createArtifact(DefaultDomainFactory.java:60)〜[骡模块-发射-3.8.0.jar: 3.8.0]在org.mule.module.launcher.domain.DefaultDomainFactory.createArtifact(DefaultDomainFactory.java:23)〜[骡模块-发射-3.8.0.jar:3.8.0]在org.mule.module。 org.mule.module.launcher.application.DefaultApplicationFactory.createArtifact(DefaultApplicationFactory.java)中的launcher.application.DefaultApplicationFactory.createAppFrom(DefaultApplicationFactory.java:70)〜[mule-module-launcher-3.8.0.jar:3.8.0] :52)〜[mule-module-launcher-3.8.0.jar:3.8.0] org.mule.module.launcher.application.DefaultApplicationFactory.createArtifact(DefaultApplicationFactory.java:24)〜[mule-module-launcher- 3.8.0.jar:3.8.0] org.mule.module.launcher.DefaultArchiveDeployer.installFrom(DefaultArchiveDeployer.java:493)〜[mule-module-launcher-3.8.0.jar:3.8.0] at org。 mule.module.launcher.DefaultArchiveDeployer.guardedInstallFrom(DefaultArch iveDeployer.java:474)〜[mule-module-launcher-3.8.0.jar:3.8.0] atg.mule.module.launcher.DefaultArchiveDeployer.deployPackagedArtifact(DefaultArchiveDeployer.java:145)~~ mule-module-launcher -3.8.0.jar:3.8.0] org.mule.module.launcher.DefaultArchiveDeployer.deployPackagedArtifact(DefaultArchiveDeployer.java:268)〜[mule-module-launcher-3.8.0.jar:3.8.0] at org .mule.module.launcher.DefaultArchiveDeployer.deployPackagedArtifact(DefaultArchiveDeployer.java:83)〜[mule-module-launcher-3.8.0.jar:3.8.0] at org.mule.module.launcher.DeploymentDirectoryWatcher.deployPackedApps(DeploymentDirectoryWatcher。 java:275)〜[mule-module-launcher-3.8.0.jar:3.8.0] atg.mule.module.launcher.DeploymentDirectoryWatcher.start(DeploymentDirectoryWatcher.java:150)〜[mule-module-launcher-3.8 .O.jar:3.8.0] org.mule上的org.mule.module.launcher.MuleDeploymentService.start(MuleDeploymentService.java:104)〜[mule-module-launcher-3.8.0.jar:3.8.0] .module.launcher.MuleContainer.start(MuleContainer.java:170)~ [mule-modu le-launcher-3.8.0.jar:3.8.0] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)〜[?:1.8.0_111] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)〜[?: 1.8.0_111]在sun.reflect.DelegatingMethodAccessorImpl.invoke(未知来源)〜[:?1.8.0_111]在java.lang.reflect.Method.invoke(未知来源)〜[:?1.8.0_111]在org.mule .module.reboot.MuleContainerWrapper.start(MuleContainerWrapper.java:52)〜[mule-module-reboot-3.8.0.jar:3.8.0]

提前感谢您的支持。罗伯特

1 个答案:

答案 0 :(得分:1)

感谢@RamakrishnaN,我解决了这个问题。

域名在mule standalone中不正确,因此应用程序无法找到它。

干杯 罗伯特