java.io.IOException: Could not create directory: /Users/rkruze/mule/source/spuds/mule-standalone-3.1.0-SNAPSHOT/apps/sffacebook-1.0-SNAPSHOT/classes

MuleSoft JIRA | Roko Kruze | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    This seems to happen on a more consistent basis when I copy the zip file for the application to a stopped Mule app directory which has deployed the project previously. I then start the mule server and then get the exception right at start up: INFO 2010-11-23 08:02:58,340 [WrapperListener_start_runner] org.mule.module.launcher.DefaultMuleDeployer: Exploding a Mule application archive: file:/Users/rkruze/mule/source/spuds/mule-standalone-3.1.0-SNAPSHOT/apps/sffacebook-1.0-SNAPSHOT.zip java.io.IOException: Could not create directory: /Users/rkruze/mule/source/spuds/mule-standalone-3.1.0-SNAPSHOT/apps/sffacebook-1.0-SNAPSHOT/classes at org.mule.util.FileUtils.unzip(FileUtils.java:314) at org.mule.module.launcher.DefaultMuleDeployer.installFrom(DefaultMuleDeployer.java:177) at org.mule.module.launcher.DefaultMuleDeployer.installFromAppDir(DefaultMuleDeployer.java:129) at org.mule.module.launcher.DeploymentService.start(DeploymentService.java:99) at org.mule.module.launcher.MuleContainer.start(MuleContainer.java:130) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.mule.module.reboot.MuleContainerWrapper.start(MuleContainerWrapper.java:56) at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)

    MuleSoft JIRA | 6 years ago | Roko Kruze
    java.io.IOException: Could not create directory: /Users/rkruze/mule/source/spuds/mule-standalone-3.1.0-SNAPSHOT/apps/sffacebook-1.0-SNAPSHOT/classes
  2. 0

    This seems to happen on a more consistent basis when I copy the zip file for the application to a stopped Mule app directory which has deployed the project previously. I then start the mule server and then get the exception right at start up: INFO 2010-11-23 08:02:58,340 [WrapperListener_start_runner] org.mule.module.launcher.DefaultMuleDeployer: Exploding a Mule application archive: file:/Users/rkruze/mule/source/spuds/mule-standalone-3.1.0-SNAPSHOT/apps/sffacebook-1.0-SNAPSHOT.zip java.io.IOException: Could not create directory: /Users/rkruze/mule/source/spuds/mule-standalone-3.1.0-SNAPSHOT/apps/sffacebook-1.0-SNAPSHOT/classes at org.mule.util.FileUtils.unzip(FileUtils.java:314) at org.mule.module.launcher.DefaultMuleDeployer.installFrom(DefaultMuleDeployer.java:177) at org.mule.module.launcher.DefaultMuleDeployer.installFromAppDir(DefaultMuleDeployer.java:129) at org.mule.module.launcher.DeploymentService.start(DeploymentService.java:99) at org.mule.module.launcher.MuleContainer.start(MuleContainer.java:130) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.mule.module.reboot.MuleContainerWrapper.start(MuleContainerWrapper.java:56) at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)

    MuleSoft JIRA | 6 years ago | Roko Kruze
    java.io.IOException: Could not create directory: /Users/rkruze/mule/source/spuds/mule-standalone-3.1.0-SNAPSHOT/apps/sffacebook-1.0-SNAPSHOT/classes

    Root Cause Analysis

    1. java.io.IOException

      Could not create directory: /Users/rkruze/mule/source/spuds/mule-standalone-3.1.0-SNAPSHOT/apps/sffacebook-1.0-SNAPSHOT/classes

      at org.mule.util.FileUtils.unzip()
    2. Mule Core
      FileUtils.unzip
      1. org.mule.util.FileUtils.unzip(FileUtils.java:314)
      1 frame
    3. Mule 3 Launcher
      MuleContainer.start
      1. org.mule.module.launcher.DefaultMuleDeployer.installFrom(DefaultMuleDeployer.java:177)
      2. org.mule.module.launcher.DefaultMuleDeployer.installFromAppDir(DefaultMuleDeployer.java:129)
      3. org.mule.module.launcher.DeploymentService.start(DeploymentService.java:99)
      4. org.mule.module.launcher.MuleContainer.start(MuleContainer.java:130)
      4 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    5. Mule 3 Container
      MuleContainerWrapper.start
      1. org.mule.module.reboot.MuleContainerWrapper.start(MuleContainerWrapper.java:56)
      1 frame
    6. Java Service Wrapper
      WrapperManager$12.run
      1. org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)
      1 frame