If someone accidentlly builds a jar with the ra.xml included and then includes that jar in a rar and tries to deploy it, the following error occurs -
Caused by: java.lang.ClassFormatError: Repetitive interface name in class file org/mule/ra/MuleConnectionFactory$$Enhanc
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
... 64 more
While the ra.xml should not be in the jar in the first place, a more meaningful error could be given.