title: How to run an asadmin command for a specific glassfish-domain?
body: <p>I'm trying to run a number of commands, such as:<code>asadmin create-custom-resource</code>, however, I have multiple domains, and I wish to specify which domain to be affected.</p>
  
  <p>How do I run asadmin commands and specify which domain to be affected?</p>
  
  <p>I'm using Glassfish 3.1.2.2</p>