gpt4 book ai didi

mule - 在 mule standalone 中部署 Mule 应用程序时出错

转载 作者:行者123 更新时间:2023-12-01 08:12:46 26 4
gpt4 key购买 nike

我创建了一个 mule 应用程序,当我使用 mule 3.5.6 CE 运行它时,它在 anypoint studio 中运行良好,但是当我尝试在 mule-standalone-3.6.1 中部署它时,我得到了这个:

 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ New app 'pushv1' +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
INFO 2015-03-30 10:56:03,009 [WrapperListener_start_runner] org.mule.module.lau
ncher.application.DefaultMuleApplication: App 'pushv1' never started, nothing to
dispose of
ERROR 2015-03-30 10:56:03,010 [WrapperListener_start_runner] org.mule.module.lau
ncher.DefaultArchiveDeployer:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Failed to deploy artifact 'pushv1', see below +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
org.mule.module.launcher.InstallException: Config for app 'pushv1' not found: C:
\mule-standalone-3.6.1\apps\pushv1\mule-config.xml
at org.mule.module.launcher.application.DefaultMuleApplication.install(D
efaultMuleApplication.java:100) ~[mule-module-launcher-3.6.1.jar:3.6.1]
at org.mule.module.launcher.artifact.ArtifactWrapper$3.execute(ArtifactW
rapper.java:74) ~[mule-module-launcher-3.6.1.jar:3.6.1]
at org.mule.module.launcher.artifact.ArtifactWrapper.executeWithinArtifa
ctClassLoader(ArtifactWrapper.java:129) ~[mule-module-launcher-3.6.1.jar:3.6.1]
at org.mule.module.launcher.artifact.ArtifactWrapper.install(ArtifactWra
pper.java:69) ~[mule-module-launcher-3.6.1.jar:3.6.1]
at org.mule.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifa
ctDeployer.java:24) ~[mule-module-launcher-3.6.1.jar:3.6.1]
at org.mule.module.launcher.DefaultArchiveDeployer.guardedDeploy(Default
ArchiveDeployer.java:310) ~[mule-module-launcher-3.6.1.jar:3.6.1]
at org.mule.module.launcher.DefaultArchiveDeployer.deployArtifact(Defaul
tArchiveDeployer.java:330) ~[mule-module-launcher-3.6.1.jar:3.6.1]
at org.mule.module.launcher.DefaultArchiveDeployer.deployExplodedApp(Def
aultArchiveDeployer.java:297) ~[mule-module-launcher-3.6.1.jar:3.6.1]
at org.mule.module.launcher.DefaultArchiveDeployer.deployExplodedArtifac
t(DefaultArchiveDeployer.java:108) ~[mule-module-launcher-3.6.1.jar:3.6.1]
at org.mule.module.launcher.DeploymentDirectoryWatcher.deployExplodedApp
s(DeploymentDirectoryWatcher.java:290) ~[mule-module-launcher-3.6.1.jar:3.6.1]
at org.mule.module.launcher.DeploymentDirectoryWatcher.start(DeploymentD
irectoryWatcher.java:151) ~[mule-module-launcher-3.6.1.jar:3.6.1]
at org.mule.module.launcher.MuleDeploymentService.start(MuleDeploymentSe
rvice.java:100) ~[mule-module-launcher-3.6.1.jar:3.6.1]
at org.mule.module.launcher.MuleContainer.start(MuleContainer.java:152)
~[mule-module-launcher-3.6.1.jar:3.6.1]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0
_40]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0
_40]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1
.8.0_40]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_40]
at org.mule.module.reboot.MuleContainerWrapper.start(MuleContainerWrappe
r.java:52) ~[mule-module-reboot-3.6.1.jar:3.6.1]
at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:
2788) ~[wrapper-3.2.3.jar:3.2.3]
INFO 2015-03-30 10:56:03,012 [WrapperListener_start_runner] org.mule.module.lau
ncher.DeploymentDirectoryWatcher:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Mule is up and kicking (every 5000ms) +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
INFO 2015-03-30 10:56:03,033 [Mule.app.deployer.monitor.1.thread.1] org.mule.mo
dule.launcher.DefaultArchiveDeployer: ================== Request to Undeploy Art
ifact: pushv1
INFO 2015-03-30 10:56:03,035 [Mule.app.deployer.monitor.1.thread.1] org.mule.mo
dule.launcher.application.DefaultMuleApplication: App 'pushv1' never started, no
thing to dispose of
ERROR 2015-03-30 10:56:03,040 [WrapperListener_start_runner] org.mule.module.lau
ncher.MuleDeploymentService: java.lang.NullPointerException

谁能帮帮我。提前谢谢你

最佳答案

请从您的工作室部署 zip 文件.. 选择您的应用程序,然后转到文件菜单 --> 导出 --> 在 Mule 文件夹下 --> 选择 Anypoint studio 到 Mule 可部署存档 --> 给它命名..将生成一个 Zip 文件 .. 将该 zip 文件部署在您的独立应用程序文件夹中 .. 就是这样 .. 不要从 winzip 或其他工具创建任何 zip

关于mule - 在 mule standalone 中部署 Mule 应用程序时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29342220/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com