Q: I am signed up for the self-paced Getting Started with Anypoint Platform course (Mule 4). What exactly is covered in this course?
A: See course details for Getting Started with Anypoint Platform with Mule 4.
Q: Where do I download the course materials from?
A: To access Training Materials:
- Login to https://training.mulesoft.com/ (use your email address that you used to register for the class)
- Once logged in, click on the course name to see its details. Click on the Resources tab to see the course material.
Q: Are there slides and Student Manual that I can download?
A: Slides are included as part of the video lectures. Student Manual is accessible as HTML document. Neither is available in downloadable format.
Q: What can I do to get my system ready for the class?
A: All setup guides for all classes are located here: https://training.mulesoft.com/downloads. Please follow the appropriate setup guide for the class that you signed up for.
Q: What are the software/hardware requirements for this class?
A: Good question. Here’s a cliff-notes version of what’s needed. (for further details, look in our product docs)
- OS: Windows 7, 10; Mac OS X, Linux
- Software: AnypointStudio 7.x with Mule 4.x
- RAM: 4GB available. Please be sure to understand this. This does not mean total RAM required is 4GB. You need to set aside 4GB RAM just for Mule-related processes besides what’s needed to run your OS and other applications on your machine. It is recommended that a developer’s machine should have 16GB of total RAM to do Mule-related tasks effectively.
- CPU: dual-core will work OK. Quad-core CPU is preferred.
- Diskspace: This should not be a problem on most machines. AnypointStudio, after extraction, takes about 2GB disk space. All associated Maven dependencies might need close to 800MB disk space.
Q: What else do I need on my machine to get started with the class?
A: You also need the following:
- Install Chrome browser (For most cloud-based tasks, you will need Chrome. IE, Edge, Safari etc,. do not render the UI correctly)
- Create a new Anypoint Platform account using this link
- Install Advanced REST Client (ARC) (from here) and/or Postman (from here)
Q: I heard that Anypoint Studio now includes the necessary JDK, so do I still need a stand-alone Java?
A: Yes, you are right. 7.5.x (or greater) version of AnypointStudio includes AdoptOpenJDK 8. This is good enough to start Studio, build and test Mule applicatons. You do not need to install and configure a separate instance of JDK. Although, you are welcome to install and configure a separate stand-alone Java to be used with Studio as well.
Q: Is that it, or is there anything else I should worry about before starting the class?
A: Yes, make sure the Tooling Service is also running. See details about Tooling Service below. Once your Tooling Service is up and running, you are all set for the class.
Q: How do I verify that the Tooling Service is running on my machine?
A: Tooling Service runs as a separate Java process on your machine. You can either use Task Manager (on Windows) or Activity Monitor (on Mac) to verify if that Java process is running.
You can also verify its status from within AnypointStudio. Open Studio’s Preferences dialog box (On Windows: Window > Preferences from top menu; On Mac: AnypointStudio > Preferences from top menu). Access Anypoint Studio > Tooling to see the details as follows:
Click Check Status button to see its status. If it’s not running, click Restart Instance button.
Q: I clicked the Restart Instance button to start the Tooling Service. It starts, but after some time the status indicates that it is no longer running. I have tried clicking that button multiple times with the same results. What can I do to fix it?
A: It’s failing either due to one of two reasons: Tooling Service is taking too long to start or your environment is not set correctly. If it’s the first, try changing the Default Startup Timeout (in the above screenshot) from 90 to 120 seconds. Then retry clicking Restart Instance button to start the Tooling Service.
Q: From where do I download AnypointStudio?
A: You can download the latest version of AnypointStudio from here. After downloading, use an external unzip utility such as 7-zip to extract AnypointStudio. (Note to Windows OS users: The default unzip utility that comes with Windows OS seem to encounter problems with long path names when extracting AnypointStudio)
Q: How do I check my current version of AnypointStudio?
A: Open AnypointStudio, and use Studio’s menu Help > About Anypoint Studio > Installation Details, and verify the software versions for AnypointStudio and Mule Server Runtime are the latest. You can use the Update button to update the software to its latest available version(s).
Q: I am unable to see input/output metadata when I select any processor in Studio. Why is that?
A: The DataSense feature of AnypointStudio is responsible for displaying metadata for each of the event processors in your Mule flow. It relies on a process called Tooling Service to gather metadata details. If the Tooling Service is not running, then you will not be able to see any metadata. Here’s a link to more details on DataSense.
Telnet commands & port requirements
Q: I will attend this class from my office. Do I need to worry about access to any external services or ports via our corporate firewall?
A: Yes and No. If you have an option to attend this class from your home using your home network, would be the best option. But if you cannot, then you need to verify access to the following services or IP addresses at the mentioned ports. You can use telnet client to test this out. Firewalls or Proxy servers can block access to these services and ports. You may ask your IT team to give you access to these services, but most probably the answer would be a “no”. In such a case, you will have an option to run a set of training services locally on your own machine using a jar file provided to you. This will provide access to some (not all) services locally, so you can do most of your exercises.
In any case, here’s a list of telnet commands you should test against the following services and ports:
- telnet mu.mulesoft-training.com 80
- telnet mudb.mulesoft-training.com 3306
- telnet 126.96.36.199 3306
- telnet jms.mulesoft-training.com 61616
- telnet 188.8.131.52 61616
Q: When I do telnet mudb.mulesoft-training.com 3306 I am getting a message "telnet is not recognized...". What does that mean?
A: It usually means the telnet client is not installed on your machine. To fix it, follow the steps indicated for your OS.
- On Windows: https://technet.microsoft.com/en-us/library/Cc771275(v=WS.10).aspx
- On Mac: http://osxdaily.com/2018/07/18/get-telnet-macos/
Q: I am unable to access mudb.mulesoft-training.com. Why?
A: Most probably you are behind a firewall. To be sure, issue telnet command using telnet mudb.mulesoft-training.com 3306. If you see a prompt asking you to enter a password, you are successful at accessing the service...no need to enter a password.
But if the telnet session times out, it indicates that your current network does not allow you to access the service. At this point, you can do one of the following options:
- Ask your network admin to open port 3306 on the firewall. Most probably this will not happen, due to corporate security concerns. But you can always try.
- Try using a semi restricted or guest wifi network, if one available and test the connectivity
- Run the local training services (see details below on how to do that).
- Try connecting from home where the network is more in your control
Q: How do I run the local training services?
A: Make sure you have downloaded all the course materials including StudentFiles from LMS. Extract the contents of StudentFiles.zip file to a directory, and follow the steps below:
- Open a command prompt (terminal).
- Change the directory to your studentFiles/jars folder.
- Start the local services by issuing command java –jar mulesoft-training-services-X.X.X.jar.
- Leave this terminal running. This runs multiple services including open source Derby database, a couple of SOAP and RESTful services etc,.
Q: How do I configure a database connection in Studio for the local Derby Database that's running as part of local training services?
A: Follow the steps below:
- Open Studio and create a Database Connector configuration using Generic Type and use the following details:
- Then to add the Maven Dependency, search for derbyclient (NOT derby) and choose org.apache.derby.derbyclient.10.15.2.0 from the list and edit the version to 10.14.2.0 as shown below. (Note: default version 10.15.x.x does not work with Java8)
- Finally Test Connection for Derby_Configuration Global Element.
Q: United flights service: I can access the service using the browser, but not from Anypoint Studio. Why?
A: United flights service can be accessed using URL: http://mu.learn.mulesoft.com/united/flights
If you can access the URL (and see JSON results) using the browser but not from Anypoint Studio means that you are behind a Proxy server. Your IT team probably set up the proxy configuration in the browser already and thus you can access the United flights service when using the browser.
Since the proxy is not automatically set in Anypoint Studio, you will have to manually configure it for Studio. You can do that using Preferences dialog box as shown below. Here’s a link to more details on that.
You can always search this forum for "proxy" to get some suggestions. I have posted a small write-up a while back at https://forums.mulesoft.com/questions/26152/training-web-services-not-accessible-through-mule.html#comment-46485