Anypoint Studio – Runtime (and logs!) location

When you’re deploying and running a MuleSoft Mule Application in Anypoint Studio, it’s not immediately obvious where on your local machine it runs. Often this won’t matter, but when you are trying to build/deploy an application and the only error you get in the console is “check the logs”, maybe it’s time to find out where they live.

This happened to me when I received the following error (and very little else) when trying to deploy a simple application (you know the kind Mule support always ask for when you raise a support ticket?).

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Failed to deploy artifact '<myApplication>', see +
artifact's log for details +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

You might think the Mule Runtime would be under your AnypointStudio installation but this isn’t the case. Instead, Anypoint Studio executes a temporary instance of Mule Runtime which is located inside your user folders. On my Windows machine this is at
C:\Users\<windowsUsername>.eclipse\1940610523_win32_win32_x86_64\plugins\org.mule.tooling.server.4.1.5.ee_7.3.1.201908272106\mule

In the above folder, there are all the folders you’d expect to see associated with a Mule runtime – including a folder called logs. In this case, the <myApplication>.log file shows that my HTTP listener couldn’t bind to port 8081. It might have been nice to bubble this up to the main console, but at least I got there.

Author: nerd.

An experienced IT professional, I used to run a number of small websites and spend a lot of time tinkering with my sites or my PC - back when I had free time.

Leave a Reply

Your email address will not be published. Required fields are marked *