This is creating a new Domain object for each app in the domain. Domains have to be shared in order to reuse the same classloader