Just adding the jvm option using asadmin commands inside embedded would not be sufficient. Many of the jvm options require a restart to take affect. This is problematic in embedded mode, where the change would be expected to be effective within that particular run. So there should be a way to specify this before starting the server. I had done something similar for jmxport recently [issue 11646].
[Message sent by forum member 'sirajg']
http://forums.java.net/jive/thread.jspa?messageID=396761