Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error deploying Mule application in mule standalone

Tags:

mule

I have created a mule application and it's running well in anypoint studio when i run it with mule 3.5.6 CE but when i try to deploy it in mule-standalone-3.6.1 i get this:

 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    + 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

Can someone help me please. thank you in advance

like image 559
Rajeun Avatar asked Apr 14 '26 00:04

Rajeun


1 Answers

Please deploy zip file from your studio .. Select your apllication, then Go to file menu --> export --> under Mule folder -->select Anypoint studio to Mule deployable archieve --> give the name .. it will generate a Zip file .. Deploy that zip file in your app folder of standalone .. that's the way .. don't create any zip from winzip or other tools

like image 125
Anirban Sen Chowdhary Avatar answered Apr 20 '26 15:04

Anirban Sen Chowdhary